SELECT * FROM `voice_compaign_summary` WHERE status ='C' AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0 AND start_date>'1764786601'
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] => 231
    [credit_seq] => 231
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765045744
    [last_credit_update_time] => 1765045744
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 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.45881 
ans sms 55000
dnd sms 0

require answer perrequire answer per : 15103

user answer per : 534
below is the redis data 14569 UPDATE voice_compaign_detail_81161 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14569 Total Failed : 0 no_answer_count : 0 Busy count :0 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 30.24534 
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>'1764786662'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764786721'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764786781'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764786842'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764786901'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764786962'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764787021'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764787081'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764787141'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764787202'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764787261'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764787321'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764787381'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764787441'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764787502'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764787561'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764787621'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764787682'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764787741'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764787801'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764787862'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764787921'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764787981'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764788042'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764788102'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764788161'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764788221'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764788282'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764788341'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764788402'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764788461'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764788521'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764788581'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764788642'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764788701'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764788761'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764788822'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764788881'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764788941'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764789002'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764789061'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764789121'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764789182'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764789241'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764789301'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764789362'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764789421'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764789481'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764789542'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764789601'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764789661'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764789722'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764789781'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764789841'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764789901'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764789961'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764790021'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764790081'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764790141'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764790202'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764790261'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764790321'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764790381'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764790442'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764790501'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764790561'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764790622'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764790681'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764790742'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764790801'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764790861'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764790922'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764790981'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764791041'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764791101'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764791162'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764791221'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764791282'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764791342'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764791401'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764791461'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764791522'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764791581'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764791641'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764791701'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764791761'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764791821'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764791882'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764791941'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764792001'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764792062'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764792121'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764792181'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764792241'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764792302'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764792361'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764792422'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764792481'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764792541'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764792602'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764792661'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764792721'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764792782'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764792841'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764792901'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764792962'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764793021'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764793085'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764793141'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764793201'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764793261'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764793322'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764793381'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764793441'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764793502'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764793561'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764793621'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764793681'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764793742'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764793801'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764793861'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764793922'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764793981'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764794042'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764794101'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764794161'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764794222'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764794282'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764794341'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764794401'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764794462'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764794521'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764794581'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764794641'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764794701'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764794761'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764794822'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764794881'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764794941'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764795002'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764795061'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764795121'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764795181'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764795242'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764795302'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764795361'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764795421'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764795482'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764795541'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764795601'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764795662'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764795721'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764795781'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764795842'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764795901'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764795962'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764796021'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764796081'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764796141'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764796201'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764796261'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764796321'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764796381'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764796442'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764796501'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764796561'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764796622'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764796681'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764796741'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764796802'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764796861'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764796921'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764796981'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764797042'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764797101'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764797162'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764797221'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764797281'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764797342'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764797401'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764797462'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764797522'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764797581'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764797642'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764797702'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764797761'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764797821'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764797882'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764797941'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764798001'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764798062'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764798121'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764798181'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764798242'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764798301'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764798361'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764798421'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764798482'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764798541'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764798601'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764798662'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764798721'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764798782'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764798841'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764798902'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764798961'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764799021'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764799082'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764799141'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764799201'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764799262'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764799321'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764799381'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764799442'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764799501'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764799561'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764799622'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764799681'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764799742'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764799802'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764799861'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764799921'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764799982'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764800041'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764800102'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764800162'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764800221'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764800281'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764800342'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764800401'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764800461'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764800522'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764800581'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764800641'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764800702'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764800761'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764800822'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764800881'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764800941'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764801002'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764801061'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764801122'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764801181'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764801241'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764801301'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764801362'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764801421'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764801481'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764801542'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764801601'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764801661'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764801722'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764801782'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764801841'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764801901'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764801961'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764802021'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764802081'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764802142'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764802201'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764802265'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764802322'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764802381'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764802441'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764802502'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764802562'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764802621'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764802681'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764802741'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764802801'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764802862'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764802921'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764802981'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764803042'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764803102'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764803161'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764803221'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764803281'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764803342'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764803402'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764803461'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764803521'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764803582'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764803641'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764803702'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764803761'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764803821'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764803882'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764803941'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764804001'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764804062'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764804121'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764804181'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764804242'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764804301'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764804361'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764804422'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764804481'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764804541'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764804602'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764804661'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764804721'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764804781'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764804841'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764804902'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764804961'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764805021'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764805082'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764805142'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764805202'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764805261'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764805322'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764805381'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764805442'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764805501'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764805562'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764805622'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764805681'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764805742'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764805801'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764805861'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764805922'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764805981'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764806041'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764806101'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764806162'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764806221'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764806281'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764806341'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764806401'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764806462'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764806525'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764806581'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764806646'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764806701'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764806761'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764806822'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764806881'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764806942'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764807001'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764807061'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764807122'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764807181'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764807242'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764807301'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764807361'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764807422'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764807482'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764807542'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764807602'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764807662'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764807721'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764807782'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764807841'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764807901'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764807962'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764808022'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764808081'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764808141'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764808201'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764808261'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764808322'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764808381'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764808441'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764808502'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764808561'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764808622'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764808681'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764808741'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764808802'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764808861'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764808922'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764808982'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764809041'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764809101'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764809161'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764809221'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764809282'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764809341'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764809401'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764809462'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764809521'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764809582'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764809642'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764809701'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764809762'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764809821'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764809881'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764809941'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764810001'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764810062'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764810121'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764810181'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764810242'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764810302'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764810361'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764810421'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764810482'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764810541'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764810602'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764810662'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764810721'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764810782'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764810841'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764810901'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764810962'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764811021'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764811081'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764811142'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764811201'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764811262'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764811321'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764811381'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764811442'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764811501'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764811561'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764811622'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764811681'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764811741'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764811802'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764811861'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764811921'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764811982'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764812041'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764812101'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764812162'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764812221'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764812281'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764812342'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764812401'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764812461'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764812522'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764812581'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764812642'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764812701'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764812761'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764812822'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764812881'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764812941'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764813002'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764813061'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764813122'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764813182'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764813241'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764813301'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764813362'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764813421'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764813481'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764813542'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764813601'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764813661'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764813722'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764813781'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764813841'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764813902'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764813961'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764814021'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764814081'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764814141'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764814202'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764814261'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764814321'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764814382'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764814441'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764814501'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764814562'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764814621'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764814681'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764814742'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764814802'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764814861'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764814922'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764814981'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764815042'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764815101'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764815161'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764815222'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764815281'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764815341'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764815402'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764815461'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764815522'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764815581'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764815641'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764815702'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764815761'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764815821'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764815881'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764815941'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764816002'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764816061'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764816122'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764816181'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764816241'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764816302'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764816361'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764816421'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764816481'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764816542'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764816601'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764816662'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764816722'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764816781'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764816841'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764816902'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764816961'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764817021'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764817081'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764817141'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764817202'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764817262'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764817321'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764817382'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764817442'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764817501'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764817562'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764817621'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764817681'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764817741'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764817801'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764817861'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764817922'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764817981'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764818041'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764818102'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764818161'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764818222'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764818282'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764818341'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764818401'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764818462'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764818521'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764818581'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764818642'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764818701'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764818761'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764818822'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764818881'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764818941'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764819002'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764819061'  
Array
(
    [0] => 81650
    [compaign_id] => 81650
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765078205
    [start_date] => 1765078205
    [9] => 0
    [end_date] => 0
    [10] => 182
    [total_sms] => 182
    [11] => 182
    [sent_sms] => 182
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 182
    [failed_sms] => 182
    [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] => 182
    [user_failed_sms] => 182
    [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] => 1
    [credit_seq] => 1
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765078261
    [last_credit_update_time] => 1765078261
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81650
\compaign_type : ATans per 27.88004 
ans sms 182
dnd sms 0

require answer perrequire answer per : 51

user answer per : 0
below is the redis data 51 UPDATE voice_compaign_detail_81650 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 51 Total Failed : 0 no_answer_count : 0 Busy count :0 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`='182', `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`=81650 LIMIT 1 


Time Diff : 11.868

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764819121'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764819181'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764819241'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764819302'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764819361'  
Array
(
    [0] => 81650
    [compaign_id] => 81650
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765078205
    [start_date] => 1765078205
    [9] => 0
    [end_date] => 0
    [10] => 388
    [total_sms] => 388
    [11] => 388
    [sent_sms] => 388
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 388
    [failed_sms] => 388
    [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] => 388
    [user_failed_sms] => 388
    [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] => 1765078502
    [last_credit_update_time] => 1765078502
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81650
\compaign_type : ATans per 28.50069 
ans sms 388
dnd sms 0

require answer perrequire answer per : 111

user answer per : 0
below is the redis data 111 UPDATE voice_compaign_detail_81650 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 111 Total Failed : 0 no_answer_count : 0 Busy count :0 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`='388', `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`=81650 LIMIT 1 


Time Diff : 5.567

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764819421'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764819482'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764819541'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764819602'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764819661'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764819722'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764819782'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764819841'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764819902'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764819961'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764820022'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764820081'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764820141'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764820202'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764820261'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764820321'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764820382'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764820441'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764820501'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764820562'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764820622'  
Array
(
    [0] => 81650
    [compaign_id] => 81650
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765078205
    [start_date] => 1765078205
    [9] => 0
    [end_date] => 0
    [10] => 1904
    [total_sms] => 1904
    [11] => 1904
    [sent_sms] => 1904
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1904
    [failed_sms] => 1904
    [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] => 1904
    [user_failed_sms] => 1904
    [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] => 1765079822
    [last_credit_update_time] => 1765079822
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81650
\compaign_type : ATans per 26.30795 
ans sms 1904
dnd sms 0

require answer perrequire answer per : 501

user answer per : 0
below is the redis data 501 UPDATE voice_compaign_detail_81650 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`='1904', `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`=81650 LIMIT 1 


Time Diff : 1.134

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764820697'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764820741'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764820802'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764820861'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764820921'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764820982'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764821041'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764821101'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764821161'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764821222'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764821281'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764821341'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764821402'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764821461'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764821521'  
Array
(
    [0] => 81650
    [compaign_id] => 81650
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765078205
    [start_date] => 1765078205
    [9] => 0
    [end_date] => 0
    [10] => 3019
    [total_sms] => 3019
    [11] => 3019
    [sent_sms] => 3019
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 3019
    [failed_sms] => 3019
    [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] => 3019
    [user_failed_sms] => 3019
    [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] => 1765080721
    [last_credit_update_time] => 1765080721
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81650
\compaign_type : ATans per 27.66814 
ans sms 3019
dnd sms 0

require answer perrequire answer per : 836

user answer per : 0
below is the redis data 836 UPDATE voice_compaign_detail_81650 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 836 Total Failed : 0 no_answer_count : 0 Busy count :0 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`='3019', `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`=81650 LIMIT 1 


Time Diff : 0.715

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764821582'  
Array
(
    [0] => 81650
    [compaign_id] => 81650
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765078205
    [start_date] => 1765078205
    [9] => 0
    [end_date] => 0
    [10] => 3019
    [total_sms] => 3019
    [11] => 3019
    [sent_sms] => 3019
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 3019
    [failed_sms] => 3019
    [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] => 3019
    [user_failed_sms] => 3019
    [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] => 1765080721
    [last_credit_update_time] => 1765080721
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81650
\compaign_type : ATans per 26.8472 
ans sms 3019
dnd sms 0

require answer perrequire answer per : 811

user answer per : 0
below is the redis data 811 UPDATE voice_compaign_detail_81650 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 811 Total Failed : 0 no_answer_count : 0 Busy count :0 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`='3019', `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`=81650 LIMIT 1 


Time Diff : 0.715

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764821641'  
Array
(
    [0] => 81650
    [compaign_id] => 81650
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765078205
    [start_date] => 1765078205
    [9] => 0
    [end_date] => 0
    [10] => 3019
    [total_sms] => 3019
    [11] => 3019
    [sent_sms] => 3019
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 3019
    [failed_sms] => 3019
    [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] => 3019
    [user_failed_sms] => 3019
    [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] => 1765080721
    [last_credit_update_time] => 1765080721
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81650
\compaign_type : ATans per 25.32874 
ans sms 3019
dnd sms 0

require answer perrequire answer per : 765

user answer per : 0
below is the redis data 765 UPDATE voice_compaign_detail_81650 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 765 Total Failed : 0 no_answer_count : 0 Busy count :0 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`='3019', `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`=81650 LIMIT 1 


Time Diff : 0.715

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764821702'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764821762'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764821821'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764821882'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764821942'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764822001'  
Array
(
    [0] => 81650
    [compaign_id] => 81650
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765078205
    [start_date] => 1765078205
    [9] => 0
    [end_date] => 0
    [10] => 3557
    [total_sms] => 3557
    [11] => 3557
    [sent_sms] => 3557
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 3557
    [failed_sms] => 3557
    [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] => 3557
    [user_failed_sms] => 3557
    [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] => 1765081201
    [last_credit_update_time] => 1765081201
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81650
\compaign_type : ATans per 26.07664 
ans sms 3557
dnd sms 0

require answer perrequire answer per : 928

user answer per : 0
below is the redis data 928 UPDATE voice_compaign_detail_81650 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 928 Total Failed : 0 no_answer_count : 0 Busy count :0 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`='3557', `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`=81650 LIMIT 1 


Time Diff : 0.607

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764822062'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764822121'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764822181'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764822242'  
Array
(
    [0] => 81650
    [compaign_id] => 81650
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765078205
    [start_date] => 1765078205
    [9] => 0
    [end_date] => 0
    [10] => 3758
    [total_sms] => 3758
    [11] => 3758
    [sent_sms] => 3758
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 3758
    [failed_sms] => 3758
    [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] => 3758
    [user_failed_sms] => 3758
    [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] => 1765081441
    [last_credit_update_time] => 1765081441
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81650
\compaign_type : ATans per 29.17827 
ans sms 3758
dnd sms 0

require answer perrequire answer per : 1097

user answer per : 0
below is the redis data 1097 UPDATE voice_compaign_detail_81650 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1097 Total Failed : 0 no_answer_count : 0 Busy count :0 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`='3758', `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`=81650 LIMIT 1 


Time Diff : 0.575

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764822302'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764822361'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764822422'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764822482'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764822541'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764822601'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764822662'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764822721'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764822782'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764822841'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764822901'  
Array
(
    [0] => 81306
    [compaign_id] => 81306
    [1] => sr31
    [user_id] => sr31
    [2] => 68581,
    [group_ids] => 68581,
    [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] => 1765081800
    [start_date] => 1765081800
    [9] => 0
    [end_date] => 0
    [10] => 169
    [total_sms] => 169
    [11] => 169
    [sent_sms] => 169
    [12] => 0
    [duplicate_sms] => 0
    [13] => 26
    [answered_sms] => 26
    [14] => 24
    [busy_sms] => 24
    [15] => 0
    [congestion_sms] => 0
    [16] => 15
    [failed_sms] => 15
    [17] => 0
    [hangup_sms] => 0
    [18] => 15
    [no_answer_sms] => 15
    [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] => 26
    [user_answered_sms] => 26
    [27] => 24
    [user_busy_sms] => 24
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 15
    [user_failed_sms] => 15
    [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] => 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] => 1765001395
    [create_date] => 1765001395
    [40] => 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":1765081806,"compaign_read_start_time":1765081807,"compaign_read_complete_time":1765081808,"compaign_send_start_time":1765081864,"compaign_send_complete_time":1765081872}
    [action_time] => {"api_allot_time":1765081806,"compaign_read_start_time":1765081807,"compaign_read_complete_time":1765081808,"compaign_send_start_time":1765081864,"compaign_send_complete_time":1765081872}
    [50] => 0
    [compaign_file] => 0
    [51] => sr31_81306_07122025_100006AM_304
    [common_name] => sr31_81306_07122025_100006AM_304
    [52] => 1765001395_sr31_voice.wav
    [voice_file] => 1765001395_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_68581
    [temp_group_table] => contacts_temp_group_68581
    [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] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765082101
    [last_credit_update_time] => 1765082101
    [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":1765082700,"2":1765083600}
    [rt_time] => {"1":1765082700,"2":1765083600}
    [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 : 81306
\compaign_type : Rans per 27.86996 
ans sms 169
dnd sms 69

require answer perrequire answer per : 28

user answer per : 26
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_81306 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_81306 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 : 18 no_answer_count : 7 Busy count :5 congestion_count : 3 failed_count : 3UPDATE voice_compaign_detail_81306 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 7 UPDATE voice_compaign_detail_81306 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 5 UPDATE voice_compaign_detail_81306 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 3 UPDATE voice_compaign_detail_81306 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`='28', `user_busy_sms`='29', `user_congestion_sms`='3', `user_failed_sms`='16', `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`=81306 LIMIT 1 


Time Diff : 1.089

Array
(
    [0] => 81643
    [compaign_id] => 81643
    [1] => u29720
    [user_id] => u29720
    [2] => 68875,
    [group_ids] => 68875,
    [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] => 1765081800
    [start_date] => 1765081800
    [9] => 0
    [end_date] => 0
    [10] => 1777
    [total_sms] => 1777
    [11] => 1777
    [sent_sms] => 1777
    [12] => 0
    [duplicate_sms] => 0
    [13] => 246
    [answered_sms] => 246
    [14] => 129
    [busy_sms] => 129
    [15] => 1
    [congestion_sms] => 1
    [16] => 180
    [failed_sms] => 180
    [17] => 0
    [hangup_sms] => 0
    [18] => 211
    [no_answer_sms] => 211
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 720
    [cutting_sms] => 720
    [22] => 290
    [dnd_sms] => 290
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 246
    [user_answered_sms] => 246
    [27] => 129
    [user_busy_sms] => 129
    [28] => 1
    [user_congestion_sms] => 1
    [29] => 180
    [user_failed_sms] => 180
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 211
    [user_no_answer_sms] => 211
    [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] => 1765076277
    [create_date] => 1765076277
    [40] => 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":1765081807,"compaign_read_start_time":1765081813,"compaign_read_complete_time":1765081816,"compaign_send_start_time":1765081864,"compaign_send_complete_time":1765081875}
    [action_time] => {"api_allot_time":1765081807,"compaign_read_start_time":1765081813,"compaign_read_complete_time":1765081816,"compaign_send_start_time":1765081864,"compaign_send_complete_time":1765081875}
    [50] => 0
    [compaign_file] => 0
    [51] => u29720_81643_07122025_100006AM_224
    [common_name] => u29720_81643_07122025_100006AM_224
    [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_68875
    [temp_group_table] => contacts_temp_group_68875
    [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] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765082101
    [last_credit_update_time] => 1765082101
    [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 : 81643
\compaign_type : Rans per 25.83626 
ans sms 1777
dnd sms 290

require answer perrequire answer per : 385

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='385', `user_busy_sms`='279', `user_congestion_sms`='70', `user_failed_sms`='348', `user_hangup_sms`='0', `user_no_answer_sms`='405', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='290' WHERE `compaign_id`=81643 LIMIT 1 


Time Diff : 0.104

Array
(
    [0] => 81644
    [compaign_id] => 81644
    [1] => u29720
    [user_id] => u29720
    [2] => 68876,
    [group_ids] => 68876,
    [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] => 1765081800
    [start_date] => 1765081800
    [9] => 0
    [end_date] => 0
    [10] => 785
    [total_sms] => 785
    [11] => 785
    [sent_sms] => 785
    [12] => 0
    [duplicate_sms] => 0
    [13] => 101
    [answered_sms] => 101
    [14] => 69
    [busy_sms] => 69
    [15] => 0
    [congestion_sms] => 0
    [16] => 99
    [failed_sms] => 99
    [17] => 0
    [hangup_sms] => 0
    [18] => 92
    [no_answer_sms] => 92
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 287
    [cutting_sms] => 287
    [22] => 137
    [dnd_sms] => 137
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 101
    [user_answered_sms] => 101
    [27] => 69
    [user_busy_sms] => 69
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 99
    [user_failed_sms] => 99
    [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] => 1765076543
    [create_date] => 1765076543
    [40] => 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":1765081806,"compaign_read_start_time":1765081816,"compaign_read_complete_time":1765081818,"compaign_send_start_time":1765081864,"compaign_send_complete_time":1765081873}
    [action_time] => {"api_allot_time":1765081806,"compaign_read_start_time":1765081816,"compaign_read_complete_time":1765081818,"compaign_send_start_time":1765081864,"compaign_send_complete_time":1765081873}
    [50] => 0
    [compaign_file] => 0
    [51] => u29720_81644_07122025_100006AM_733
    [common_name] => u29720_81644_07122025_100006AM_733
    [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_68876
    [temp_group_table] => contacts_temp_group_68876
    [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] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765082101
    [last_credit_update_time] => 1765082101
    [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 : 81644
\compaign_type : Rans per 27.15915 
ans sms 785
dnd sms 137

require answer perrequire answer per : 176

user answer per : 101
below is the redis data 75 UPDATE voice_compaign_detail_81644 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 75 Total Failed : 212 no_answer_count : 71 Busy count :55 congestion_count : 26 failed_count : 60UPDATE voice_compaign_detail_81644 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 71 UPDATE voice_compaign_detail_81644 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 55 UPDATE voice_compaign_detail_81644 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 26 UPDATE voice_compaign_detail_81644 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`='176', `user_busy_sms`='124', `user_congestion_sms`='26', `user_failed_sms`='159', `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`=81644 LIMIT 1 


Time Diff : 0.236

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764822962'  
Array
(
    [0] => 81645
    [compaign_id] => 81645
    [1] => u29720
    [user_id] => u29720
    [2] => 68877,
    [group_ids] => 68877,
    [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] => 1765081800
    [start_date] => 1765081800
    [9] => 0
    [end_date] => 0
    [10] => 1661
    [total_sms] => 1661
    [11] => 1661
    [sent_sms] => 1661
    [12] => 0
    [duplicate_sms] => 0
    [13] => 206
    [answered_sms] => 206
    [14] => 105
    [busy_sms] => 105
    [15] => 5
    [congestion_sms] => 5
    [16] => 181
    [failed_sms] => 181
    [17] => 0
    [hangup_sms] => 0
    [18] => 201
    [no_answer_sms] => 201
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 588
    [cutting_sms] => 588
    [22] => 375
    [dnd_sms] => 375
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 206
    [user_answered_sms] => 206
    [27] => 105
    [user_busy_sms] => 105
    [28] => 5
    [user_congestion_sms] => 5
    [29] => 181
    [user_failed_sms] => 181
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 201
    [user_no_answer_sms] => 201
    [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] => 1765076688
    [create_date] => 1765076688
    [40] => 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":1765081806,"compaign_read_start_time":1765081819,"compaign_read_complete_time":1765081822,"compaign_send_start_time":1765081864,"compaign_send_complete_time":1765081875}
    [action_time] => {"api_allot_time":1765081806,"compaign_read_start_time":1765081819,"compaign_read_complete_time":1765081822,"compaign_send_start_time":1765081864,"compaign_send_complete_time":1765081875}
    [50] => 0
    [compaign_file] => 0
    [51] => u29720_81645_07122025_100006AM_960
    [common_name] => u29720_81645_07122025_100006AM_960
    [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_68877
    [temp_group_table] => contacts_temp_group_68877
    [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] => 1765082102
    [reschedule_last_check_time] => 1765082102
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765082101
    [last_credit_update_time] => 1765082101
    [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 : 81645
\compaign_type : Rans per 26.99758 
ans sms 1661
dnd sms 375

require answer perrequire answer per : 348

user answer per : 206
below is the redis data 142 UPDATE voice_compaign_detail_81645 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 142 Total Failed : 447 no_answer_count : 150 Busy count :115 congestion_count : 54 failed_count : 128UPDATE voice_compaign_detail_81645 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 150 UPDATE voice_compaign_detail_81645 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 115 UPDATE voice_compaign_detail_81645 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 54 UPDATE voice_compaign_detail_81645 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`='348', `user_busy_sms`='220', `user_congestion_sms`='58', `user_failed_sms`='309', `user_hangup_sms`='0', `user_no_answer_sms`='351', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='375' WHERE `compaign_id`=81645 LIMIT 1 


Time Diff : 0.148

Array
(
    [0] => 81646
    [compaign_id] => 81646
    [1] => u29720
    [user_id] => u29720
    [2] => 68878,
    [group_ids] => 68878,
    [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] => 1765081800
    [start_date] => 1765081800
    [9] => 0
    [end_date] => 0
    [10] => 1640
    [total_sms] => 1640
    [11] => 1640
    [sent_sms] => 1640
    [12] => 0
    [duplicate_sms] => 0
    [13] => 190
    [answered_sms] => 190
    [14] => 95
    [busy_sms] => 95
    [15] => 1
    [congestion_sms] => 1
    [16] => 223
    [failed_sms] => 223
    [17] => 0
    [hangup_sms] => 0
    [18] => 171
    [no_answer_sms] => 171
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 661
    [cutting_sms] => 661
    [22] => 299
    [dnd_sms] => 299
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 190
    [user_answered_sms] => 190
    [27] => 95
    [user_busy_sms] => 95
    [28] => 1
    [user_congestion_sms] => 1
    [29] => 223
    [user_failed_sms] => 223
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 171
    [user_no_answer_sms] => 171
    [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] => 1765076770
    [create_date] => 1765076770
    [40] => 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":1765081806,"compaign_read_start_time":1765081822,"compaign_read_complete_time":1765081825,"compaign_send_start_time":1765081864,"compaign_send_complete_time":1765081875}
    [action_time] => {"api_allot_time":1765081806,"compaign_read_start_time":1765081822,"compaign_read_complete_time":1765081825,"compaign_send_start_time":1765081864,"compaign_send_complete_time":1765081875}
    [50] => 0
    [compaign_file] => 0
    [51] => u29720_81646_07122025_100006AM_977
    [common_name] => u29720_81646_07122025_100006AM_977
    [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_68878
    [temp_group_table] => contacts_temp_group_68878
    [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] => 1765082102
    [reschedule_last_check_time] => 1765082102
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765082101
    [last_credit_update_time] => 1765082101
    [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 : 81646
\compaign_type : Rans per 28.26412 
ans sms 1640
dnd sms 299

require answer perrequire answer per : 380

user answer per : 190
below is the redis data 190 UPDATE voice_compaign_detail_81646 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 190 Total Failed : 471 no_answer_count : 158 Busy count :121 congestion_count : 56 failed_count : 136UPDATE voice_compaign_detail_81646 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 158 UPDATE voice_compaign_detail_81646 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 121 UPDATE voice_compaign_detail_81646 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 56 UPDATE voice_compaign_detail_81646 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 136 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='380', `user_busy_sms`='216', `user_congestion_sms`='57', `user_failed_sms`='359', `user_hangup_sms`='0', `user_no_answer_sms`='329', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='299' WHERE `compaign_id`=81646 LIMIT 1 


Time Diff : 0.149

Array
(
    [0] => 81648
    [compaign_id] => 81648
    [1] => u29720
    [user_id] => u29720
    [2] => 68880,
    [group_ids] => 68880,
    [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] => 1765081800
    [start_date] => 1765081800
    [9] => 0
    [end_date] => 0
    [10] => 370
    [total_sms] => 370
    [11] => 370
    [sent_sms] => 370
    [12] => 0
    [duplicate_sms] => 0
    [13] => 78
    [answered_sms] => 78
    [14] => 25
    [busy_sms] => 25
    [15] => 0
    [congestion_sms] => 0
    [16] => 42
    [failed_sms] => 42
    [17] => 0
    [hangup_sms] => 0
    [18] => 63
    [no_answer_sms] => 63
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 118
    [cutting_sms] => 118
    [22] => 44
    [dnd_sms] => 44
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 78
    [user_answered_sms] => 78
    [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] => 63
    [user_no_answer_sms] => 63
    [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] => 1
    [isScheduled] => 1
    [39] => 1765077029
    [create_date] => 1765077029
    [40] => 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":1765081806,"compaign_read_start_time":1765081828,"compaign_read_complete_time":1765081829,"compaign_send_start_time":1765081864,"compaign_send_complete_time":1765081872}
    [action_time] => {"api_allot_time":1765081806,"compaign_read_start_time":1765081828,"compaign_read_complete_time":1765081829,"compaign_send_start_time":1765081864,"compaign_send_complete_time":1765081872}
    [50] => 0
    [compaign_file] => 0
    [51] => u29720_81648_07122025_100006AM_683
    [common_name] => u29720_81648_07122025_100006AM_683
    [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_68880
    [temp_group_table] => contacts_temp_group_68880
    [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] => 1765082101
    [last_credit_update_time] => 1765082101
    [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 : 81648
\compaign_type : Rans per 29.34995 
ans sms 370
dnd sms 44

require answer perrequire answer per : 96

user answer per : 78
below is the redis data 18 UPDATE voice_compaign_detail_81648 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 18 Total Failed : 100 no_answer_count : 34 Busy count :26 congestion_count : 12 failed_count : 28UPDATE voice_compaign_detail_81648 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 34 UPDATE voice_compaign_detail_81648 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 26 UPDATE voice_compaign_detail_81648 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 12 UPDATE voice_compaign_detail_81648 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`='96', `user_busy_sms`='51', `user_congestion_sms`='12', `user_failed_sms`='70', `user_hangup_sms`='0', `user_no_answer_sms`='97', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='44' WHERE `compaign_id`=81648 LIMIT 1 


Time Diff : 0.662

Array
(
    [0] => 81649
    [compaign_id] => 81649
    [1] => u29720
    [user_id] => u29720
    [2] => 68881,
    [group_ids] => 68881,
    [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] => 1765081800
    [start_date] => 1765081800
    [9] => 0
    [end_date] => 0
    [10] => 346
    [total_sms] => 346
    [11] => 346
    [sent_sms] => 346
    [12] => 0
    [duplicate_sms] => 0
    [13] => 52
    [answered_sms] => 52
    [14] => 34
    [busy_sms] => 34
    [15] => 0
    [congestion_sms] => 0
    [16] => 57
    [failed_sms] => 57
    [17] => 0
    [hangup_sms] => 0
    [18] => 43
    [no_answer_sms] => 43
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 98
    [cutting_sms] => 98
    [22] => 62
    [dnd_sms] => 62
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 52
    [user_answered_sms] => 52
    [27] => 34
    [user_busy_sms] => 34
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 57
    [user_failed_sms] => 57
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 43
    [user_no_answer_sms] => 43
    [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] => 1765077139
    [create_date] => 1765077139
    [40] => 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":1765081806,"compaign_read_start_time":1765081831,"compaign_read_complete_time":1765081832,"compaign_send_start_time":1765081864,"compaign_send_complete_time":1765081872}
    [action_time] => {"api_allot_time":1765081806,"compaign_read_start_time":1765081831,"compaign_read_complete_time":1765081832,"compaign_send_start_time":1765081864,"compaign_send_complete_time":1765081872}
    [50] => 0
    [compaign_file] => 0
    [51] => u29720_81649_07122025_100006AM_737
    [common_name] => u29720_81649_07122025_100006AM_737
    [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_68881
    [temp_group_table] => contacts_temp_group_68881
    [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] => 1765082102
    [reschedule_last_check_time] => 1765082102
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765082101
    [last_credit_update_time] => 1765082101
    [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 : 81649
\compaign_type : Rans per 25.09097 
ans sms 346
dnd sms 62

require answer perrequire answer per : 72

user answer per : 52
below is the redis data 20 UPDATE voice_compaign_detail_81649 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 20 Total Failed : 78 no_answer_count : 27 Busy count :21 congestion_count : 10 failed_count : 20UPDATE voice_compaign_detail_81649 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 27 UPDATE voice_compaign_detail_81649 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 21 UPDATE voice_compaign_detail_81649 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 10 UPDATE voice_compaign_detail_81649 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`='72', `user_busy_sms`='55', `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`=81649 LIMIT 1 


Time Diff : 0.711

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764823021'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764823081'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764823142'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764823201'  
Array
(
    [0] => 81641
    [compaign_id] => 81641
    [1] => u607
    [user_id] => u607
    [2] => 68871,
    [group_ids] => 68871,
    [3] => 
    [sender_id] => 
    [4] => t.kumar_mulugu.mp3
    [filename] => t.kumar_mulugu.mp3
    [5] => 31
    [duration] => 31
    [6] => 2
    [credits_per_sms] => 2
    [7] => 30
    [user_pulse] => 30
    [8] => 1765081800
    [start_date] => 1765081800
    [9] => 0
    [end_date] => 0
    [10] => 1660
    [total_sms] => 1660
    [11] => 1660
    [sent_sms] => 1660
    [12] => 0
    [duplicate_sms] => 0
    [13] => 194
    [answered_sms] => 194
    [14] => 125
    [busy_sms] => 125
    [15] => 2
    [congestion_sms] => 2
    [16] => 307
    [failed_sms] => 307
    [17] => 0
    [hangup_sms] => 0
    [18] => 146
    [no_answer_sms] => 146
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 715
    [cutting_sms] => 715
    [22] => 171
    [dnd_sms] => 171
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 194
    [user_answered_sms] => 194
    [27] => 125
    [user_busy_sms] => 125
    [28] => 2
    [user_congestion_sms] => 2
    [29] => 307
    [user_failed_sms] => 307
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 146
    [user_no_answer_sms] => 146
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 171
    [user_dnd_sms] => 171
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u607
    [created_by] => u607
    [38] => 1
    [isScheduled] => 1
    [39] => 1765044260
    [create_date] => 1765044260
    [40] => 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":1765081806,"compaign_read_start_time":1765081810,"compaign_read_complete_time":1765081813,"compaign_send_start_time":1765081864,"compaign_send_complete_time":1765081875}
    [action_time] => {"api_allot_time":1765081806,"compaign_read_start_time":1765081810,"compaign_read_complete_time":1765081813,"compaign_send_start_time":1765081864,"compaign_send_complete_time":1765081875}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81641_07122025_100006AM_456
    [common_name] => u607_81641_07122025_100006AM_456
    [52] => 1765044260_u607_voice.wav
    [voice_file] => 1765044260_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_68871
    [temp_group_table] => contacts_temp_group_68871
    [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] => 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] => 1765082102
    [reschedule_last_check_time] => 1765082102
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765082342
    [last_credit_update_time] => 1765082342
    [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":1765086300,"2":1765089900}
    [rt_time] => {"1":1765086300,"2":1765089900}
    [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 : 81641
\compaign_type : Rans per 27.03985 
ans sms 1660
dnd sms 171

require answer perrequire answer per : 403

user answer per : 194
below is the redis data 209 /n/r
only no answer and busy will be convert, total number require 209 /n/r
UPDATE voice_compaign_detail_81641 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 157 UPDATE voice_compaign_detail_81641 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 157 Total Failed : 499 no_answer_count : 167 Busy count :129 congestion_count : 60 failed_count : 143UPDATE voice_compaign_detail_81641 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 167 UPDATE voice_compaign_detail_81641 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 129 UPDATE voice_compaign_detail_81641 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 60 UPDATE voice_compaign_detail_81641 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 143 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='403', `user_busy_sms`='315', `user_congestion_sms`='62', `user_failed_sms`='352', `user_hangup_sms`='0', `user_no_answer_sms`='357', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='171' WHERE `compaign_id`=81641 LIMIT 1 


Time Diff : 0.292

Array
(
    [0] => 81647
    [compaign_id] => 81647
    [1] => u29720
    [user_id] => u29720
    [2] => 68879,
    [group_ids] => 68879,
    [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] => 1765081800
    [start_date] => 1765081800
    [9] => 0
    [end_date] => 0
    [10] => 2198
    [total_sms] => 2198
    [11] => 2198
    [sent_sms] => 2198
    [12] => 0
    [duplicate_sms] => 0
    [13] => 299
    [answered_sms] => 299
    [14] => 129
    [busy_sms] => 129
    [15] => 3
    [congestion_sms] => 3
    [16] => 286
    [failed_sms] => 286
    [17] => 0
    [hangup_sms] => 0
    [18] => 181
    [no_answer_sms] => 181
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 955
    [cutting_sms] => 955
    [22] => 345
    [dnd_sms] => 345
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 299
    [user_answered_sms] => 299
    [27] => 129
    [user_busy_sms] => 129
    [28] => 3
    [user_congestion_sms] => 3
    [29] => 286
    [user_failed_sms] => 286
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 181
    [user_no_answer_sms] => 181
    [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] => 1
    [isScheduled] => 1
    [39] => 1765076925
    [create_date] => 1765076925
    [40] => 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":1765081806,"compaign_read_start_time":1765081825,"compaign_read_complete_time":1765081830,"compaign_send_start_time":1765081864,"compaign_send_complete_time":1765081876}
    [action_time] => {"api_allot_time":1765081806,"compaign_read_start_time":1765081825,"compaign_read_complete_time":1765081830,"compaign_send_start_time":1765081864,"compaign_send_complete_time":1765081876}
    [50] => 0
    [compaign_file] => 0
    [51] => u29720_81647_07122025_100006AM_324
    [common_name] => u29720_81647_07122025_100006AM_324
    [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_68879
    [temp_group_table] => contacts_temp_group_68879
    [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] => 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] => 1765082102
    [reschedule_last_check_time] => 1765082102
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765082342
    [last_credit_update_time] => 1765082342
    [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 : 81647
\compaign_type : Rans per 25.25434 
ans sms 2198
dnd sms 345

require answer perrequire answer per : 468

user answer per : 299
below is the redis data 169 UPDATE voice_compaign_detail_81647 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 169 Total Failed : 787 no_answer_count : 263 Busy count :202 congestion_count : 94 failed_count : 228UPDATE voice_compaign_detail_81647 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 263 UPDATE voice_compaign_detail_81647 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 202 UPDATE voice_compaign_detail_81647 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 94 UPDATE voice_compaign_detail_81647 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 228 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='468', `user_busy_sms`='331', `user_congestion_sms`='96', `user_failed_sms`='514', `user_hangup_sms`='0', `user_no_answer_sms`='444', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='345' WHERE `compaign_id`=81647 LIMIT 1 


Time Diff : 0.221

Array
(
    [0] => 81651
    [compaign_id] => 81651
    [1] => u29720
    [user_id] => u29720
    [2] => 68882,
    [group_ids] => 68882,
    [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] => 1765081800
    [start_date] => 1765081800
    [9] => 0
    [end_date] => 0
    [10] => 2713
    [total_sms] => 2713
    [11] => 2713
    [sent_sms] => 2713
    [12] => 0
    [duplicate_sms] => 0
    [13] => 328
    [answered_sms] => 328
    [14] => 228
    [busy_sms] => 228
    [15] => 0
    [congestion_sms] => 0
    [16] => 460
    [failed_sms] => 460
    [17] => 0
    [hangup_sms] => 0
    [18] => 212
    [no_answer_sms] => 212
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 1054
    [cutting_sms] => 1054
    [22] => 431
    [dnd_sms] => 431
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 328
    [user_answered_sms] => 328
    [27] => 228
    [user_busy_sms] => 228
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 460
    [user_failed_sms] => 460
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 212
    [user_no_answer_sms] => 212
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 431
    [user_dnd_sms] => 431
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29720
    [created_by] => u29720
    [38] => 1
    [isScheduled] => 1
    [39] => 1765079346
    [create_date] => 1765079346
    [40] => 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":1765081806,"compaign_read_start_time":1765081834,"compaign_read_complete_time":1765081839,"compaign_send_start_time":1765081864,"compaign_send_complete_time":1765081877}
    [action_time] => {"api_allot_time":1765081806,"compaign_read_start_time":1765081834,"compaign_read_complete_time":1765081839,"compaign_send_start_time":1765081864,"compaign_send_complete_time":1765081877}
    [50] => 0
    [compaign_file] => 0
    [51] => u29720_81651_07122025_100006AM_744
    [common_name] => u29720_81651_07122025_100006AM_744
    [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_68882
    [temp_group_table] => contacts_temp_group_68882
    [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] => 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] => 1765082102
    [reschedule_last_check_time] => 1765082102
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765082342
    [last_credit_update_time] => 1765082342
    [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 : 81651
\compaign_type : Rans per 26.45579 
ans sms 2713
dnd sms 431

require answer perrequire answer per : 604

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='604', `user_busy_sms`='428', `user_congestion_sms`='93', `user_failed_sms`='685', `user_hangup_sms`='0', `user_no_answer_sms`='472', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='431' WHERE `compaign_id`=81651 LIMIT 1 


Time Diff : 0.179

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764823262'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764823321'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764823381'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764823441'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764823501'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764823561'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764823621'  
Array
(
    [0] => 81650
    [compaign_id] => 81650
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765078205
    [start_date] => 1765078205
    [9] => 0
    [end_date] => 0
    [10] => 5304
    [total_sms] => 5304
    [11] => 5304
    [sent_sms] => 5304
    [12] => 0
    [duplicate_sms] => 0
    [13] => 8
    [answered_sms] => 8
    [14] => 359
    [busy_sms] => 359
    [15] => 0
    [congestion_sms] => 0
    [16] => 4884
    [failed_sms] => 4884
    [17] => 0
    [hangup_sms] => 0
    [18] => 53
    [no_answer_sms] => 53
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 8
    [user_answered_sms] => 8
    [27] => 359
    [user_busy_sms] => 359
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 4884
    [user_failed_sms] => 4884
    [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] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1765082821
    [last_credit_update_time] => 1765082821
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81650
\compaign_type : ATans per 27.84904 
ans sms 5304
dnd sms 0

require answer perrequire answer per : 1478

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='8', `user_busy_sms`='359', `user_congestion_sms`='0', `user_failed_sms`='4884', `user_hangup_sms`='0', `user_no_answer_sms`='53', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81650 LIMIT 1 


Time Diff : 0.174

Array
(
    [0] => 81659
    [compaign_id] => 81659
    [1] => u29720
    [user_id] => u29720
    [2] => 68886,
    [group_ids] => 68886,
    [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] => 1765082528
    [start_date] => 1765082528
    [9] => 0
    [end_date] => 0
    [10] => 274
    [total_sms] => 274
    [11] => 274
    [sent_sms] => 274
    [12] => 0
    [duplicate_sms] => 0
    [13] => 27
    [answered_sms] => 27
    [14] => 24
    [busy_sms] => 24
    [15] => 0
    [congestion_sms] => 0
    [16] => 56
    [failed_sms] => 56
    [17] => 0
    [hangup_sms] => 0
    [18] => 40
    [no_answer_sms] => 40
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 65
    [cutting_sms] => 65
    [22] => 62
    [dnd_sms] => 62
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 27
    [user_answered_sms] => 27
    [27] => 24
    [user_busy_sms] => 24
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 56
    [user_failed_sms] => 56
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 40
    [user_no_answer_sms] => 40
    [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] => 1765082528
    [create_date] => 1765082528
    [40] => 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":1765082534,"compaign_read_start_time":1765082536,"compaign_read_complete_time":1765082537,"compaign_send_start_time":1765082582,"compaign_send_complete_time":1765082583}
    [action_time] => {"api_allot_time":1765082534,"compaign_read_start_time":1765082536,"compaign_read_complete_time":1765082537,"compaign_send_start_time":1765082582,"compaign_send_complete_time":1765082583}
    [50] => 0
    [compaign_file] => 0
    [51] => u29720_81659_07122025_101213AM_817
    [common_name] => u29720_81659_07122025_101213AM_817
    [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_68886
    [temp_group_table] => contacts_temp_group_68886
    [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] => 1765082821
    [last_credit_update_time] => 1765082821
    [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 : 81659
\compaign_type : Rans per 30.20792 
ans sms 274
dnd sms 62

require answer perrequire answer per : 65

user answer per : 27
below is the redis data 38 UPDATE voice_compaign_detail_81659 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 38 Total Failed : 27 no_answer_count : 10 Busy count :7 congestion_count : 4 failed_count : 6UPDATE voice_compaign_detail_81659 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 10 UPDATE voice_compaign_detail_81659 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 7 UPDATE voice_compaign_detail_81659 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 4 UPDATE voice_compaign_detail_81659 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`='65', `user_busy_sms`='31', `user_congestion_sms`='4', `user_failed_sms`='62', `user_hangup_sms`='0', `user_no_answer_sms`='50', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='62' WHERE `compaign_id`=81659 LIMIT 1 


Time Diff : 0.708

Array
(
    [0] => 81660
    [compaign_id] => 81660
    [1] => u29720
    [user_id] => u29720
    [2] => 68889,
    [group_ids] => 68889,
    [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] => 1765082529
    [start_date] => 1765082529
    [9] => 0
    [end_date] => 0
    [10] => 609
    [total_sms] => 609
    [11] => 609
    [sent_sms] => 609
    [12] => 0
    [duplicate_sms] => 0
    [13] => 55
    [answered_sms] => 55
    [14] => 53
    [busy_sms] => 53
    [15] => 0
    [congestion_sms] => 0
    [16] => 84
    [failed_sms] => 84
    [17] => 0
    [hangup_sms] => 0
    [18] => 64
    [no_answer_sms] => 64
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 216
    [cutting_sms] => 216
    [22] => 137
    [dnd_sms] => 137
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 55
    [user_answered_sms] => 55
    [27] => 53
    [user_busy_sms] => 53
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 84
    [user_failed_sms] => 84
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 64
    [user_no_answer_sms] => 64
    [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] => 1765082529
    [create_date] => 1765082529
    [40] => 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":1765082536,"compaign_read_start_time":1765082539,"compaign_read_complete_time":1765082540,"compaign_send_start_time":1765082582,"compaign_send_complete_time":1765082583}
    [action_time] => {"api_allot_time":1765082536,"compaign_read_start_time":1765082539,"compaign_read_complete_time":1765082540,"compaign_send_start_time":1765082582,"compaign_send_complete_time":1765082583}
    [50] => 0
    [compaign_file] => 0
    [51] => u29720_81660_07122025_101215AM_944
    [common_name] => u29720_81660_07122025_101215AM_944
    [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_68889
    [temp_group_table] => contacts_temp_group_68889
    [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] => 1765082821
    [last_credit_update_time] => 1765082821
    [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 : 81660
\compaign_type : Rans per 25.26771 
ans sms 609
dnd sms 137

require answer perrequire answer per : 120

user answer per : 55
below is the redis data 65 UPDATE voice_compaign_detail_81660 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 65 Total Failed : 151 no_answer_count : 51 Busy count :39 congestion_count : 18 failed_count : 43UPDATE voice_compaign_detail_81660 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 51 UPDATE voice_compaign_detail_81660 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 39 UPDATE voice_compaign_detail_81660 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 18 UPDATE voice_compaign_detail_81660 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`='120', `user_busy_sms`='92', `user_congestion_sms`='18', `user_failed_sms`='127', `user_hangup_sms`='0', `user_no_answer_sms`='115', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='137' WHERE `compaign_id`=81660 LIMIT 1 


Time Diff : 0.319

Array
(
    [0] => 81661
    [compaign_id] => 81661
    [1] => u29720
    [user_id] => u29720
    [2] => 68888,
    [group_ids] => 68888,
    [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] => 1765082531
    [start_date] => 1765082531
    [9] => 0
    [end_date] => 0
    [10] => 1260
    [total_sms] => 1260
    [11] => 1260
    [sent_sms] => 1260
    [12] => 0
    [duplicate_sms] => 0
    [13] => 98
    [answered_sms] => 98
    [14] => 82
    [busy_sms] => 82
    [15] => 0
    [congestion_sms] => 0
    [16] => 212
    [failed_sms] => 212
    [17] => 0
    [hangup_sms] => 0
    [18] => 124
    [no_answer_sms] => 124
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 445
    [cutting_sms] => 445
    [22] => 299
    [dnd_sms] => 299
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 98
    [user_answered_sms] => 98
    [27] => 82
    [user_busy_sms] => 82
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 212
    [user_failed_sms] => 212
    [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] => 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] => 1765082531
    [create_date] => 1765082531
    [40] => 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":1765082538,"compaign_read_start_time":1765082542,"compaign_read_complete_time":1765082544,"compaign_send_start_time":1765082582,"compaign_send_complete_time":1765082584}
    [action_time] => {"api_allot_time":1765082538,"compaign_read_start_time":1765082542,"compaign_read_complete_time":1765082544,"compaign_send_start_time":1765082582,"compaign_send_complete_time":1765082584}
    [50] => 0
    [compaign_file] => 0
    [51] => u29720_81661_07122025_101217AM_242
    [common_name] => u29720_81661_07122025_101217AM_242
    [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_68888
    [temp_group_table] => contacts_temp_group_68888
    [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] => 1765082821
    [last_credit_update_time] => 1765082821
    [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 : 81661
\compaign_type : Rans per 25.40034 
ans sms 1260
dnd sms 299

require answer perrequire answer per : 245

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='245', `user_busy_sms`='159', `user_congestion_sms`='36', `user_failed_sms`='297', `user_hangup_sms`='0', `user_no_answer_sms`='224', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='299' WHERE `compaign_id`=81661 LIMIT 1 


Time Diff : 0.154

Array
(
    [0] => 81663
    [compaign_id] => 81663
    [1] => u29720
    [user_id] => u29720
    [2] => 68887,
    [group_ids] => 68887,
    [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] => 1765082532
    [start_date] => 1765082532
    [9] => 0
    [end_date] => 0
    [10] => 1313
    [total_sms] => 1313
    [11] => 1313
    [sent_sms] => 1313
    [12] => 0
    [duplicate_sms] => 0
    [13] => 109
    [answered_sms] => 109
    [14] => 93
    [busy_sms] => 93
    [15] => 2
    [congestion_sms] => 2
    [16] => 161
    [failed_sms] => 161
    [17] => 0
    [hangup_sms] => 0
    [18] => 133
    [no_answer_sms] => 133
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 440
    [cutting_sms] => 440
    [22] => 375
    [dnd_sms] => 375
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 109
    [user_answered_sms] => 109
    [27] => 93
    [user_busy_sms] => 93
    [28] => 2
    [user_congestion_sms] => 2
    [29] => 161
    [user_failed_sms] => 161
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 133
    [user_no_answer_sms] => 133
    [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] => 1765082532
    [create_date] => 1765082532
    [40] => 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":1765082538,"compaign_read_start_time":1765082545,"compaign_read_complete_time":1765082547,"compaign_send_start_time":1765082582,"compaign_send_complete_time":1765082584}
    [action_time] => {"api_allot_time":1765082538,"compaign_read_start_time":1765082545,"compaign_read_complete_time":1765082547,"compaign_send_start_time":1765082582,"compaign_send_complete_time":1765082584}
    [50] => 0
    [compaign_file] => 0
    [51] => u29720_81663_07122025_101217AM_444
    [common_name] => u29720_81663_07122025_101217AM_444
    [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_68887
    [temp_group_table] => contacts_temp_group_68887
    [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] => 1765082821
    [last_credit_update_time] => 1765082821
    [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 : 81663
\compaign_type : Rans per 28.43075 
ans sms 1313
dnd sms 375

require answer perrequire answer per : 267

user answer per : 109
below is the redis data 158 UPDATE voice_compaign_detail_81663 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 158 Total Failed : 283 no_answer_count : 95 Busy count :73 congestion_count : 34 failed_count : 81UPDATE voice_compaign_detail_81663 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 95 UPDATE voice_compaign_detail_81663 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 73 UPDATE voice_compaign_detail_81663 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 34 UPDATE voice_compaign_detail_81663 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 81 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='267', `user_busy_sms`='166', `user_congestion_sms`='35', `user_failed_sms`='242', `user_hangup_sms`='0', `user_no_answer_sms`='228', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='375' WHERE `compaign_id`=81663 LIMIT 1 


Time Diff : 0.148

Array
(
    [0] => 81664
    [compaign_id] => 81664
    [1] => u29720
    [user_id] => u29720
    [2] => 68890,
    [group_ids] => 68890,
    [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] => 1765082532
    [start_date] => 1765082532
    [9] => 0
    [end_date] => 0
    [10] => 1392
    [total_sms] => 1392
    [11] => 1392
    [sent_sms] => 1392
    [12] => 0
    [duplicate_sms] => 0
    [13] => 145
    [answered_sms] => 145
    [14] => 105
    [busy_sms] => 105
    [15] => 0
    [congestion_sms] => 0
    [16] => 180
    [failed_sms] => 180
    [17] => 0
    [hangup_sms] => 0
    [18] => 179
    [no_answer_sms] => 179
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 493
    [cutting_sms] => 493
    [22] => 290
    [dnd_sms] => 290
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 145
    [user_answered_sms] => 145
    [27] => 105
    [user_busy_sms] => 105
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 180
    [user_failed_sms] => 180
    [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] => 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] => 1765082532
    [create_date] => 1765082532
    [40] => 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":1765082538,"compaign_read_start_time":1765082548,"compaign_read_complete_time":1765082550,"compaign_send_start_time":1765082582,"compaign_send_complete_time":1765082585}
    [action_time] => {"api_allot_time":1765082538,"compaign_read_start_time":1765082548,"compaign_read_complete_time":1765082550,"compaign_send_start_time":1765082582,"compaign_send_complete_time":1765082585}
    [50] => 0
    [compaign_file] => 0
    [51] => u29720_81664_07122025_101217AM_122
    [common_name] => u29720_81664_07122025_101217AM_122
    [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_68890
    [temp_group_table] => contacts_temp_group_68890
    [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] => 1765082821
    [last_credit_update_time] => 1765082821
    [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 : 81664
\compaign_type : Rans per 30.78818 
ans sms 1392
dnd sms 290

require answer perrequire answer per : 340

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='340', `user_busy_sms`='182', `user_congestion_sms`='36', `user_failed_sms`='265', `user_hangup_sms`='0', `user_no_answer_sms`='279', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='290' WHERE `compaign_id`=81664 LIMIT 1 


Time Diff : 0.139

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764823682'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764823741'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764823801'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764823861'  
Array
(
    [0] => 81624
    [compaign_id] => 81624
    [1] => u607
    [user_id] => u607
    [2] => 68850,
    [group_ids] => 68850,
    [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] => 1765082700
    [start_date] => 1765082700
    [9] => 0
    [end_date] => 0
    [10] => 1514
    [total_sms] => 1514
    [11] => 1514
    [sent_sms] => 1514
    [12] => 0
    [duplicate_sms] => 0
    [13] => 157
    [answered_sms] => 157
    [14] => 68
    [busy_sms] => 68
    [15] => 1
    [congestion_sms] => 1
    [16] => 247
    [failed_sms] => 247
    [17] => 0
    [hangup_sms] => 0
    [18] => 129
    [no_answer_sms] => 129
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 621
    [cutting_sms] => 621
    [22] => 291
    [dnd_sms] => 291
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 157
    [user_answered_sms] => 157
    [27] => 68
    [user_busy_sms] => 68
    [28] => 1
    [user_congestion_sms] => 1
    [29] => 247
    [user_failed_sms] => 247
    [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] => 291
    [user_dnd_sms] => 291
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u607
    [created_by] => u607
    [38] => 1
    [isScheduled] => 1
    [39] => 1765041666
    [create_date] => 1765041666
    [40] => 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":1765082706,"compaign_read_start_time":1765082710,"compaign_read_complete_time":1765082713,"compaign_send_start_time":1765082761,"compaign_send_complete_time":1765082774}
    [action_time] => {"api_allot_time":1765082706,"compaign_read_start_time":1765082710,"compaign_read_complete_time":1765082713,"compaign_send_start_time":1765082761,"compaign_send_complete_time":1765082774}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81624_07122025_101505AM_364
    [common_name] => u607_81624_07122025_101505AM_364
    [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_68850
    [temp_group_table] => contacts_temp_group_68850
    [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] => 1765083002
    [reschedule_last_check_time] => 1765083002
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765083002
    [last_credit_update_time] => 1765083002
    [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":1765086300,"2":1765089900}
    [rt_time] => {"1":1765086300,"2":1765089900}
    [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 : 81624
\compaign_type : Rans per 27.0993 
ans sms 1514
dnd sms 291

require answer perrequire answer per : 332

user answer per : 157
below is the redis data 175 /n/r
only no answer and busy will be convert, total number require 175 /n/r
UPDATE voice_compaign_detail_81624 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 125 UPDATE voice_compaign_detail_81624 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 125 Total Failed : 443 no_answer_count : 148 Busy count :114 congestion_count : 53 failed_count : 128UPDATE voice_compaign_detail_81624 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 148 UPDATE voice_compaign_detail_81624 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 114 UPDATE voice_compaign_detail_81624 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 53 UPDATE voice_compaign_detail_81624 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`='332', `user_busy_sms`='249', `user_congestion_sms`='54', `user_failed_sms`='303', `user_hangup_sms`='0', `user_no_answer_sms`='285', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='291' WHERE `compaign_id`=81624 LIMIT 1 


Time Diff : 0.179

Array
(
    [0] => 81627
    [compaign_id] => 81627
    [1] => u607
    [user_id] => u607
    [2] => 68854,
    [group_ids] => 68854,
    [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] => 1765082700
    [start_date] => 1765082700
    [9] => 0
    [end_date] => 0
    [10] => 359
    [total_sms] => 359
    [11] => 359
    [sent_sms] => 359
    [12] => 0
    [duplicate_sms] => 0
    [13] => 52
    [answered_sms] => 52
    [14] => 28
    [busy_sms] => 28
    [15] => 0
    [congestion_sms] => 0
    [16] => 44
    [failed_sms] => 44
    [17] => 0
    [hangup_sms] => 0
    [18] => 49
    [no_answer_sms] => 49
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 130
    [cutting_sms] => 130
    [22] => 56
    [dnd_sms] => 56
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 52
    [user_answered_sms] => 52
    [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] => 49
    [user_no_answer_sms] => 49
    [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] => 1765042111
    [create_date] => 1765042111
    [40] => 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":1765082706,"compaign_read_start_time":1765082713,"compaign_read_complete_time":1765082714,"compaign_send_start_time":1765082761,"compaign_send_complete_time":1765082763}
    [action_time] => {"api_allot_time":1765082706,"compaign_read_start_time":1765082713,"compaign_read_complete_time":1765082714,"compaign_send_start_time":1765082761,"compaign_send_complete_time":1765082763}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81627_07122025_101505AM_679
    [common_name] => u607_81627_07122025_101505AM_679
    [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_68854
    [temp_group_table] => contacts_temp_group_68854
    [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] => 1765083002
    [reschedule_last_check_time] => 1765083002
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765083002
    [last_credit_update_time] => 1765083002
    [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":1765086300,"2":1765089900}
    [rt_time] => {"1":1765086300,"2":1765089900}
    [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 : 81627
\compaign_type : Rans per 25.90873 
ans sms 359
dnd sms 56

require answer perrequire answer per : 79

user answer per : 52
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_81627 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_81627 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 : 97 no_answer_count : 33 Busy count :25 congestion_count : 12 failed_count : 27UPDATE voice_compaign_detail_81627 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 33 UPDATE voice_compaign_detail_81627 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 25 UPDATE voice_compaign_detail_81627 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 12 UPDATE voice_compaign_detail_81627 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`='79', `user_busy_sms`='62', `user_congestion_sms`='12', `user_failed_sms`='62', `user_hangup_sms`='0', `user_no_answer_sms`='88', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='56' WHERE `compaign_id`=81627 LIMIT 1 


Time Diff : 0.755

Array
(
    [0] => 81628
    [compaign_id] => 81628
    [1] => u607
    [user_id] => u607
    [2] => 68856,
    [group_ids] => 68856,
    [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] => 1765082700
    [start_date] => 1765082700
    [9] => 0
    [end_date] => 0
    [10] => 807
    [total_sms] => 807
    [11] => 807
    [sent_sms] => 807
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 45
    [busy_sms] => 45
    [15] => 0
    [congestion_sms] => 0
    [16] => 186
    [failed_sms] => 186
    [17] => 0
    [hangup_sms] => 0
    [18] => 69
    [no_answer_sms] => 69
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 330
    [cutting_sms] => 330
    [22] => 92
    [dnd_sms] => 92
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 85
    [user_answered_sms] => 85
    [27] => 45
    [user_busy_sms] => 45
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 186
    [user_failed_sms] => 186
    [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] => 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] => 1765042256
    [create_date] => 1765042256
    [40] => 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":1765082706,"compaign_read_start_time":1765082716,"compaign_read_complete_time":1765082718,"compaign_send_start_time":1765082761,"compaign_send_complete_time":1765082773}
    [action_time] => {"api_allot_time":1765082706,"compaign_read_start_time":1765082716,"compaign_read_complete_time":1765082718,"compaign_send_start_time":1765082761,"compaign_send_complete_time":1765082773}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81628_07122025_101505AM_600
    [common_name] => u607_81628_07122025_101505AM_600
    [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_68856
    [temp_group_table] => contacts_temp_group_68856
    [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] => 1765083002
    [reschedule_last_check_time] => 1765083002
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765083002
    [last_credit_update_time] => 1765083002
    [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":1765086300,"2":1765089900}
    [rt_time] => {"1":1765086300,"2":1765089900}
    [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 : 81628
\compaign_type : Rans per 30.26444 
ans sms 807
dnd sms 92

require answer perrequire answer per : 217

user answer per : 85
below is the redis data 132 /n/r
only no answer and busy will be convert, total number require 132 /n/r
UPDATE voice_compaign_detail_81628 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_81628 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 : 198 no_answer_count : 67 Busy count :51 congestion_count : 24 failed_count : 56UPDATE voice_compaign_detail_81628 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 67 UPDATE voice_compaign_detail_81628 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 51 UPDATE voice_compaign_detail_81628 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 24 UPDATE voice_compaign_detail_81628 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`='199', `user_busy_sms`='152', `user_congestion_sms`='24', `user_failed_sms`='172', `user_hangup_sms`='0', `user_no_answer_sms`='168', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='92' WHERE `compaign_id`=81628 LIMIT 1 


Time Diff : 0.337

Array
(
    [0] => 81629
    [compaign_id] => 81629
    [1] => u607
    [user_id] => u607
    [2] => 68857,
    [group_ids] => 68857,
    [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] => 1765082700
    [start_date] => 1765082700
    [9] => 0
    [end_date] => 0
    [10] => 518
    [total_sms] => 518
    [11] => 518
    [sent_sms] => 518
    [12] => 0
    [duplicate_sms] => 0
    [13] => 69
    [answered_sms] => 69
    [14] => 41
    [busy_sms] => 41
    [15] => 0
    [congestion_sms] => 0
    [16] => 99
    [failed_sms] => 99
    [17] => 0
    [hangup_sms] => 0
    [18] => 51
    [no_answer_sms] => 51
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 174
    [cutting_sms] => 174
    [22] => 84
    [dnd_sms] => 84
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 69
    [user_answered_sms] => 69
    [27] => 41
    [user_busy_sms] => 41
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 99
    [user_failed_sms] => 99
    [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] => 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] => 1765042503
    [create_date] => 1765042503
    [40] => 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":1765082706,"compaign_read_start_time":1765082719,"compaign_read_complete_time":1765082720,"compaign_send_start_time":1765082761,"compaign_send_complete_time":1765082772}
    [action_time] => {"api_allot_time":1765082706,"compaign_read_start_time":1765082719,"compaign_read_complete_time":1765082720,"compaign_send_start_time":1765082761,"compaign_send_complete_time":1765082772}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81629_07122025_101505AM_585
    [common_name] => u607_81629_07122025_101505AM_585
    [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_68857
    [temp_group_table] => contacts_temp_group_68857
    [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] => 1765083002
    [reschedule_last_check_time] => 1765083002
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765083002
    [last_credit_update_time] => 1765083002
    [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":1765086300,"2":1765089900}
    [rt_time] => {"1":1765086300,"2":1765089900}
    [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 : 81629
\compaign_type : Rans per 29.3814 
ans sms 518
dnd sms 84

require answer perrequire answer per : 128

user answer per : 69
below is the redis data 59 /n/r
only no answer and busy will be convert, total number require 59 /n/r
UPDATE voice_compaign_detail_81629 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 42 UPDATE voice_compaign_detail_81629 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 42 Total Failed : 124 no_answer_count : 42 Busy count :32 congestion_count : 15 failed_count : 35UPDATE voice_compaign_detail_81629 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 42 UPDATE voice_compaign_detail_81629 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 32 UPDATE voice_compaign_detail_81629 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 15 UPDATE voice_compaign_detail_81629 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`='89', `user_congestion_sms`='15', `user_failed_sms`='100', `user_hangup_sms`='0', `user_no_answer_sms`='102', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='84' WHERE `compaign_id`=81629 LIMIT 1 


Time Diff : 0.525

Array
(
    [0] => 81636
    [compaign_id] => 81636
    [1] => u607
    [user_id] => u607
    [2] => 68864,
    [group_ids] => 68864,
    [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] => 1765082700
    [start_date] => 1765082700
    [9] => 0
    [end_date] => 0
    [10] => 1299
    [total_sms] => 1299
    [11] => 1299
    [sent_sms] => 1299
    [12] => 0
    [duplicate_sms] => 0
    [13] => 145
    [answered_sms] => 145
    [14] => 75
    [busy_sms] => 75
    [15] => 0
    [congestion_sms] => 0
    [16] => 269
    [failed_sms] => 269
    [17] => 0
    [hangup_sms] => 0
    [18] => 105
    [no_answer_sms] => 105
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 517
    [cutting_sms] => 517
    [22] => 188
    [dnd_sms] => 188
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 145
    [user_answered_sms] => 145
    [27] => 75
    [user_busy_sms] => 75
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 269
    [user_failed_sms] => 269
    [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] => 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] => 1765043110
    [create_date] => 1765043110
    [40] => 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":1765082707,"compaign_read_start_time":1765082738,"compaign_read_complete_time":1765082740,"compaign_send_start_time":1765082762,"compaign_send_complete_time":1765082774}
    [action_time] => {"api_allot_time":1765082707,"compaign_read_start_time":1765082738,"compaign_read_complete_time":1765082740,"compaign_send_start_time":1765082762,"compaign_send_complete_time":1765082774}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81636_07122025_101506AM_887
    [common_name] => u607_81636_07122025_101506AM_887
    [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_68864
    [temp_group_table] => contacts_temp_group_68864
    [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] => 1765083002
    [reschedule_last_check_time] => 1765083002
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765083002
    [last_credit_update_time] => 1765083002
    [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":1765086300,"2":1765089900}
    [rt_time] => {"1":1765086300,"2":1765089900}
    [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 : 81636
\compaign_type : Rans per 29.29075 
ans sms 1299
dnd sms 188

require answer perrequire answer per : 326

user answer per : 145
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_81636 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 127 UPDATE voice_compaign_detail_81636 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 127 Total Failed : 350 no_answer_count : 117 Busy count :90 congestion_count : 42 failed_count : 101UPDATE voice_compaign_detail_81636 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 117 UPDATE voice_compaign_detail_81636 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 90 UPDATE voice_compaign_detail_81636 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 42 UPDATE voice_compaign_detail_81636 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`='325', `user_busy_sms`='217', `user_congestion_sms`='42', `user_failed_sms`='283', `user_hangup_sms`='0', `user_no_answer_sms`='244', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='188' WHERE `compaign_id`=81636 LIMIT 1 


Time Diff : 0.209

Array
(
    [0] => 81637
    [compaign_id] => 81637
    [1] => u607
    [user_id] => u607
    [2] => 68865,
    [group_ids] => 68865,
    [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] => 1765082700
    [start_date] => 1765082700
    [9] => 0
    [end_date] => 0
    [10] => 541
    [total_sms] => 541
    [11] => 541
    [sent_sms] => 541
    [12] => 0
    [duplicate_sms] => 0
    [13] => 76
    [answered_sms] => 76
    [14] => 36
    [busy_sms] => 36
    [15] => 0
    [congestion_sms] => 0
    [16] => 84
    [failed_sms] => 84
    [17] => 0
    [hangup_sms] => 0
    [18] => 78
    [no_answer_sms] => 78
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 195
    [cutting_sms] => 195
    [22] => 72
    [dnd_sms] => 72
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 76
    [user_answered_sms] => 76
    [27] => 36
    [user_busy_sms] => 36
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 84
    [user_failed_sms] => 84
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 78
    [user_no_answer_sms] => 78
    [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] => 1765043260
    [create_date] => 1765043260
    [40] => 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":1765082706,"compaign_read_start_time":1765082741,"compaign_read_complete_time":1765082742,"compaign_send_start_time":1765082762,"compaign_send_complete_time":1765082773}
    [action_time] => {"api_allot_time":1765082706,"compaign_read_start_time":1765082741,"compaign_read_complete_time":1765082742,"compaign_send_start_time":1765082762,"compaign_send_complete_time":1765082773}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81637_07122025_101506AM_213
    [common_name] => u607_81637_07122025_101506AM_213
    [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_68865
    [temp_group_table] => contacts_temp_group_68865
    [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] => 1765083002
    [reschedule_last_check_time] => 1765083002
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765083002
    [last_credit_update_time] => 1765083002
    [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":1765086300,"2":1765089900}
    [rt_time] => {"1":1765086300,"2":1765089900}
    [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 : 81637
\compaign_type : Rans per 30.58373 
ans sms 541
dnd sms 72

require answer perrequire answer per : 144

user answer per : 76
below is the redis data 68 /n/r
only no answer and busy will be convert, total number require 68 /n/r
UPDATE voice_compaign_detail_81637 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 51 UPDATE voice_compaign_detail_81637 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 51 Total Failed : 123 no_answer_count : 42 Busy count :32 congestion_count : 15 failed_count : 34UPDATE voice_compaign_detail_81637 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 42 UPDATE voice_compaign_detail_81637 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 32 UPDATE voice_compaign_detail_81637 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 15 UPDATE voice_compaign_detail_81637 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`='144', `user_busy_sms`='95', `user_congestion_sms`='15', `user_failed_sms`='88', `user_hangup_sms`='0', `user_no_answer_sms`='127', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='72' WHERE `compaign_id`=81637 LIMIT 1 


Time Diff : 0.501

Array
(
    [0] => 81639
    [compaign_id] => 81639
    [1] => u607
    [user_id] => u607
    [2] => 68867,
    [group_ids] => 68867,
    [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] => 1765082700
    [start_date] => 1765082700
    [9] => 0
    [end_date] => 0
    [10] => 1340
    [total_sms] => 1340
    [11] => 1340
    [sent_sms] => 1340
    [12] => 0
    [duplicate_sms] => 0
    [13] => 164
    [answered_sms] => 164
    [14] => 86
    [busy_sms] => 86
    [15] => 0
    [congestion_sms] => 0
    [16] => 161
    [failed_sms] => 161
    [17] => 0
    [hangup_sms] => 0
    [18] => 148
    [no_answer_sms] => 148
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 484
    [cutting_sms] => 484
    [22] => 297
    [dnd_sms] => 297
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 164
    [user_answered_sms] => 164
    [27] => 86
    [user_busy_sms] => 86
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 161
    [user_failed_sms] => 161
    [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] => 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] => 1765043480
    [create_date] => 1765043480
    [40] => 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":1765082707,"compaign_read_start_time":1765082747,"compaign_read_complete_time":1765082749,"compaign_send_start_time":1765082762,"compaign_send_complete_time":1765082774}
    [action_time] => {"api_allot_time":1765082707,"compaign_read_start_time":1765082747,"compaign_read_complete_time":1765082749,"compaign_send_start_time":1765082762,"compaign_send_complete_time":1765082774}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81639_07122025_101506AM_828
    [common_name] => u607_81639_07122025_101506AM_828
    [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_68867
    [temp_group_table] => contacts_temp_group_68867
    [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] => 1765083002
    [reschedule_last_check_time] => 1765083002
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765083002
    [last_credit_update_time] => 1765083002
    [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":1765086300,"2":1765089900}
    [rt_time] => {"1":1765086300,"2":1765089900}
    [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 : 81639
\compaign_type : Rans per 25.49177 
ans sms 1340
dnd sms 297

require answer perrequire answer per : 266

user answer per : 164
below is the redis data 102 /n/r
only no answer and busy will be convert, total number require 102 /n/r
UPDATE voice_compaign_detail_81639 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 78 UPDATE voice_compaign_detail_81639 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 78 Total Failed : 364 no_answer_count : 122 Busy count :94 congestion_count : 44 failed_count : 104UPDATE voice_compaign_detail_81639 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 122 UPDATE voice_compaign_detail_81639 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 94 UPDATE voice_compaign_detail_81639 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 44 UPDATE voice_compaign_detail_81639 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 104 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='266', `user_busy_sms`='221', `user_congestion_sms`='44', `user_failed_sms`='229', `user_hangup_sms`='0', `user_no_answer_sms`='283', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='297' WHERE `compaign_id`=81639 LIMIT 1 


Time Diff : 0.202

Array
(
    [0] => 81640
    [compaign_id] => 81640
    [1] => u607
    [user_id] => u607
    [2] => 68869,
    [group_ids] => 68869,
    [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] => 1765082700
    [start_date] => 1765082700
    [9] => 0
    [end_date] => 0
    [10] => 2197
    [total_sms] => 2197
    [11] => 2197
    [sent_sms] => 2197
    [12] => 0
    [duplicate_sms] => 0
    [13] => 249
    [answered_sms] => 249
    [14] => 114
    [busy_sms] => 114
    [15] => 0
    [congestion_sms] => 0
    [16] => 448
    [failed_sms] => 448
    [17] => 0
    [hangup_sms] => 0
    [18] => 157
    [no_answer_sms] => 157
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 1016
    [cutting_sms] => 1016
    [22] => 213
    [dnd_sms] => 213
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 249
    [user_answered_sms] => 249
    [27] => 114
    [user_busy_sms] => 114
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 448
    [user_failed_sms] => 448
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 157
    [user_no_answer_sms] => 157
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 213
    [user_dnd_sms] => 213
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u607
    [created_by] => u607
    [38] => 1
    [isScheduled] => 1
    [39] => 1765044013
    [create_date] => 1765044013
    [40] => 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":1765082707,"compaign_read_start_time":1765082750,"compaign_read_complete_time":1765082754,"compaign_send_start_time":1765082762,"compaign_send_complete_time":1765082776}
    [action_time] => {"api_allot_time":1765082707,"compaign_read_start_time":1765082750,"compaign_read_complete_time":1765082754,"compaign_send_start_time":1765082762,"compaign_send_complete_time":1765082776}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81640_07122025_101506AM_176
    [common_name] => u607_81640_07122025_101506AM_176
    [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_68869
    [temp_group_table] => contacts_temp_group_68869
    [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] => 1765083002
    [reschedule_last_check_time] => 1765083002
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765083002
    [last_credit_update_time] => 1765083002
    [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":1765086300,"2":1765089900}
    [rt_time] => {"1":1765086300,"2":1765089900}
    [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 : 81640
\compaign_type : Rans per 28.8565 
ans sms 2197
dnd sms 213

require answer perrequire answer per : 573

user answer per : 249
below is the redis data 324 /n/r
only no answer and busy will be convert, total number require 324 /n/r
UPDATE voice_compaign_detail_81640 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 231 UPDATE voice_compaign_detail_81640 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 231 Total Failed : 693 no_answer_count : 232 Busy count :178 congestion_count : 83 failed_count : 200UPDATE voice_compaign_detail_81640 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 232 UPDATE voice_compaign_detail_81640 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 178 UPDATE voice_compaign_detail_81640 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 83 UPDATE voice_compaign_detail_81640 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`='520', `user_busy_sms`='409', `user_congestion_sms`='83', `user_failed_sms`='509', `user_hangup_sms`='0', `user_no_answer_sms`='463', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='213' WHERE `compaign_id`=81640 LIMIT 1 


Time Diff : 0.122

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764823921'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764823982'  
Array
(
    [0] => 81625
    [compaign_id] => 81625
    [1] => u607
    [user_id] => u607
    [2] => 68852,
    [group_ids] => 68852,
    [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] => 1765082700
    [start_date] => 1765082700
    [9] => 0
    [end_date] => 0
    [10] => 891
    [total_sms] => 891
    [11] => 891
    [sent_sms] => 891
    [12] => 0
    [duplicate_sms] => 0
    [13] => 116
    [answered_sms] => 116
    [14] => 44
    [busy_sms] => 44
    [15] => 0
    [congestion_sms] => 0
    [16] => 133
    [failed_sms] => 133
    [17] => 0
    [hangup_sms] => 0
    [18] => 97
    [no_answer_sms] => 97
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 358
    [cutting_sms] => 358
    [22] => 143
    [dnd_sms] => 143
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 116
    [user_answered_sms] => 116
    [27] => 44
    [user_busy_sms] => 44
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 133
    [user_failed_sms] => 133
    [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] => 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] => 1765041849
    [create_date] => 1765041849
    [40] => 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":1765082771,"compaign_read_start_time":1765082821,"compaign_read_complete_time":1765082823,"compaign_send_start_time":1765082882,"compaign_send_complete_time":1765082888}
    [action_time] => {"api_allot_time":1765082771,"compaign_read_start_time":1765082821,"compaign_read_complete_time":1765082823,"compaign_send_start_time":1765082882,"compaign_send_complete_time":1765082888}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81625_07122025_101505AM_186
    [common_name] => u607_81625_07122025_101505AM_186
    [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_68852
    [temp_group_table] => contacts_temp_group_68852
    [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] => 1765083002
    [reschedule_last_check_time] => 1765083002
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765083123
    [last_credit_update_time] => 1765083123
    [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":1765086300,"2":1765089900}
    [rt_time] => {"1":1765086300,"2":1765089900}
    [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 : 81625
\compaign_type : Rans per 26.02691 
ans sms 891
dnd sms 143

require answer perrequire answer per : 195

user answer per : 116
below is the redis data 79 /n/r
only no answer and busy will be convert, total number require 79 /n/r
UPDATE voice_compaign_detail_81625 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 62 UPDATE voice_compaign_detail_81625 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 62 Total Failed : 264 no_answer_count : 89 Busy count :68 congestion_count : 32 failed_count : 75UPDATE voice_compaign_detail_81625 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 89 UPDATE voice_compaign_detail_81625 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 68 UPDATE voice_compaign_detail_81625 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 32 UPDATE voice_compaign_detail_81625 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`='195', `user_busy_sms`='144', `user_congestion_sms`='32', `user_failed_sms`='178', `user_hangup_sms`='0', `user_no_answer_sms`='199', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='143' WHERE `compaign_id`=81625 LIMIT 1 


Time Diff : 0.193

Array
(
    [0] => 81642
    [compaign_id] => 81642
    [1] => u607
    [user_id] => u607
    [2] => 68873,
    [group_ids] => 68873,
    [3] => 
    [sender_id] => 
    [4] => srinivasreddy_komireddypally.mp3
    [filename] => srinivasreddy_komireddypally.mp3
    [5] => 22
    [duration] => 22
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765082700
    [start_date] => 1765082700
    [9] => 0
    [end_date] => 0
    [10] => 739
    [total_sms] => 739
    [11] => 739
    [sent_sms] => 739
    [12] => 0
    [duplicate_sms] => 0
    [13] => 66
    [answered_sms] => 66
    [14] => 37
    [busy_sms] => 37
    [15] => 0
    [congestion_sms] => 0
    [16] => 231
    [failed_sms] => 231
    [17] => 0
    [hangup_sms] => 0
    [18] => 62
    [no_answer_sms] => 62
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 284
    [cutting_sms] => 284
    [22] => 59
    [dnd_sms] => 59
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 66
    [user_answered_sms] => 66
    [27] => 37
    [user_busy_sms] => 37
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 231
    [user_failed_sms] => 231
    [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] => 59
    [user_dnd_sms] => 59
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u607
    [created_by] => u607
    [38] => 1
    [isScheduled] => 1
    [39] => 1765044547
    [create_date] => 1765044547
    [40] => 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":1765082772,"compaign_read_start_time":1765082830,"compaign_read_complete_time":1765082832,"compaign_send_start_time":1765082882,"compaign_send_complete_time":1765082888}
    [action_time] => {"api_allot_time":1765082772,"compaign_read_start_time":1765082830,"compaign_read_complete_time":1765082832,"compaign_send_start_time":1765082882,"compaign_send_complete_time":1765082888}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81642_07122025_101506AM_527
    [common_name] => u607_81642_07122025_101506AM_527
    [52] => 1765044547_u607_voice.wav
    [voice_file] => 1765044547_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_68873
    [temp_group_table] => contacts_temp_group_68873
    [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] => 1765083002
    [reschedule_last_check_time] => 1765083002
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765083124
    [last_credit_update_time] => 1765083124
    [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":1765086300,"2":1765089900}
    [rt_time] => {"1":1765086300,"2":1765089900}
    [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 : 81642
\compaign_type : Rans per 28.1542 
ans sms 739
dnd sms 59

require answer perrequire answer per : 192

user answer per : 66
below is the redis data 126 /n/r
only no answer and busy will be convert, total number require 126 /n/r
UPDATE voice_compaign_detail_81642 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_81642 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 : 164 no_answer_count : 55 Busy count :43 congestion_count : 20 failed_count : 46UPDATE voice_compaign_detail_81642 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 55 UPDATE voice_compaign_detail_81642 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 43 UPDATE voice_compaign_detail_81642 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 20 UPDATE voice_compaign_detail_81642 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 46 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='165', `user_busy_sms`='144', `user_congestion_sms`='20', `user_failed_sms`='195', `user_hangup_sms`='0', `user_no_answer_sms`='156', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='59' WHERE `compaign_id`=81642 LIMIT 1 


Time Diff : 0.234

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764824041'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764824101'  
Array
(
    [0] => 81623
    [compaign_id] => 81623
    [1] => u607
    [user_id] => u607
    [2] => 68848,
    [group_ids] => 68848,
    [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] => 1765082700
    [start_date] => 1765082700
    [9] => 0
    [end_date] => 0
    [10] => 6995
    [total_sms] => 6995
    [11] => 6995
    [sent_sms] => 6995
    [12] => 0
    [duplicate_sms] => 0
    [13] => 536
    [answered_sms] => 536
    [14] => 352
    [busy_sms] => 352
    [15] => 2
    [congestion_sms] => 2
    [16] => 1557
    [failed_sms] => 1557
    [17] => 0
    [hangup_sms] => 0
    [18] => 415
    [no_answer_sms] => 415
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 3127
    [cutting_sms] => 3127
    [22] => 1006
    [dnd_sms] => 1006
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 536
    [user_answered_sms] => 536
    [27] => 352
    [user_busy_sms] => 352
    [28] => 2
    [user_congestion_sms] => 2
    [29] => 1557
    [user_failed_sms] => 1557
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 415
    [user_no_answer_sms] => 415
    [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] => 1765041336
    [create_date] => 1765041336
    [40] => 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":1765082706,"compaign_read_start_time":1765082707,"compaign_read_complete_time":1765082718,"compaign_send_start_time":1765082761,"compaign_send_complete_time":1765082784}
    [action_time] => {"api_allot_time":1765082706,"compaign_read_start_time":1765082707,"compaign_read_complete_time":1765082718,"compaign_send_start_time":1765082761,"compaign_send_complete_time":1765082784}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81623_07122025_101505AM_529
    [common_name] => u607_81623_07122025_101505AM_529
    [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_68848
    [temp_group_table] => contacts_temp_group_68848
    [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] => 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] => 1765083002
    [reschedule_last_check_time] => 1765083002
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765083241
    [last_credit_update_time] => 1765083241
    [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":1765086300,"2":1765089900}
    [rt_time] => {"1":1765086300,"2":1765089900}
    [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 : 81623
\compaign_type : Rans per 26.31601 
ans sms 6995
dnd sms 1006

require answer perrequire answer per : 1577

user answer per : 536
below is the redis data 1041 /n/r
only no answer and busy will be convert, total number require 1041 /n/r
UPDATE voice_compaign_detail_81623 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 812 UPDATE voice_compaign_detail_81623 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 812 Total Failed : 2065 no_answer_count : 689 Busy count :530 congestion_count : 246 failed_count : 600UPDATE voice_compaign_detail_81623 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 689 UPDATE voice_compaign_detail_81623 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 530 UPDATE voice_compaign_detail_81623 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 246 UPDATE voice_compaign_detail_81623 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 600 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='1303', `user_busy_sms`='1342', `user_congestion_sms`='248', `user_failed_sms`='1595', `user_hangup_sms`='0', `user_no_answer_sms`='1501', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='1006' WHERE `compaign_id`=81623 LIMIT 1 


Time Diff : 0.073

Array
(
    [0] => 81638
    [compaign_id] => 81638
    [1] => u607
    [user_id] => u607
    [2] => 68866,
    [group_ids] => 68866,
    [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] => 1765082700
    [start_date] => 1765082700
    [9] => 0
    [end_date] => 0
    [10] => 485
    [total_sms] => 485
    [11] => 485
    [sent_sms] => 485
    [12] => 0
    [duplicate_sms] => 0
    [13] => 90
    [answered_sms] => 90
    [14] => 20
    [busy_sms] => 20
    [15] => 0
    [congestion_sms] => 0
    [16] => 69
    [failed_sms] => 69
    [17] => 0
    [hangup_sms] => 0
    [18] => 66
    [no_answer_sms] => 66
    [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] => 90
    [user_answered_sms] => 90
    [27] => 20
    [user_busy_sms] => 20
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 69
    [user_failed_sms] => 69
    [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] => 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] => 1765043365
    [create_date] => 1765043365
    [40] => 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":1765082707,"compaign_read_start_time":1765082744,"compaign_read_complete_time":1765082745,"compaign_send_start_time":1765082762,"compaign_send_complete_time":1765082823}
    [action_time] => {"api_allot_time":1765082707,"compaign_read_start_time":1765082744,"compaign_read_complete_time":1765082745,"compaign_send_start_time":1765082762,"compaign_send_complete_time":1765082823}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81638_07122025_101506AM_706
    [common_name] => u607_81638_07122025_101506AM_706
    [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_68866
    [temp_group_table] => contacts_temp_group_68866
    [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] => 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] => 1765083002
    [reschedule_last_check_time] => 1765083002
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765083241
    [last_credit_update_time] => 1765083241
    [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":1765086300,"2":1765089900}
    [rt_time] => {"1":1765086300,"2":1765089900}
    [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 : 81638
\compaign_type : Rans per 30.04824 
ans sms 485
dnd sms 73

require answer perrequire answer per : 124

user answer per : 90
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_81638 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_81638 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 : 128 no_answer_count : 43 Busy count :33 congestion_count : 16 failed_count : 36UPDATE voice_compaign_detail_81638 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 43 UPDATE voice_compaign_detail_81638 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 33 UPDATE voice_compaign_detail_81638 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 16 UPDATE voice_compaign_detail_81638 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`='124', `user_busy_sms`='74', `user_congestion_sms`='16', `user_failed_sms`='88', `user_hangup_sms`='0', `user_no_answer_sms`='110', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='73' WHERE `compaign_id`=81638 LIMIT 1 


Time Diff : 0.625

Array
(
    [0] => 81656
    [compaign_id] => 81656
    [1] => sr31
    [user_id] => sr31
    [2] => 68883,
    [group_ids] => 68883,
    [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] => 1765082700
    [start_date] => 1765082700
    [9] => 0
    [end_date] => 0
    [10] => 141
    [total_sms] => 141
    [11] => 141
    [sent_sms] => 141
    [12] => 0
    [duplicate_sms] => 0
    [13] => 12
    [answered_sms] => 12
    [14] => 17
    [busy_sms] => 17
    [15] => 0
    [congestion_sms] => 0
    [16] => 15
    [failed_sms] => 15
    [17] => 0
    [hangup_sms] => 0
    [18] => 16
    [no_answer_sms] => 16
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 12
    [cutting_sms] => 12
    [22] => 69
    [dnd_sms] => 69
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 12
    [user_answered_sms] => 12
    [27] => 17
    [user_busy_sms] => 17
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 15
    [user_failed_sms] => 15
    [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] => 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] => 1765082222
    [create_date] => 1765082222
    [40] => 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":1765082707,"compaign_read_start_time":1765082761,"compaign_read_complete_time":1765082762,"compaign_send_start_time":1765082822,"compaign_send_complete_time":1765082823}
    [action_time] => {"api_allot_time":1765082707,"compaign_read_start_time":1765082761,"compaign_read_complete_time":1765082762,"compaign_send_start_time":1765082822,"compaign_send_complete_time":1765082823}
    [50] => 0
    [compaign_file] => 0
    [51] => sr31_81656_07122025_101506AM_301
    [common_name] => sr31_81656_07122025_101506AM_301
    [52] => 1765001395_sr31_voice.wav
    [voice_file] => 1765001395_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_68883
    [temp_group_table] => contacts_temp_group_68883
    [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] => 1765083241
    [last_credit_update_time] => 1765083241
    [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 : 81656
\compaign_type : Rans per 27.97577 
ans sms 141
dnd sms 69

require answer perrequire answer per : 21

user answer per : 12
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_81656 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_81656 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_81656 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 3 UPDATE voice_compaign_detail_81656 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 2 UPDATE voice_compaign_detail_81656 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 1 UPDATE voice_compaign_detail_81656 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`='21', `user_busy_sms`='23', `user_congestion_sms`='1', `user_failed_sms`='5', `user_hangup_sms`='0', `user_no_answer_sms`='22', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='69' WHERE `compaign_id`=81656 LIMIT 1 


Time Diff : 2.156

Array
(
    [0] => 81678
    [compaign_id] => 81678
    [1] => u680
    [user_id] => u680
    [2] => 68905,
    [group_ids] => 68905,
    [3] => 
    [sender_id] => 
    [4] => marigudem sathema bhalaiah.wav
    [filename] => marigudem sathema bhalaiah.wav
    [5] => 43
    [duration] => 43
    [6] => 2
    [credits_per_sms] => 2
    [7] => 30
    [user_pulse] => 30
    [8] => 1765082974
    [start_date] => 1765082974
    [9] => 0
    [end_date] => 0
    [10] => 142
    [total_sms] => 142
    [11] => 142
    [sent_sms] => 142
    [12] => 0
    [duplicate_sms] => 0
    [13] => 39
    [answered_sms] => 39
    [14] => 18
    [busy_sms] => 18
    [15] => 0
    [congestion_sms] => 0
    [16] => 22
    [failed_sms] => 22
    [17] => 0
    [hangup_sms] => 0
    [18] => 24
    [no_answer_sms] => 24
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 21
    [cutting_sms] => 21
    [22] => 18
    [dnd_sms] => 18
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 39
    [user_answered_sms] => 39
    [27] => 18
    [user_busy_sms] => 18
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 22
    [user_failed_sms] => 22
    [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] => 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] => 1765082973
    [create_date] => 1765082973
    [40] => 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":1765082980,"compaign_read_start_time":1765082980,"compaign_read_complete_time":1765082981,"compaign_send_start_time":1765083002,"compaign_send_complete_time":1765083003}
    [action_time] => {"api_allot_time":1765082980,"compaign_read_start_time":1765082980,"compaign_read_complete_time":1765082981,"compaign_send_start_time":1765083002,"compaign_send_complete_time":1765083003}
    [50] => 0
    [compaign_file] => 0
    [51] => u680_81678_07122025_101939AM_719
    [common_name] => u680_81678_07122025_101939AM_719
    [52] => 1765082973_u680_voice.wav
    [voice_file] => 1765082973_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_68905
    [temp_group_table] => contacts_temp_group_68905
    [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] => 1765083241
    [last_credit_update_time] => 1765083241
    [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 : 81678
\compaign_type : Rans per 27.54684 
ans sms 142
dnd sms 18

require answer perrequire answer per : 35

user answer per : 39
Total Failed : 21 no_answer_count : 8 Busy count :6 congestion_count : 3 failed_count : 4UPDATE voice_compaign_detail_81678 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 8 UPDATE voice_compaign_detail_81678 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 6 UPDATE voice_compaign_detail_81678 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 3 UPDATE voice_compaign_detail_81678 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`='39', `user_busy_sms`='24', `user_congestion_sms`='3', `user_failed_sms`='26', `user_hangup_sms`='0', `user_no_answer_sms`='32', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='18' WHERE `compaign_id`=81678 LIMIT 1 


Time Diff : 1.049

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764824161'  
Array
(
    [0] => 81683
    [compaign_id] => 81683
    [1] => u680
    [user_id] => u680
    [2] => 68909,
    [group_ids] => 68909,
    [3] => 
    [sender_id] => 
    [4] => marigudem sathema bhalaiah.wav
    [filename] => marigudem sathema bhalaiah.wav
    [5] => 43
    [duration] => 43
    [6] => 2
    [credits_per_sms] => 2
    [7] => 30
    [user_pulse] => 30
    [8] => 1765083034
    [start_date] => 1765083034
    [9] => 0
    [end_date] => 0
    [10] => 144
    [total_sms] => 144
    [11] => 144
    [sent_sms] => 144
    [12] => 0
    [duplicate_sms] => 0
    [13] => 27
    [answered_sms] => 27
    [14] => 14
    [busy_sms] => 14
    [15] => 0
    [congestion_sms] => 0
    [16] => 26
    [failed_sms] => 26
    [17] => 0
    [hangup_sms] => 0
    [18] => 35
    [no_answer_sms] => 35
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 20
    [cutting_sms] => 20
    [22] => 22
    [dnd_sms] => 22
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 27
    [user_answered_sms] => 27
    [27] => 14
    [user_busy_sms] => 14
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 26
    [user_failed_sms] => 26
    [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] => 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] => 1765083034
    [create_date] => 1765083034
    [40] => 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":1765083040,"compaign_read_start_time":1765083041,"compaign_read_complete_time":1765083041,"compaign_send_start_time":1765083061,"compaign_send_complete_time":1765083062}
    [action_time] => {"api_allot_time":1765083040,"compaign_read_start_time":1765083041,"compaign_read_complete_time":1765083041,"compaign_send_start_time":1765083061,"compaign_send_complete_time":1765083062}
    [50] => 0
    [compaign_file] => 0
    [51] => u680_81683_07122025_102040AM_198
    [common_name] => u680_81683_07122025_102040AM_198
    [52] => 1765083034_u680_voice.wav
    [voice_file] => 1765083034_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_68909
    [temp_group_table] => contacts_temp_group_68909
    [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] => 1765083301
    [last_credit_update_time] => 1765083301
    [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 : 81683
\compaign_type : Rans per 30.8985 
ans sms 144
dnd sms 22

require answer perrequire answer per : 38

user answer per : 27
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_81683 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_81683 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 : 13 no_answer_count : 5 Busy count :4 congestion_count : 2 failed_count : 2UPDATE voice_compaign_detail_81683 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 5 UPDATE voice_compaign_detail_81683 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 4 UPDATE voice_compaign_detail_81683 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 2 UPDATE voice_compaign_detail_81683 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`='38', `user_busy_sms`='25', `user_congestion_sms`='2', `user_failed_sms`='17', `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`=81683 LIMIT 1 


Time Diff : 1.389

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764824222'  
Array
(
    [0] => 81626
    [compaign_id] => 81626
    [1] => u607
    [user_id] => u607
    [2] => 68853,
    [group_ids] => 68853,
    [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] => 1765082700
    [start_date] => 1765082700
    [9] => 0
    [end_date] => 0
    [10] => 2437
    [total_sms] => 2437
    [11] => 2437
    [sent_sms] => 2437
    [12] => 0
    [duplicate_sms] => 0
    [13] => 256
    [answered_sms] => 256
    [14] => 156
    [busy_sms] => 156
    [15] => 0
    [congestion_sms] => 0
    [16] => 287
    [failed_sms] => 287
    [17] => 0
    [hangup_sms] => 0
    [18] => 278
    [no_answer_sms] => 278
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 873
    [cutting_sms] => 873
    [22] => 587
    [dnd_sms] => 587
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 256
    [user_answered_sms] => 256
    [27] => 156
    [user_busy_sms] => 156
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 287
    [user_failed_sms] => 287
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 278
    [user_no_answer_sms] => 278
    [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] => 1765041979
    [create_date] => 1765041979
    [40] => 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":1765082771,"compaign_read_start_time":1765082824,"compaign_read_complete_time":1765082829,"compaign_send_start_time":1765082882,"compaign_send_complete_time":1765082890}
    [action_time] => {"api_allot_time":1765082771,"compaign_read_start_time":1765082824,"compaign_read_complete_time":1765082829,"compaign_send_start_time":1765082882,"compaign_send_complete_time":1765082890}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81626_07122025_101505AM_305
    [common_name] => u607_81626_07122025_101505AM_305
    [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_68853
    [temp_group_table] => contacts_temp_group_68853
    [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] => 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] => 1765083303
    [reschedule_last_check_time] => 1765083303
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765083365
    [last_credit_update_time] => 1765083365
    [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":1765086300,"2":1765089900}
    [rt_time] => {"1":1765086300,"2":1765089900}
    [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 : 81626
\compaign_type : Rans per 30.78661 
ans sms 2437
dnd sms 587

require answer perrequire answer per : 570

user answer per : 256
below is the redis data 314 /n/r
only no answer and busy will be convert, total number require 314 /n/r
UPDATE voice_compaign_detail_81626 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_81626 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 : 523 no_answer_count : 175 Busy count :135 congestion_count : 63 failed_count : 150UPDATE voice_compaign_detail_81626 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 175 UPDATE voice_compaign_detail_81626 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 135 UPDATE voice_compaign_detail_81626 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 63 UPDATE voice_compaign_detail_81626 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 150 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='570', `user_busy_sms`='421', `user_congestion_sms`='63', `user_failed_sms`='315', `user_hangup_sms`='0', `user_no_answer_sms`='481', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='587' WHERE `compaign_id`=81626 LIMIT 1 


Time Diff : 0.169

Array
(
    [0] => 81635
    [compaign_id] => 81635
    [1] => u607
    [user_id] => u607
    [2] => 68863,
    [group_ids] => 68863,
    [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] => 1765082700
    [start_date] => 1765082700
    [9] => 0
    [end_date] => 0
    [10] => 1247
    [total_sms] => 1247
    [11] => 1247
    [sent_sms] => 1247
    [12] => 0
    [duplicate_sms] => 0
    [13] => 130
    [answered_sms] => 130
    [14] => 77
    [busy_sms] => 77
    [15] => 1
    [congestion_sms] => 1
    [16] => 229
    [failed_sms] => 229
    [17] => 0
    [hangup_sms] => 0
    [18] => 100
    [no_answer_sms] => 100
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 535
    [cutting_sms] => 535
    [22] => 175
    [dnd_sms] => 175
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 130
    [user_answered_sms] => 130
    [27] => 77
    [user_busy_sms] => 77
    [28] => 1
    [user_congestion_sms] => 1
    [29] => 229
    [user_failed_sms] => 229
    [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] => 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] => 1765042988
    [create_date] => 1765042988
    [40] => 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":1765082771,"compaign_read_start_time":1765082827,"compaign_read_complete_time":1765082830,"compaign_send_start_time":1765082882,"compaign_send_complete_time":1765082888}
    [action_time] => {"api_allot_time":1765082771,"compaign_read_start_time":1765082827,"compaign_read_complete_time":1765082830,"compaign_send_start_time":1765082882,"compaign_send_complete_time":1765082888}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81635_07122025_101506AM_730
    [common_name] => u607_81635_07122025_101506AM_730
    [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_68863
    [temp_group_table] => contacts_temp_group_68863
    [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] => 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] => 1765083302
    [reschedule_last_check_time] => 1765083302
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765083365
    [last_credit_update_time] => 1765083365
    [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":1765086300,"2":1765089900}
    [rt_time] => {"1":1765086300,"2":1765089900}
    [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 : 81635
\compaign_type : Rans per 28.7602 
ans sms 1247
dnd sms 175

require answer perrequire answer per : 309

user answer per : 130
below is the redis data 179 /n/r
only no answer and busy will be convert, total number require 179 /n/r
UPDATE voice_compaign_detail_81635 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 131 UPDATE voice_compaign_detail_81635 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 131 Total Failed : 354 no_answer_count : 119 Busy count :91 congestion_count : 43 failed_count : 101UPDATE voice_compaign_detail_81635 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 119 UPDATE voice_compaign_detail_81635 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 91 UPDATE voice_compaign_detail_81635 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 43 UPDATE voice_compaign_detail_81635 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`='307', `user_busy_sms`='222', `user_congestion_sms`='44', `user_failed_sms`='249', `user_hangup_sms`='0', `user_no_answer_sms`='250', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='175' WHERE `compaign_id`=81635 LIMIT 1 


Time Diff : 0.332

Array
(
    [0] => 81675
    [compaign_id] => 81675
    [1] => u29720
    [user_id] => u29720
    [2] => 68901,
    [group_ids] => 68901,
    [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] => 1765082829
    [start_date] => 1765082829
    [9] => 0
    [end_date] => 0
    [10] => 1730
    [total_sms] => 1730
    [11] => 1730
    [sent_sms] => 1730
    [12] => 0
    [duplicate_sms] => 0
    [13] => 180
    [answered_sms] => 180
    [14] => 115
    [busy_sms] => 115
    [15] => 1
    [congestion_sms] => 1
    [16] => 319
    [failed_sms] => 319
    [17] => 0
    [hangup_sms] => 0
    [18] => 123
    [no_answer_sms] => 123
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 647
    [cutting_sms] => 647
    [22] => 345
    [dnd_sms] => 345
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 180
    [user_answered_sms] => 180
    [27] => 115
    [user_busy_sms] => 115
    [28] => 1
    [user_congestion_sms] => 1
    [29] => 319
    [user_failed_sms] => 319
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 123
    [user_no_answer_sms] => 123
    [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] => 1765082829
    [create_date] => 1765082829
    [40] => 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":1765082836,"compaign_read_start_time":1765082851,"compaign_read_complete_time":1765082856,"compaign_send_start_time":1765082882,"compaign_send_complete_time":1765082889}
    [action_time] => {"api_allot_time":1765082836,"compaign_read_start_time":1765082851,"compaign_read_complete_time":1765082856,"compaign_send_start_time":1765082882,"compaign_send_complete_time":1765082889}
    [50] => 0
    [compaign_file] => 0
    [51] => u29720_81675_07122025_101715AM_535
    [common_name] => u29720_81675_07122025_101715AM_535
    [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_68901
    [temp_group_table] => contacts_temp_group_68901
    [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] => 1765083363
    [last_credit_update_time] => 1765083363
    [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 : 81675
\compaign_type : Rans per 25.12822 
ans sms 1730
dnd sms 345

require answer perrequire answer per : 349

user answer per : 180
below is the redis data 169 UPDATE voice_compaign_detail_81675 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 169 Total Failed : 479 no_answer_count : 160 Busy count :123 congestion_count : 57 failed_count : 139UPDATE voice_compaign_detail_81675 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 160 UPDATE voice_compaign_detail_81675 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 123 UPDATE voice_compaign_detail_81675 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 57 UPDATE voice_compaign_detail_81675 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`='349', `user_busy_sms`='238', `user_congestion_sms`='57', `user_failed_sms`='458', `user_hangup_sms`='0', `user_no_answer_sms`='283', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='345' WHERE `compaign_id`=81675 LIMIT 1 


Time Diff : 0.239

Array
(
    [0] => 81676
    [compaign_id] => 81676
    [1] => u29720
    [user_id] => u29720
    [2] => 68902,
    [group_ids] => 68902,
    [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] => 1765082830
    [start_date] => 1765082830
    [9] => 0
    [end_date] => 0
    [10] => 2109
    [total_sms] => 2109
    [11] => 2109
    [sent_sms] => 2109
    [12] => 0
    [duplicate_sms] => 0
    [13] => 224
    [answered_sms] => 224
    [14] => 159
    [busy_sms] => 159
    [15] => 0
    [congestion_sms] => 0
    [16] => 346
    [failed_sms] => 346
    [17] => 0
    [hangup_sms] => 0
    [18] => 168
    [no_answer_sms] => 168
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 781
    [cutting_sms] => 781
    [22] => 431
    [dnd_sms] => 431
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 224
    [user_answered_sms] => 224
    [27] => 159
    [user_busy_sms] => 159
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 346
    [user_failed_sms] => 346
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 168
    [user_no_answer_sms] => 168
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 431
    [user_dnd_sms] => 431
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29720
    [created_by] => u29720
    [38] => 0
    [isScheduled] => 0
    [39] => 1765082830
    [create_date] => 1765082830
    [40] => 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":1765082836,"compaign_read_start_time":1765082854,"compaign_read_complete_time":1765082858,"compaign_send_start_time":1765082882,"compaign_send_complete_time":1765082890}
    [action_time] => {"api_allot_time":1765082836,"compaign_read_start_time":1765082854,"compaign_read_complete_time":1765082858,"compaign_send_start_time":1765082882,"compaign_send_complete_time":1765082890}
    [50] => 0
    [compaign_file] => 0
    [51] => u29720_81676_07122025_101715AM_462
    [common_name] => u29720_81676_07122025_101715AM_462
    [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_68902
    [temp_group_table] => contacts_temp_group_68902
    [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] => 1765083364
    [last_credit_update_time] => 1765083364
    [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 : 81676
\compaign_type : Rans per 29.23362 
ans sms 2109
dnd sms 431

require answer perrequire answer per : 491

user answer per : 224
below is the redis data 267 UPDATE voice_compaign_detail_81676 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 267 Total Failed : 514 no_answer_count : 172 Busy count :132 congestion_count : 62 failed_count : 148UPDATE voice_compaign_detail_81676 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 172 UPDATE voice_compaign_detail_81676 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 132 UPDATE voice_compaign_detail_81676 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 62 UPDATE voice_compaign_detail_81676 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 148 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='491', `user_busy_sms`='291', `user_congestion_sms`='62', `user_failed_sms`='494', `user_hangup_sms`='0', `user_no_answer_sms`='340', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='431' WHERE `compaign_id`=81676 LIMIT 1 


Time Diff : 0.196

Array
(
    [0] => 81684
    [compaign_id] => 81684
    [1] => u371
    [user_id] => u371
    [2] => 68849,
    [group_ids] => 68849,
    [3] => 
    [sender_id] => 
    [4] => Mupgal CV S.mp3
    [filename] => Mupgal CV S.mp3
    [5] => 28
    [duration] => 28
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765083100
    [start_date] => 1765083100
    [9] => 0
    [end_date] => 0
    [10] => 752
    [total_sms] => 752
    [11] => 752
    [sent_sms] => 752
    [12] => 0
    [duplicate_sms] => 0
    [13] => 88
    [answered_sms] => 88
    [14] => 41
    [busy_sms] => 41
    [15] => 0
    [congestion_sms] => 0
    [16] => 199
    [failed_sms] => 199
    [17] => 0
    [hangup_sms] => 0
    [18] => 80
    [no_answer_sms] => 80
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 344
    [cutting_sms] => 344
    [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] => 41
    [user_busy_sms] => 41
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 199
    [user_failed_sms] => 199
    [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] => u371
    [created_by] => u371
    [38] => 0
    [isScheduled] => 0
    [39] => 1765083100
    [create_date] => 1765083100
    [40] => 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":1765083105,"compaign_read_start_time":1765083106,"compaign_read_complete_time":1765083107,"compaign_send_start_time":1765083122,"compaign_send_complete_time":1765083129}
    [action_time] => {"api_allot_time":1765083105,"compaign_read_start_time":1765083106,"compaign_read_complete_time":1765083107,"compaign_send_start_time":1765083122,"compaign_send_complete_time":1765083129}
    [50] => 0
    [compaign_file] => 0
    [51] => u371_81684_07122025_102145AM_586
    [common_name] => u371_81684_07122025_102145AM_586
    [52] => 1765083100_u371_voice.wav
    [voice_file] => 1765083100_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_68849
    [temp_group_table] => contacts_temp_group_68849
    [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] => 1765083362
    [last_credit_update_time] => 1765083362
    [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 : 81684
\compaign_type : Rans per 30.59028 
ans sms 752
dnd sms 0

require answer perrequire answer per : 231

user answer per : 88
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_81684 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 108 UPDATE voice_compaign_detail_81684 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 108 Total Failed : 215 no_answer_count : 72 Busy count :56 congestion_count : 26 failed_count : 61UPDATE voice_compaign_detail_81684 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 72 UPDATE voice_compaign_detail_81684 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 56 UPDATE voice_compaign_detail_81684 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 26 UPDATE voice_compaign_detail_81684 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`='209', `user_busy_sms`='164', `user_congestion_sms`='26', `user_failed_sms`='173', `user_hangup_sms`='0', `user_no_answer_sms`='180', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81684 LIMIT 1 


Time Diff : 0.34

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764824281'  
Array
(
    [0] => 81677
    [compaign_id] => 81677
    [1] => u680
    [user_id] => u680
    [2] => 68904,
    [group_ids] => 68904,
    [3] => 
    [sender_id] => 
    [4] => marigudem sathema bhalaiah.wav
    [filename] => marigudem sathema bhalaiah.wav
    [5] => 43
    [duration] => 43
    [6] => 2
    [credits_per_sms] => 2
    [7] => 30
    [user_pulse] => 30
    [8] => 1765082866
    [start_date] => 1765082866
    [9] => 0
    [end_date] => 0
    [10] => 149
    [total_sms] => 149
    [11] => 149
    [sent_sms] => 149
    [12] => 0
    [duplicate_sms] => 0
    [13] => 44
    [answered_sms] => 44
    [14] => 12
    [busy_sms] => 12
    [15] => 0
    [congestion_sms] => 0
    [16] => 22
    [failed_sms] => 22
    [17] => 0
    [hangup_sms] => 0
    [18] => 28
    [no_answer_sms] => 28
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 24
    [cutting_sms] => 24
    [22] => 19
    [dnd_sms] => 19
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 44
    [user_answered_sms] => 44
    [27] => 12
    [user_busy_sms] => 12
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 22
    [user_failed_sms] => 22
    [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] => 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] => 1765082866
    [create_date] => 1765082866
    [40] => 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":1765082883,"compaign_read_start_time":1765082885,"compaign_read_complete_time":1765082886,"compaign_send_start_time":1765082941,"compaign_send_complete_time":1765082942}
    [action_time] => {"api_allot_time":1765082883,"compaign_read_start_time":1765082885,"compaign_read_complete_time":1765082886,"compaign_send_start_time":1765082941,"compaign_send_complete_time":1765082942}
    [50] => 0
    [compaign_file] => 0
    [51] => u680_81677_07122025_101802AM_330
    [common_name] => u680_81677_07122025_101802AM_330
    [52] => 1765082866_u680_voice.wav
    [voice_file] => 1765082866_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_68904
    [temp_group_table] => contacts_temp_group_68904
    [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] => 1765083422
    [last_credit_update_time] => 1765083422
    [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 : 81677
\compaign_type : Rans per 26.67744 
ans sms 149
dnd sms 19

require answer perrequire answer per : 35

user answer per : 44
Total Failed : 24 no_answer_count : 9 Busy count :7 congestion_count : 3 failed_count : 5UPDATE voice_compaign_detail_81677 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 9 UPDATE voice_compaign_detail_81677 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 7 UPDATE voice_compaign_detail_81677 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 3 UPDATE voice_compaign_detail_81677 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`='44', `user_busy_sms`='19', `user_congestion_sms`='3', `user_failed_sms`='27', `user_hangup_sms`='0', `user_no_answer_sms`='37', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='19' WHERE `compaign_id`=81677 LIMIT 1 


Time Diff : 2.215

Array
(
    [0] => 81685
    [compaign_id] => 81685
    [1] => u680
    [user_id] => u680
    [2] => 68910,
    [group_ids] => 68910,
    [3] => 
    [sender_id] => 
    [4] => marigudem sathema bhalaiah.wav
    [filename] => marigudem sathema bhalaiah.wav
    [5] => 43
    [duration] => 43
    [6] => 2
    [credits_per_sms] => 2
    [7] => 30
    [user_pulse] => 30
    [8] => 1765083115
    [start_date] => 1765083115
    [9] => 0
    [end_date] => 0
    [10] => 142
    [total_sms] => 142
    [11] => 142
    [sent_sms] => 142
    [12] => 0
    [duplicate_sms] => 0
    [13] => 35
    [answered_sms] => 35
    [14] => 17
    [busy_sms] => 17
    [15] => 0
    [congestion_sms] => 0
    [16] => 31
    [failed_sms] => 31
    [17] => 0
    [hangup_sms] => 0
    [18] => 24
    [no_answer_sms] => 24
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 19
    [cutting_sms] => 19
    [22] => 16
    [dnd_sms] => 16
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 35
    [user_answered_sms] => 35
    [27] => 17
    [user_busy_sms] => 17
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 31
    [user_failed_sms] => 31
    [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] => 16
    [user_dnd_sms] => 16
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u680
    [created_by] => u680
    [38] => 0
    [isScheduled] => 0
    [39] => 1765083115
    [create_date] => 1765083115
    [40] => 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":1765083122,"compaign_read_start_time":1765083124,"compaign_read_complete_time":1765083125,"compaign_send_start_time":1765083182,"compaign_send_complete_time":1765083183}
    [action_time] => {"api_allot_time":1765083122,"compaign_read_start_time":1765083124,"compaign_read_complete_time":1765083125,"compaign_send_start_time":1765083182,"compaign_send_complete_time":1765083183}
    [50] => 0
    [compaign_file] => 0
    [51] => u680_81685_07122025_102202AM_610
    [common_name] => u680_81685_07122025_102202AM_610
    [52] => 1765083115_u680_voice.wav
    [voice_file] => 1765083115_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_68910
    [temp_group_table] => contacts_temp_group_68910
    [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] => 1765083422
    [last_credit_update_time] => 1765083422
    [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 : 81685
\compaign_type : Rans per 25.49415 
ans sms 142
dnd sms 16

require answer perrequire answer per : 33

user answer per : 35
Total Failed : 19 no_answer_count : 7 Busy count :5 congestion_count : 3 failed_count : 4UPDATE voice_compaign_detail_81685 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 7 UPDATE voice_compaign_detail_81685 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 5 UPDATE voice_compaign_detail_81685 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 3 UPDATE voice_compaign_detail_81685 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`='35', `user_busy_sms`='22', `user_congestion_sms`='3', `user_failed_sms`='35', `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`=81685 LIMIT 1 


Time Diff : 1.908

Array
(
    [0] => 81686
    [compaign_id] => 81686
    [1] => u29720
    [user_id] => u29720
    [2] => 68911,
    [group_ids] => 68911,
    [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] => 1765083128
    [start_date] => 1765083128
    [9] => 0
    [end_date] => 0
    [10] => 209
    [total_sms] => 209
    [11] => 209
    [sent_sms] => 209
    [12] => 0
    [duplicate_sms] => 0
    [13] => 15
    [answered_sms] => 15
    [14] => 24
    [busy_sms] => 24
    [15] => 0
    [congestion_sms] => 0
    [16] => 48
    [failed_sms] => 48
    [17] => 0
    [hangup_sms] => 0
    [18] => 27
    [no_answer_sms] => 27
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 33
    [cutting_sms] => 33
    [22] => 62
    [dnd_sms] => 62
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 15
    [user_answered_sms] => 15
    [27] => 24
    [user_busy_sms] => 24
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 48
    [user_failed_sms] => 48
    [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] => 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] => 1765083128
    [create_date] => 1765083128
    [40] => 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":1765083134,"compaign_read_start_time":1765083136,"compaign_read_complete_time":1765083137,"compaign_send_start_time":1765083182,"compaign_send_complete_time":1765083183}
    [action_time] => {"api_allot_time":1765083134,"compaign_read_start_time":1765083136,"compaign_read_complete_time":1765083137,"compaign_send_start_time":1765083182,"compaign_send_complete_time":1765083183}
    [50] => 0
    [compaign_file] => 0
    [51] => u29720_81686_07122025_102213AM_813
    [common_name] => u29720_81686_07122025_102213AM_813
    [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_68911
    [temp_group_table] => contacts_temp_group_68911
    [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] => 1765083422
    [last_credit_update_time] => 1765083422
    [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 : 81686
\compaign_type : Rans per 25.20116 
ans sms 209
dnd sms 62

require answer perrequire answer per : 38

user answer per : 15
below is the redis data 23 UPDATE voice_compaign_detail_81686 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 23 Total Failed : 10 no_answer_count : 4 Busy count :3 congestion_count : 2 failed_count : 1UPDATE voice_compaign_detail_81686 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 4 UPDATE voice_compaign_detail_81686 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 3 UPDATE voice_compaign_detail_81686 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 2 UPDATE voice_compaign_detail_81686 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`='38', `user_busy_sms`='27', `user_congestion_sms`='2', `user_failed_sms`='49', `user_hangup_sms`='0', `user_no_answer_sms`='31', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='62' WHERE `compaign_id`=81686 LIMIT 1 


Time Diff : 1.297

Array
(
    [0] => 81687
    [compaign_id] => 81687
    [1] => u29720
    [user_id] => u29720
    [2] => 68914,
    [group_ids] => 68914,
    [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] => 1765083129
    [start_date] => 1765083129
    [9] => 0
    [end_date] => 0
    [10] => 489
    [total_sms] => 489
    [11] => 489
    [sent_sms] => 489
    [12] => 0
    [duplicate_sms] => 0
    [13] => 39
    [answered_sms] => 39
    [14] => 54
    [busy_sms] => 54
    [15] => 0
    [congestion_sms] => 0
    [16] => 77
    [failed_sms] => 77
    [17] => 0
    [hangup_sms] => 0
    [18] => 35
    [no_answer_sms] => 35
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 147
    [cutting_sms] => 147
    [22] => 137
    [dnd_sms] => 137
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 39
    [user_answered_sms] => 39
    [27] => 54
    [user_busy_sms] => 54
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 77
    [user_failed_sms] => 77
    [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] => 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] => 1765083129
    [create_date] => 1765083129
    [40] => 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":1765083136,"compaign_read_start_time":1765083139,"compaign_read_complete_time":1765083140,"compaign_send_start_time":1765083182,"compaign_send_complete_time":1765083183}
    [action_time] => {"api_allot_time":1765083136,"compaign_read_start_time":1765083139,"compaign_read_complete_time":1765083140,"compaign_send_start_time":1765083182,"compaign_send_complete_time":1765083183}
    [50] => 0
    [compaign_file] => 0
    [51] => u29720_81687_07122025_102215AM_784
    [common_name] => u29720_81687_07122025_102215AM_784
    [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_68914
    [temp_group_table] => contacts_temp_group_68914
    [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] => 1765083422
    [last_credit_update_time] => 1765083422
    [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 : 81687
\compaign_type : Rans per 29.75752 
ans sms 489
dnd sms 137

require answer perrequire answer per : 105

user answer per : 39
below is the redis data 66 UPDATE voice_compaign_detail_81687 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 66 Total Failed : 81 no_answer_count : 28 Busy count :21 congestion_count : 10 failed_count : 22UPDATE voice_compaign_detail_81687 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 28 UPDATE voice_compaign_detail_81687 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 21 UPDATE voice_compaign_detail_81687 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 10 UPDATE voice_compaign_detail_81687 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`='105', `user_busy_sms`='75', `user_congestion_sms`='10', `user_failed_sms`='99', `user_hangup_sms`='0', `user_no_answer_sms`='63', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='137' WHERE `compaign_id`=81687 LIMIT 1 


Time Diff : 0.554

Array
(
    [0] => 81688
    [compaign_id] => 81688
    [1] => u29720
    [user_id] => u29720
    [2] => 68912,
    [group_ids] => 68912,
    [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] => 1765083131
    [start_date] => 1765083131
    [9] => 0
    [end_date] => 0
    [10] => 1015
    [total_sms] => 1015
    [11] => 1015
    [sent_sms] => 1015
    [12] => 0
    [duplicate_sms] => 0
    [13] => 51
    [answered_sms] => 51
    [14] => 73
    [busy_sms] => 73
    [15] => 0
    [congestion_sms] => 0
    [16] => 183
    [failed_sms] => 183
    [17] => 0
    [hangup_sms] => 0
    [18] => 82
    [no_answer_sms] => 82
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 327
    [cutting_sms] => 327
    [22] => 299
    [dnd_sms] => 299
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 51
    [user_answered_sms] => 51
    [27] => 73
    [user_busy_sms] => 73
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 183
    [user_failed_sms] => 183
    [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] => 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] => 1765083131
    [create_date] => 1765083131
    [40] => 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":1765083138,"compaign_read_start_time":1765083142,"compaign_read_complete_time":1765083144,"compaign_send_start_time":1765083182,"compaign_send_complete_time":1765083184}
    [action_time] => {"api_allot_time":1765083138,"compaign_read_start_time":1765083142,"compaign_read_complete_time":1765083144,"compaign_send_start_time":1765083182,"compaign_send_complete_time":1765083184}
    [50] => 0
    [compaign_file] => 0
    [51] => u29720_81688_07122025_102217AM_248
    [common_name] => u29720_81688_07122025_102217AM_248
    [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_68912
    [temp_group_table] => contacts_temp_group_68912
    [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] => 1765083422
    [last_credit_update_time] => 1765083422
    [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 : 81688
\compaign_type : Rans per 30.92121 
ans sms 1015
dnd sms 299

require answer perrequire answer per : 222

user answer per : 51
below is the redis data 171 UPDATE voice_compaign_detail_81688 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 171 Total Failed : 156 no_answer_count : 53 Busy count :41 congestion_count : 19 failed_count : 43UPDATE voice_compaign_detail_81688 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 53 UPDATE voice_compaign_detail_81688 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 41 UPDATE voice_compaign_detail_81688 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 19 UPDATE voice_compaign_detail_81688 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`='222', `user_busy_sms`='114', `user_congestion_sms`='19', `user_failed_sms`='226', `user_hangup_sms`='0', `user_no_answer_sms`='135', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='299' WHERE `compaign_id`=81688 LIMIT 1 


Time Diff : 0.266

Array
(
    [0] => 81689
    [compaign_id] => 81689
    [1] => u29720
    [user_id] => u29720
    [2] => 68913,
    [group_ids] => 68913,
    [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] => 1765083131
    [start_date] => 1765083131
    [9] => 0
    [end_date] => 0
    [10] => 1046
    [total_sms] => 1046
    [11] => 1046
    [sent_sms] => 1046
    [12] => 0
    [duplicate_sms] => 0
    [13] => 59
    [answered_sms] => 59
    [14] => 74
    [busy_sms] => 74
    [15] => 0
    [congestion_sms] => 0
    [16] => 139
    [failed_sms] => 139
    [17] => 0
    [hangup_sms] => 0
    [18] => 92
    [no_answer_sms] => 92
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 307
    [cutting_sms] => 307
    [22] => 375
    [dnd_sms] => 375
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 59
    [user_answered_sms] => 59
    [27] => 74
    [user_busy_sms] => 74
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 139
    [user_failed_sms] => 139
    [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] => 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] => 1765083131
    [create_date] => 1765083131
    [40] => 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":1765083138,"compaign_read_start_time":1765083145,"compaign_read_complete_time":1765083147,"compaign_send_start_time":1765083182,"compaign_send_complete_time":1765083184}
    [action_time] => {"api_allot_time":1765083138,"compaign_read_start_time":1765083145,"compaign_read_complete_time":1765083147,"compaign_send_start_time":1765083182,"compaign_send_complete_time":1765083184}
    [50] => 0
    [compaign_file] => 0
    [51] => u29720_81689_07122025_102217AM_929
    [common_name] => u29720_81689_07122025_102217AM_929
    [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_68913
    [temp_group_table] => contacts_temp_group_68913
    [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] => 1765083422
    [last_credit_update_time] => 1765083422
    [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 : 81689
\compaign_type : Rans per 30.98458 
ans sms 1046
dnd sms 375

require answer perrequire answer per : 208

user answer per : 59
below is the redis data 149 UPDATE voice_compaign_detail_81689 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 149 Total Failed : 158 no_answer_count : 53 Busy count :41 congestion_count : 19 failed_count : 45UPDATE voice_compaign_detail_81689 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 53 UPDATE voice_compaign_detail_81689 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 41 UPDATE voice_compaign_detail_81689 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 19 UPDATE voice_compaign_detail_81689 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`='208', `user_busy_sms`='115', `user_congestion_sms`='19', `user_failed_sms`='184', `user_hangup_sms`='0', `user_no_answer_sms`='145', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='375' WHERE `compaign_id`=81689 LIMIT 1 


Time Diff : 0.26

Array
(
    [0] => 81690
    [compaign_id] => 81690
    [1] => u29720
    [user_id] => u29720
    [2] => 68915,
    [group_ids] => 68915,
    [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] => 1765083131
    [start_date] => 1765083131
    [9] => 0
    [end_date] => 0
    [10] => 1052
    [total_sms] => 1052
    [11] => 1052
    [sent_sms] => 1052
    [12] => 0
    [duplicate_sms] => 0
    [13] => 60
    [answered_sms] => 60
    [14] => 95
    [busy_sms] => 95
    [15] => 0
    [congestion_sms] => 0
    [16] => 145
    [failed_sms] => 145
    [17] => 0
    [hangup_sms] => 0
    [18] => 132
    [no_answer_sms] => 132
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 330
    [cutting_sms] => 330
    [22] => 290
    [dnd_sms] => 290
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 60
    [user_answered_sms] => 60
    [27] => 95
    [user_busy_sms] => 95
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 145
    [user_failed_sms] => 145
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 132
    [user_no_answer_sms] => 132
    [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] => 1765083131
    [create_date] => 1765083131
    [40] => 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":1765083138,"compaign_read_start_time":1765083148,"compaign_read_complete_time":1765083152,"compaign_send_start_time":1765083182,"compaign_send_complete_time":1765083184}
    [action_time] => {"api_allot_time":1765083138,"compaign_read_start_time":1765083148,"compaign_read_complete_time":1765083152,"compaign_send_start_time":1765083182,"compaign_send_complete_time":1765083184}
    [50] => 0
    [compaign_file] => 0
    [51] => u29720_81690_07122025_102217AM_906
    [common_name] => u29720_81690_07122025_102217AM_906
    [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_68915
    [temp_group_table] => contacts_temp_group_68915
    [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] => 1765083422
    [last_credit_update_time] => 1765083422
    [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 : 81690
\compaign_type : Rans per 27.97639 
ans sms 1052
dnd sms 290

require answer perrequire answer per : 214

user answer per : 60
below is the redis data 154 UPDATE voice_compaign_detail_81690 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 154 Total Failed : 176 no_answer_count : 59 Busy count :46 congestion_count : 21 failed_count : 50UPDATE voice_compaign_detail_81690 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 59 UPDATE voice_compaign_detail_81690 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 46 UPDATE voice_compaign_detail_81690 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 21 UPDATE voice_compaign_detail_81690 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`='214', `user_busy_sms`='141', `user_congestion_sms`='21', `user_failed_sms`='195', `user_hangup_sms`='0', `user_no_answer_sms`='191', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='290' WHERE `compaign_id`=81690 LIMIT 1 


Time Diff : 0.257

Array
(
    [0] => 81691
    [compaign_id] => 81691
    [1] => u680
    [user_id] => u680
    [2] => 68916,
    [group_ids] => 68916,
    [3] => 
    [sender_id] => 
    [4] => marigudem sathema bhalaiah.wav
    [filename] => marigudem sathema bhalaiah.wav
    [5] => 43
    [duration] => 43
    [6] => 2
    [credits_per_sms] => 2
    [7] => 30
    [user_pulse] => 30
    [8] => 1765083194
    [start_date] => 1765083194
    [9] => 0
    [end_date] => 0
    [10] => 133
    [total_sms] => 133
    [11] => 133
    [sent_sms] => 133
    [12] => 0
    [duplicate_sms] => 0
    [13] => 22
    [answered_sms] => 22
    [14] => 18
    [busy_sms] => 18
    [15] => 0
    [congestion_sms] => 0
    [16] => 31
    [failed_sms] => 31
    [17] => 0
    [hangup_sms] => 0
    [18] => 29
    [no_answer_sms] => 29
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 14
    [cutting_sms] => 14
    [22] => 19
    [dnd_sms] => 19
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 22
    [user_answered_sms] => 22
    [27] => 18
    [user_busy_sms] => 18
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 31
    [user_failed_sms] => 31
    [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] => 1765083193
    [create_date] => 1765083193
    [40] => 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":1765083200,"compaign_read_start_time":1765083203,"compaign_read_complete_time":1765083203,"compaign_send_start_time":1765083241,"compaign_send_complete_time":1765083242}
    [action_time] => {"api_allot_time":1765083200,"compaign_read_start_time":1765083203,"compaign_read_complete_time":1765083203,"compaign_send_start_time":1765083241,"compaign_send_complete_time":1765083242}
    [50] => 0
    [compaign_file] => 0
    [51] => u680_81691_07122025_102320AM_643
    [common_name] => u680_81691_07122025_102320AM_643
    [52] => 1765083193_u680_voice.wav
    [voice_file] => 1765083193_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_68916
    [temp_group_table] => contacts_temp_group_68916
    [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] => 1765083422
    [last_credit_update_time] => 1765083422
    [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 : 81691
\compaign_type : Rans per 26.56811 
ans sms 133
dnd sms 19

require answer perrequire answer per : 31

user answer per : 22
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_81691 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_81691 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 : 8 no_answer_count : 3 Busy count :3 congestion_count : 1 failed_count : 1UPDATE voice_compaign_detail_81691 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 3 UPDATE voice_compaign_detail_81691 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 3 UPDATE voice_compaign_detail_81691 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 1 UPDATE voice_compaign_detail_81691 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`='31', `user_busy_sms`='24', `user_congestion_sms`='1', `user_failed_sms`='24', `user_hangup_sms`='0', `user_no_answer_sms`='34', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='19' WHERE `compaign_id`=81691 LIMIT 1 


Time Diff : 1.594

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764824341'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764824402'  
Array
(
    [0] => 81692
    [compaign_id] => 81692
    [1] => u680
    [user_id] => u680
    [2] => 68917,
    [group_ids] => 68917,
    [3] => 
    [sender_id] => 
    [4] => marigudem sathema bhalaiah.wav
    [filename] => marigudem sathema bhalaiah.wav
    [5] => 43
    [duration] => 43
    [6] => 2
    [credits_per_sms] => 2
    [7] => 30
    [user_pulse] => 30
    [8] => 1765083275
    [start_date] => 1765083275
    [9] => 0
    [end_date] => 0
    [10] => 129
    [total_sms] => 129
    [11] => 129
    [sent_sms] => 129
    [12] => 0
    [duplicate_sms] => 0
    [13] => 36
    [answered_sms] => 36
    [14] => 11
    [busy_sms] => 11
    [15] => 0
    [congestion_sms] => 0
    [16] => 20
    [failed_sms] => 20
    [17] => 0
    [hangup_sms] => 0
    [18] => 28
    [no_answer_sms] => 28
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 17
    [cutting_sms] => 17
    [22] => 17
    [dnd_sms] => 17
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 36
    [user_answered_sms] => 36
    [27] => 11
    [user_busy_sms] => 11
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 20
    [user_failed_sms] => 20
    [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] => 17
    [user_dnd_sms] => 17
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u680
    [created_by] => u680
    [38] => 0
    [isScheduled] => 0
    [39] => 1765083275
    [create_date] => 1765083275
    [40] => 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":1765083282,"compaign_read_start_time":1765083283,"compaign_read_complete_time":1765083283,"compaign_send_start_time":1765083301,"compaign_send_complete_time":1765083302}
    [action_time] => {"api_allot_time":1765083282,"compaign_read_start_time":1765083283,"compaign_read_complete_time":1765083283,"compaign_send_start_time":1765083301,"compaign_send_complete_time":1765083302}
    [50] => 0
    [compaign_file] => 0
    [51] => u680_81692_07122025_102441AM_931
    [common_name] => u680_81692_07122025_102441AM_931
    [52] => 1765083275_u680_voice.wav
    [voice_file] => 1765083275_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_68917
    [temp_group_table] => contacts_temp_group_68917
    [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] => 1765083542
    [last_credit_update_time] => 1765083542
    [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 : 81692
\compaign_type : Rans per 27.8499 
ans sms 129
dnd sms 17

require answer perrequire answer per : 32

user answer per : 36
Total Failed : 17 no_answer_count : 6 Busy count :5 congestion_count : 3 failed_count : 3UPDATE voice_compaign_detail_81692 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 6 UPDATE voice_compaign_detail_81692 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 5 UPDATE voice_compaign_detail_81692 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 3 UPDATE voice_compaign_detail_81692 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`='36', `user_busy_sms`='16', `user_congestion_sms`='3', `user_failed_sms`='23', `user_hangup_sms`='0', `user_no_answer_sms`='34', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='17' WHERE `compaign_id`=81692 LIMIT 1 


Time Diff : 2.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>'1764824461'  
Array
(
    [0] => 81695
    [compaign_id] => 81695
    [1] => u680
    [user_id] => u680
    [2] => 68918,
    [group_ids] => 68918,
    [3] => 
    [sender_id] => 
    [4] => marigudem sathema bhalaiah.wav
    [filename] => marigudem sathema bhalaiah.wav
    [5] => 43
    [duration] => 43
    [6] => 2
    [credits_per_sms] => 2
    [7] => 30
    [user_pulse] => 30
    [8] => 1765083374
    [start_date] => 1765083374
    [9] => 0
    [end_date] => 0
    [10] => 107
    [total_sms] => 107
    [11] => 107
    [sent_sms] => 107
    [12] => 0
    [duplicate_sms] => 0
    [13] => 32
    [answered_sms] => 32
    [14] => 16
    [busy_sms] => 16
    [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] => 5
    [cutting_sms] => 5
    [22] => 8
    [dnd_sms] => 8
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 32
    [user_answered_sms] => 32
    [27] => 16
    [user_busy_sms] => 16
    [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] => 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] => 1765083374
    [create_date] => 1765083374
    [40] => 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":1765083380,"compaign_read_start_time":1765083382,"compaign_read_complete_time":1765083383,"compaign_send_start_time":1765083422,"compaign_send_complete_time":1765083423}
    [action_time] => {"api_allot_time":1765083380,"compaign_read_start_time":1765083382,"compaign_read_complete_time":1765083383,"compaign_send_start_time":1765083422,"compaign_send_complete_time":1765083423}
    [50] => 0
    [compaign_file] => 0
    [51] => u680_81695_07122025_102619AM_634
    [common_name] => u680_81695_07122025_102619AM_634
    [52] => 1765083374_u680_voice.wav
    [voice_file] => 1765083374_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_68918
    [temp_group_table] => contacts_temp_group_68918
    [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] => 1765083661
    [last_credit_update_time] => 1765083661
    [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 : 81695
\compaign_type : Rans per 26.13063 
ans sms 107
dnd sms 8

require answer perrequire answer per : 26

user answer per : 32
Total Failed : 5 no_answer_count : 2 Busy count :2 congestion_count : 1 failed_count : 0UPDATE voice_compaign_detail_81695 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 2 UPDATE voice_compaign_detail_81695 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 2 UPDATE voice_compaign_detail_81695 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`='32', `user_busy_sms`='18', `user_congestion_sms`='1', `user_failed_sms`='17', `user_hangup_sms`='0', `user_no_answer_sms`='31', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='8' WHERE `compaign_id`=81695 LIMIT 1 


Time Diff : 1.972

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764824521'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764824582'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764824641'  
Array
(
    [0] => 81716
    [compaign_id] => 81716
    [1] => u680
    [user_id] => u680
    [2] => 68935,
    [group_ids] => 68935,
    [3] => 
    [sender_id] => 
    [4] => marigudem sathema bhalaiah.wav
    [filename] => marigudem sathema bhalaiah.wav
    [5] => 43
    [duration] => 43
    [6] => 2
    [credits_per_sms] => 2
    [7] => 30
    [user_pulse] => 30
    [8] => 1765083470
    [start_date] => 1765083470
    [9] => 0
    [end_date] => 0
    [10] => 144
    [total_sms] => 144
    [11] => 144
    [sent_sms] => 144
    [12] => 0
    [duplicate_sms] => 0
    [13] => 28
    [answered_sms] => 28
    [14] => 12
    [busy_sms] => 12
    [15] => 0
    [congestion_sms] => 0
    [16] => 44
    [failed_sms] => 44
    [17] => 0
    [hangup_sms] => 0
    [18] => 23
    [no_answer_sms] => 23
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 21
    [cutting_sms] => 21
    [22] => 16
    [dnd_sms] => 16
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 28
    [user_answered_sms] => 28
    [27] => 12
    [user_busy_sms] => 12
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 44
    [user_failed_sms] => 44
    [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] => 16
    [user_dnd_sms] => 16
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u680
    [created_by] => u680
    [38] => 0
    [isScheduled] => 0
    [39] => 1765083470
    [create_date] => 1765083470
    [40] => 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":1765083482,"compaign_read_start_time":1765083484,"compaign_read_complete_time":1765083485,"compaign_send_start_time":1765083543,"compaign_send_complete_time":1765083543}
    [action_time] => {"api_allot_time":1765083482,"compaign_read_start_time":1765083484,"compaign_read_complete_time":1765083485,"compaign_send_start_time":1765083543,"compaign_send_complete_time":1765083543}
    [50] => 0
    [compaign_file] => 0
    [51] => u680_81716_07122025_102801AM_268
    [common_name] => u680_81716_07122025_102801AM_268
    [52] => 1765083468_u680_voice.wav
    [voice_file] => 1765083468_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_68935
    [temp_group_table] => contacts_temp_group_68935
    [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] => 1765083783
    [last_credit_update_time] => 1765083783
    [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 : 81716
\compaign_type : Rans per 27.36106 
ans sms 144
dnd sms 16

require answer perrequire answer per : 36

user answer per : 28
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_81716 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_81716 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 : 19 no_answer_count : 7 Busy count :5 congestion_count : 3 failed_count : 4UPDATE voice_compaign_detail_81716 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 7 UPDATE voice_compaign_detail_81716 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 5 UPDATE voice_compaign_detail_81716 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 3 UPDATE voice_compaign_detail_81716 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`='36', `user_busy_sms`='20', `user_congestion_sms`='3', `user_failed_sms`='38', `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`=81716 LIMIT 1 


Time Diff : 1.875

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764824701'  
Array
(
    [0] => 81717
    [compaign_id] => 81717
    [1] => u680
    [user_id] => u680
    [2] => 68936,
    [group_ids] => 68936,
    [3] => 
    [sender_id] => 
    [4] => marigudem sathema bhalaiah.wav
    [filename] => marigudem sathema bhalaiah.wav
    [5] => 43
    [duration] => 43
    [6] => 2
    [credits_per_sms] => 2
    [7] => 30
    [user_pulse] => 30
    [8] => 1765083542
    [start_date] => 1765083542
    [9] => 0
    [end_date] => 0
    [10] => 63
    [total_sms] => 63
    [11] => 63
    [sent_sms] => 63
    [12] => 0
    [duplicate_sms] => 0
    [13] => 14
    [answered_sms] => 14
    [14] => 15
    [busy_sms] => 15
    [15] => 0
    [congestion_sms] => 0
    [16] => 16
    [failed_sms] => 16
    [17] => 0
    [hangup_sms] => 0
    [18] => 11
    [no_answer_sms] => 11
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 7
    [dnd_sms] => 7
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [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] => 11
    [user_no_answer_sms] => 11
    [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] => 1765083542
    [create_date] => 1765083542
    [40] => 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":1765083548,"compaign_read_start_time":1765083550,"compaign_read_complete_time":1765083550,"compaign_send_start_time":1765083602,"compaign_send_complete_time":1765083607}
    [action_time] => {"api_allot_time":1765083548,"compaign_read_start_time":1765083550,"compaign_read_complete_time":1765083550,"compaign_send_start_time":1765083602,"compaign_send_complete_time":1765083607}
    [50] => 0
    [compaign_file] => 0
    [51] => u680_81717_07122025_102907AM_678
    [common_name] => u680_81717_07122025_102907AM_678
    [52] => 1765083542_u680_voice.wav
    [voice_file] => 1765083542_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_68936
    [temp_group_table] => contacts_temp_group_68936
    [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] => 1765083841
    [last_credit_update_time] => 1765083841
    [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 : 81717
\compaign_type : Rans per 29.36191 
ans sms 63
dnd sms 7

require answer perrequire answer per : 17

user answer per : 14
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_81717 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_81717 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`='17', `user_busy_sms`='17', `user_congestion_sms`='0', `user_failed_sms`='10', `user_hangup_sms`='0', `user_no_answer_sms`='12', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='7' WHERE `compaign_id`=81717 LIMIT 1 


Time Diff : 4.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>'1764824761'  
Array
(
    [0] => 81718
    [compaign_id] => 81718
    [1] => u607
    [user_id] => u607
    [2] => 68937,
    [group_ids] => 68937,
    [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] => 1765083594
    [start_date] => 1765083594
    [9] => 0
    [end_date] => 0
    [10] => 2825
    [total_sms] => 2825
    [11] => 2825
    [sent_sms] => 2825
    [12] => 0
    [duplicate_sms] => 0
    [13] => 301
    [answered_sms] => 301
    [14] => 138
    [busy_sms] => 138
    [15] => 0
    [congestion_sms] => 0
    [16] => 547
    [failed_sms] => 547
    [17] => 0
    [hangup_sms] => 0
    [18] => 245
    [no_answer_sms] => 245
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 1198
    [cutting_sms] => 1198
    [22] => 396
    [dnd_sms] => 396
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 301
    [user_answered_sms] => 301
    [27] => 138
    [user_busy_sms] => 138
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 547
    [user_failed_sms] => 547
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 245
    [user_no_answer_sms] => 245
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 396
    [user_dnd_sms] => 396
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u607
    [created_by] => u607
    [38] => 0
    [isScheduled] => 0
    [39] => 1765083593
    [create_date] => 1765083593
    [40] => 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":1765083603,"compaign_read_start_time":1765083605,"compaign_read_complete_time":1765083610,"compaign_send_start_time":1765083662,"compaign_send_complete_time":1765083676}
    [action_time] => {"api_allot_time":1765083603,"compaign_read_start_time":1765083605,"compaign_read_complete_time":1765083610,"compaign_send_start_time":1765083662,"compaign_send_complete_time":1765083676}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81718_07122025_103002AM_921
    [common_name] => u607_81718_07122025_103002AM_921
    [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_68937
    [temp_group_table] => contacts_temp_group_68937
    [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] => 1765083902
    [reschedule_last_check_time] => 1765083902
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765083901
    [last_credit_update_time] => 1765083901
    [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":1765087200,"2":1765090800}
    [rt_time] => {"1":1765087200,"2":1765090800}
    [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 : 81718
\compaign_type : Rans per 26.14393 
ans sms 2825
dnd sms 396

require answer perrequire answer per : 636

user answer per : 301
below is the redis data 335 /n/r
only no answer and busy will be convert, total number require 335 /n/r
UPDATE voice_compaign_detail_81718 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 265 UPDATE voice_compaign_detail_81718 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 265 Total Failed : 820 no_answer_count : 274 Busy count :211 congestion_count : 98 failed_count : 237UPDATE voice_compaign_detail_81718 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 274 UPDATE voice_compaign_detail_81718 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 211 UPDATE voice_compaign_detail_81718 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 98 UPDATE voice_compaign_detail_81718 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`='636', `user_busy_sms`='494', `user_congestion_sms`='98', `user_failed_sms`='632', `user_hangup_sms`='0', `user_no_answer_sms`='569', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='396' WHERE `compaign_id`=81718 LIMIT 1 


Time Diff : 0.096

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764824822'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764824881'  
Array
(
    [0] => 81719
    [compaign_id] => 81719
    [1] => sr31
    [user_id] => sr31
    [2] => 68945,
    [group_ids] => 68945,
    [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] => 1765083600
    [start_date] => 1765083600
    [9] => 0
    [end_date] => 0
    [10] => 120
    [total_sms] => 120
    [11] => 120
    [sent_sms] => 120
    [12] => 0
    [duplicate_sms] => 0
    [13] => 4
    [answered_sms] => 4
    [14] => 19
    [busy_sms] => 19
    [15] => 0
    [congestion_sms] => 0
    [16] => 14
    [failed_sms] => 14
    [17] => 0
    [hangup_sms] => 0
    [18] => 8
    [no_answer_sms] => 8
    [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] => 4
    [user_answered_sms] => 4
    [27] => 19
    [user_busy_sms] => 19
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 14
    [user_failed_sms] => 14
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 8
    [user_no_answer_sms] => 8
    [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] => 1765083722
    [create_date] => 1765083722
    [40] => 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":1765083724,"compaign_read_start_time":1765083724,"compaign_read_complete_time":1765083725,"compaign_send_start_time":1765083782,"compaign_send_complete_time":1765083786}
    [action_time] => {"api_allot_time":1765083724,"compaign_read_start_time":1765083724,"compaign_read_complete_time":1765083725,"compaign_send_start_time":1765083782,"compaign_send_complete_time":1765083786}
    [50] => 0
    [compaign_file] => 0
    [51] => sr31_81719_07122025_103203AM_860
    [common_name] => sr31_81719_07122025_103203AM_860
    [52] => 1765001395_sr31_voice.wav
    [voice_file] => 1765001395_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_68945
    [temp_group_table] => contacts_temp_group_68945
    [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] => 1765084022
    [last_credit_update_time] => 1765084022
    [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 : 81719
\compaign_type : Rans per 28.23006 
ans sms 120
dnd sms 69

require answer perrequire answer per : 15

user answer per : 4
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_81719 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_81719 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 : 2 no_answer_count : 1 Busy count :1 congestion_count : 1 failed_count : -1UPDATE voice_compaign_detail_81719 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 1 UPDATE voice_compaign_detail_81719 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 1 UPDATE voice_compaign_detail_81719 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`='19', `user_congestion_sms`='0', `user_failed_sms`='2', `user_hangup_sms`='0', `user_no_answer_sms`='15', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='69' WHERE `compaign_id`=81719 LIMIT 1 


Time Diff : 2.25

Array
(
    [0] => 81721
    [compaign_id] => 81721
    [1] => u371
    [user_id] => u371
    [2] => 68939,
    [group_ids] => 68939,
    [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] => 1765083723
    [start_date] => 1765083723
    [9] => 0
    [end_date] => 0
    [10] => 471
    [total_sms] => 471
    [11] => 471
    [sent_sms] => 471
    [12] => 0
    [duplicate_sms] => 0
    [13] => 98
    [answered_sms] => 98
    [14] => 28
    [busy_sms] => 28
    [15] => 0
    [congestion_sms] => 0
    [16] => 111
    [failed_sms] => 111
    [17] => 0
    [hangup_sms] => 0
    [18] => 53
    [no_answer_sms] => 53
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 181
    [cutting_sms] => 181
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 98
    [user_answered_sms] => 98
    [27] => 28
    [user_busy_sms] => 28
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 111
    [user_failed_sms] => 111
    [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] => 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] => 1765083723
    [create_date] => 1765083723
    [40] => 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":1765083730,"compaign_read_start_time":1765083730,"compaign_read_complete_time":1765083731,"compaign_send_start_time":1765083782,"compaign_send_complete_time":1765083787}
    [action_time] => {"api_allot_time":1765083730,"compaign_read_start_time":1765083730,"compaign_read_complete_time":1765083731,"compaign_send_start_time":1765083782,"compaign_send_complete_time":1765083787}
    [50] => 0
    [compaign_file] => 0
    [51] => u371_81721_07122025_103209AM_327
    [common_name] => u371_81721_07122025_103209AM_327
    [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_68939
    [temp_group_table] => contacts_temp_group_68939
    [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] => 1765084022
    [last_credit_update_time] => 1765084022
    [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 : 81721
\compaign_type : Rans per 30.18162 
ans sms 471
dnd sms 0

require answer perrequire answer per : 143

user answer per : 98
below is the redis data 45 /n/r
only no answer and busy will be convert, total number require 45 /n/r
UPDATE voice_compaign_detail_81721 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_81721 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 : 135 no_answer_count : 46 Busy count :35 congestion_count : 17 failed_count : 37UPDATE voice_compaign_detail_81721 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 46 UPDATE voice_compaign_detail_81721 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 35 UPDATE voice_compaign_detail_81721 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 17 UPDATE voice_compaign_detail_81721 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`='143', `user_busy_sms`='81', `user_congestion_sms`='17', `user_failed_sms`='122', `user_hangup_sms`='0', `user_no_answer_sms`='108', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81721 LIMIT 1 


Time Diff : 0.537

Array
(
    [0] => 81722
    [compaign_id] => 81722
    [1] => u371
    [user_id] => u371
    [2] => 68938,
    [group_ids] => 68938,
    [3] => 
    [sender_id] => 
    [4] => Mupgal CV S.mp3
    [filename] => Mupgal CV S.mp3
    [5] => 28
    [duration] => 28
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765083724
    [start_date] => 1765083724
    [9] => 0
    [end_date] => 0
    [10] => 543
    [total_sms] => 543
    [11] => 543
    [sent_sms] => 543
    [12] => 0
    [duplicate_sms] => 0
    [13] => 51
    [answered_sms] => 51
    [14] => 26
    [busy_sms] => 26
    [15] => 0
    [congestion_sms] => 0
    [16] => 202
    [failed_sms] => 202
    [17] => 0
    [hangup_sms] => 0
    [18] => 38
    [no_answer_sms] => 38
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 226
    [cutting_sms] => 226
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 51
    [user_answered_sms] => 51
    [27] => 26
    [user_busy_sms] => 26
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 202
    [user_failed_sms] => 202
    [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] => u371
    [created_by] => u371
    [38] => 0
    [isScheduled] => 0
    [39] => 1765083724
    [create_date] => 1765083724
    [40] => 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":1765083730,"compaign_read_start_time":1765083733,"compaign_read_complete_time":1765083734,"compaign_send_start_time":1765083782,"compaign_send_complete_time":1765083787}
    [action_time] => {"api_allot_time":1765083730,"compaign_read_start_time":1765083733,"compaign_read_complete_time":1765083734,"compaign_send_start_time":1765083782,"compaign_send_complete_time":1765083787}
    [50] => 0
    [compaign_file] => 0
    [51] => u371_81722_07122025_103209AM_992
    [common_name] => u371_81722_07122025_103209AM_992
    [52] => 1765083100_u371_voice.wav
    [voice_file] => 1765083100_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_68938
    [temp_group_table] => contacts_temp_group_68938
    [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] => 1765084022
    [last_credit_update_time] => 1765084022
    [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 : 81722
\compaign_type : Rans per 30.73162 
ans sms 543
dnd sms 0

require answer perrequire answer per : 167

user answer per : 51
below is the redis data 116 /n/r
only no answer and busy will be convert, total number require 116 /n/r
UPDATE voice_compaign_detail_81722 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 83 UPDATE voice_compaign_detail_81722 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 83 Total Failed : 144 no_answer_count : 49 Busy count :37 congestion_count : 18 failed_count : 40UPDATE voice_compaign_detail_81722 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 49 UPDATE voice_compaign_detail_81722 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 37 UPDATE voice_compaign_detail_81722 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 18 UPDATE voice_compaign_detail_81722 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 40 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='115', `user_busy_sms`='120', `user_congestion_sms`='18', `user_failed_sms`='158', `user_hangup_sms`='0', `user_no_answer_sms`='132', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81722 LIMIT 1 


Time Diff : 0.466

Array
(
    [0] => 81724
    [compaign_id] => 81724
    [1] => u29720
    [user_id] => u29720
    [2] => 68940,
    [group_ids] => 68940,
    [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] => 1765083727
    [start_date] => 1765083727
    [9] => 0
    [end_date] => 0
    [10] => 1381
    [total_sms] => 1381
    [11] => 1381
    [sent_sms] => 1381
    [12] => 0
    [duplicate_sms] => 0
    [13] => 93
    [answered_sms] => 93
    [14] => 110
    [busy_sms] => 110
    [15] => 0
    [congestion_sms] => 0
    [16] => 283
    [failed_sms] => 283
    [17] => 0
    [hangup_sms] => 0
    [18] => 74
    [no_answer_sms] => 74
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 476
    [cutting_sms] => 476
    [22] => 345
    [dnd_sms] => 345
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 93
    [user_answered_sms] => 93
    [27] => 110
    [user_busy_sms] => 110
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 283
    [user_failed_sms] => 283
    [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] => 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] => 1765083727
    [create_date] => 1765083727
    [40] => 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":1765083734,"compaign_read_start_time":1765083736,"compaign_read_complete_time":1765083739,"compaign_send_start_time":1765083782,"compaign_send_complete_time":1765083788}
    [action_time] => {"api_allot_time":1765083734,"compaign_read_start_time":1765083736,"compaign_read_complete_time":1765083739,"compaign_send_start_time":1765083782,"compaign_send_complete_time":1765083788}
    [50] => 0
    [compaign_file] => 0
    [51] => u29720_81724_07122025_103213AM_174
    [common_name] => u29720_81724_07122025_103213AM_174
    [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_68940
    [temp_group_table] => contacts_temp_group_68940
    [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] => 1765084022
    [last_credit_update_time] => 1765084022
    [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 : 81724
\compaign_type : Rans per 29.95666 
ans sms 1381
dnd sms 345

require answer perrequire answer per : 311

user answer per : 93
below is the redis data 218 UPDATE voice_compaign_detail_81724 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 218 Total Failed : 258 no_answer_count : 87 Busy count :67 congestion_count : 31 failed_count : 73UPDATE voice_compaign_detail_81724 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 87 UPDATE voice_compaign_detail_81724 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 67 UPDATE voice_compaign_detail_81724 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 31 UPDATE voice_compaign_detail_81724 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 73 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='311', `user_busy_sms`='177', `user_congestion_sms`='31', `user_failed_sms`='356', `user_hangup_sms`='0', `user_no_answer_sms`='161', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='345' WHERE `compaign_id`=81724 LIMIT 1 


Time Diff : 0.196

Array
(
    [0] => 81725
    [compaign_id] => 81725
    [1] => u29720
    [user_id] => u29720
    [2] => 68941,
    [group_ids] => 68941,
    [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] => 1765083728
    [start_date] => 1765083728
    [9] => 0
    [end_date] => 0
    [10] => 1618
    [total_sms] => 1618
    [11] => 1618
    [sent_sms] => 1618
    [12] => 0
    [duplicate_sms] => 0
    [13] => 126
    [answered_sms] => 126
    [14] => 115
    [busy_sms] => 115
    [15] => 0
    [congestion_sms] => 0
    [16] => 248
    [failed_sms] => 248
    [17] => 0
    [hangup_sms] => 0
    [18] => 122
    [no_answer_sms] => 122
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 576
    [cutting_sms] => 576
    [22] => 431
    [dnd_sms] => 431
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 126
    [user_answered_sms] => 126
    [27] => 115
    [user_busy_sms] => 115
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 248
    [user_failed_sms] => 248
    [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] => 431
    [user_dnd_sms] => 431
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29720
    [created_by] => u29720
    [38] => 0
    [isScheduled] => 0
    [39] => 1765083728
    [create_date] => 1765083728
    [40] => 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":1765083734,"compaign_read_start_time":1765083739,"compaign_read_complete_time":1765083743,"compaign_send_start_time":1765083782,"compaign_send_complete_time":1765083788}
    [action_time] => {"api_allot_time":1765083734,"compaign_read_start_time":1765083739,"compaign_read_complete_time":1765083743,"compaign_send_start_time":1765083782,"compaign_send_complete_time":1765083788}
    [50] => 0
    [compaign_file] => 0
    [51] => u29720_81725_07122025_103213AM_834
    [common_name] => u29720_81725_07122025_103213AM_834
    [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_68941
    [temp_group_table] => contacts_temp_group_68941
    [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] => 1765084022
    [last_credit_update_time] => 1765084022
    [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 : 81725
\compaign_type : Rans per 26.66942 
ans sms 1618
dnd sms 431

require answer perrequire answer per : 317

user answer per : 126
below is the redis data 191 UPDATE voice_compaign_detail_81725 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 191 Total Failed : 385 no_answer_count : 129 Busy count :99 congestion_count : 46 failed_count : 111UPDATE voice_compaign_detail_81725 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 129 UPDATE voice_compaign_detail_81725 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 99 UPDATE voice_compaign_detail_81725 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 46 UPDATE voice_compaign_detail_81725 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`='317', `user_busy_sms`='214', `user_congestion_sms`='46', `user_failed_sms`='359', `user_hangup_sms`='0', `user_no_answer_sms`='251', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='431' WHERE `compaign_id`=81725 LIMIT 1 


Time Diff : 0.167

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764824942'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764825001'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764825061'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764825122'  
Array
(
    [0] => 81729
    [compaign_id] => 81729
    [1] => u29722
    [user_id] => u29722
    [2] => 68947,
    [group_ids] => 68947,
    [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] => 1765083945
    [start_date] => 1765083945
    [9] => 0
    [end_date] => 0
    [10] => 4121
    [total_sms] => 4121
    [11] => 4121
    [sent_sms] => 4121
    [12] => 0
    [duplicate_sms] => 0
    [13] => 394
    [answered_sms] => 394
    [14] => 197
    [busy_sms] => 197
    [15] => 0
    [congestion_sms] => 0
    [16] => 1282
    [failed_sms] => 1282
    [17] => 0
    [hangup_sms] => 0
    [18] => 274
    [no_answer_sms] => 274
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 1974
    [cutting_sms] => 1974
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 394
    [user_answered_sms] => 394
    [27] => 197
    [user_busy_sms] => 197
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1282
    [user_failed_sms] => 1282
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 274
    [user_no_answer_sms] => 274
    [32] => 0
    [user_timeout_duration_sms] => 0
    [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] => 1765083944
    [create_date] => 1765083944
    [40] => 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":1765083962,"compaign_read_start_time":1765083964,"compaign_read_complete_time":1765083970,"compaign_send_start_time":1765084022,"compaign_send_complete_time":1765084040}
    [action_time] => {"api_allot_time":1765083962,"compaign_read_start_time":1765083964,"compaign_read_complete_time":1765083970,"compaign_send_start_time":1765084022,"compaign_send_complete_time":1765084040}
    [50] => 0
    [compaign_file] => 0
    [51] => u29722_81729_07122025_103602AM_735
    [common_name] => u29722_81729_07122025_103602AM_735
    [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_68947
    [temp_group_table] => contacts_temp_group_68947
    [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] => 1765084261
    [last_credit_update_time] => 1765084261
    [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 : 81729
\compaign_type : Rans per 25.9388 
ans sms 4121
dnd sms 0

require answer perrequire answer per : 1069

user answer per : 394
below is the redis data 675 UPDATE voice_compaign_detail_81729 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 675 Total Failed : 1299 no_answer_count : 434 Busy count :334 congestion_count : 155 failed_count : 376UPDATE voice_compaign_detail_81729 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 434 UPDATE voice_compaign_detail_81729 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 334 UPDATE voice_compaign_detail_81729 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 155 UPDATE voice_compaign_detail_81729 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 376 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='1069', `user_busy_sms`='531', `user_congestion_sms`='155', `user_failed_sms`='1658', `user_hangup_sms`='0', `user_no_answer_sms`='708', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81729 LIMIT 1 


Time Diff : 0.066

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764825182'  
Array
(
    [0] => 81730
    [compaign_id] => 81730
    [1] => u83
    [user_id] => u83
    [2] => 68948,
    [group_ids] => 68948,
    [3] => 
    [sender_id] => 
    [4] => eddumail.mp3
    [filename] => eddumail.mp3
    [5] => 16
    [duration] => 16
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765084028
    [start_date] => 1765084028
    [9] => 0
    [end_date] => 0
    [10] => 664
    [total_sms] => 664
    [11] => 664
    [sent_sms] => 664
    [12] => 0
    [duplicate_sms] => 0
    [13] => 118
    [answered_sms] => 118
    [14] => 36
    [busy_sms] => 36
    [15] => 0
    [congestion_sms] => 0
    [16] => 84
    [failed_sms] => 84
    [17] => 0
    [hangup_sms] => 0
    [18] => 76
    [no_answer_sms] => 76
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 234
    [cutting_sms] => 234
    [22] => 116
    [dnd_sms] => 116
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 118
    [user_answered_sms] => 118
    [27] => 36
    [user_busy_sms] => 36
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 84
    [user_failed_sms] => 84
    [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] => 116
    [user_dnd_sms] => 116
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u83
    [created_by] => u83
    [38] => 0
    [isScheduled] => 0
    [39] => 1765084028
    [create_date] => 1765084028
    [40] => 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":1765084035,"compaign_read_start_time":1765084037,"compaign_read_complete_time":1765084038,"compaign_send_start_time":1765084081,"compaign_send_complete_time":1765084083}
    [action_time] => {"api_allot_time":1765084035,"compaign_read_start_time":1765084037,"compaign_read_complete_time":1765084038,"compaign_send_start_time":1765084081,"compaign_send_complete_time":1765084083}
    [50] => 0
    [compaign_file] => 0
    [51] => u83_81730_07122025_103714AM_247
    [common_name] => u83_81730_07122025_103714AM_247
    [52] => 1765002193_u83_voice.wav
    [voice_file] => 1765002193_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_68948
    [temp_group_table] => contacts_temp_group_68948
    [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] => 1765084322
    [last_credit_update_time] => 1765084322
    [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 : 81730
\compaign_type : Rans per 27.15936 
ans sms 664
dnd sms 116

require answer perrequire answer per : 149

user answer per : 118
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_81730 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_81730 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 : 199 no_answer_count : 67 Busy count :52 congestion_count : 24 failed_count : 56UPDATE voice_compaign_detail_81730 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 67 UPDATE voice_compaign_detail_81730 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 52 UPDATE voice_compaign_detail_81730 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 24 UPDATE voice_compaign_detail_81730 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`='149', `user_busy_sms`='105', `user_congestion_sms`='24', `user_failed_sms`='127', `user_hangup_sms`='0', `user_no_answer_sms`='143', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='116' WHERE `compaign_id`=81730 LIMIT 1 


Time Diff : 0.41

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764825241'  
Array
(
    [0] => 81735
    [compaign_id] => 81735
    [1] => u680
    [user_id] => u680
    [2] => 68950,
    [group_ids] => 68950,
    [3] => 
    [sender_id] => 
    [4] => kishtapuram Narsimha goud kiran.wav
    [filename] => kishtapuram Narsimha goud kiran.wav
    [5] => 32
    [duration] => 32
    [6] => 2
    [credits_per_sms] => 2
    [7] => 30
    [user_pulse] => 30
    [8] => 1765084148
    [start_date] => 1765084148
    [9] => 0
    [end_date] => 0
    [10] => 100
    [total_sms] => 100
    [11] => 100
    [sent_sms] => 100
    [12] => 0
    [duplicate_sms] => 0
    [13] => 44
    [answered_sms] => 44
    [14] => 14
    [busy_sms] => 14
    [15] => 0
    [congestion_sms] => 0
    [16] => 11
    [failed_sms] => 11
    [17] => 0
    [hangup_sms] => 0
    [18] => 28
    [no_answer_sms] => 28
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 3
    [dnd_sms] => 3
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 44
    [user_answered_sms] => 44
    [27] => 14
    [user_busy_sms] => 14
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 11
    [user_failed_sms] => 11
    [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] => 3
    [user_dnd_sms] => 3
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u680
    [created_by] => u680
    [38] => 0
    [isScheduled] => 0
    [39] => 1765084148
    [create_date] => 1765084148
    [40] => 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":1765084154,"compaign_read_start_time":1765084157,"compaign_read_complete_time":1765084157,"compaign_send_start_time":1765084201,"compaign_send_complete_time":1765084202}
    [action_time] => {"api_allot_time":1765084154,"compaign_read_start_time":1765084157,"compaign_read_complete_time":1765084157,"compaign_send_start_time":1765084201,"compaign_send_complete_time":1765084202}
    [50] => 0
    [compaign_file] => 0
    [51] => u680_81735_07122025_103914AM_354
    [common_name] => u680_81735_07122025_103914AM_354
    [52] => 1765084148_u680_voice.wav
    [voice_file] => 1765084148_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_68950
    [temp_group_table] => contacts_temp_group_68950
    [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] => 1765084382
    [last_credit_update_time] => 1765084382
    [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 : 81735
\compaign_type : Rans per 29.01615 
ans sms 100
dnd sms 3

require answer perrequire answer per : 29

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


 Blank User Record End

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


Time Diff : 2.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>'1764825301'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764825361'  
Array
(
    [0] => 81736
    [compaign_id] => 81736
    [1] => u680
    [user_id] => u680
    [2] => 68951,
    [group_ids] => 68951,
    [3] => 
    [sender_id] => 
    [4] => kishtapuram Narsimha goud kiran.wav
    [filename] => kishtapuram Narsimha goud kiran.wav
    [5] => 32
    [duration] => 32
    [6] => 2
    [credits_per_sms] => 2
    [7] => 30
    [user_pulse] => 30
    [8] => 1765084224
    [start_date] => 1765084224
    [9] => 0
    [end_date] => 0
    [10] => 170
    [total_sms] => 170
    [11] => 170
    [sent_sms] => 170
    [12] => 0
    [duplicate_sms] => 0
    [13] => 54
    [answered_sms] => 54
    [14] => 26
    [busy_sms] => 26
    [15] => 0
    [congestion_sms] => 0
    [16] => 17
    [failed_sms] => 17
    [17] => 0
    [hangup_sms] => 0
    [18] => 32
    [no_answer_sms] => 32
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 26
    [cutting_sms] => 26
    [22] => 15
    [dnd_sms] => 15
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 54
    [user_answered_sms] => 54
    [27] => 26
    [user_busy_sms] => 26
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 17
    [user_failed_sms] => 17
    [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] => 15
    [user_dnd_sms] => 15
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u680
    [created_by] => u680
    [38] => 0
    [isScheduled] => 0
    [39] => 1765084224
    [create_date] => 1765084224
    [40] => 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":1765084230,"compaign_read_start_time":1765084231,"compaign_read_complete_time":1765084232,"compaign_send_start_time":1765084262,"compaign_send_complete_time":1765084262}
    [action_time] => {"api_allot_time":1765084230,"compaign_read_start_time":1765084231,"compaign_read_complete_time":1765084232,"compaign_send_start_time":1765084262,"compaign_send_complete_time":1765084262}
    [50] => 0
    [compaign_file] => 0
    [51] => u680_81736_07122025_104029AM_680
    [common_name] => u680_81736_07122025_104029AM_680
    [52] => 1765084224_u680_voice.wav
    [voice_file] => 1765084224_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_68951
    [temp_group_table] => contacts_temp_group_68951
    [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] => 1765084501
    [last_credit_update_time] => 1765084501
    [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 : 81736
\compaign_type : Rans per 27.0464 
ans sms 170
dnd sms 15

require answer perrequire answer per : 42

user answer per : 54
Total Failed : 26 no_answer_count : 9 Busy count :7 congestion_count : 4 failed_count : 6UPDATE voice_compaign_detail_81736 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 9 UPDATE voice_compaign_detail_81736 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 7 UPDATE voice_compaign_detail_81736 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 4 UPDATE voice_compaign_detail_81736 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`='54', `user_busy_sms`='33', `user_congestion_sms`='4', `user_failed_sms`='23', `user_hangup_sms`='0', `user_no_answer_sms`='41', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='15' WHERE `compaign_id`=81736 LIMIT 1 


Time Diff : 1.594

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764825422'  
Array
(
    [0] => 81737
    [compaign_id] => 81737
    [1] => u680
    [user_id] => u680
    [2] => 68952,
    [group_ids] => 68952,
    [3] => 
    [sender_id] => 
    [4] => kishtapuram Narsimha goud kiran.wav
    [filename] => kishtapuram Narsimha goud kiran.wav
    [5] => 32
    [duration] => 32
    [6] => 2
    [credits_per_sms] => 2
    [7] => 30
    [user_pulse] => 30
    [8] => 1765084277
    [start_date] => 1765084277
    [9] => 0
    [end_date] => 0
    [10] => 133
    [total_sms] => 133
    [11] => 133
    [sent_sms] => 133
    [12] => 0
    [duplicate_sms] => 0
    [13] => 38
    [answered_sms] => 38
    [14] => 14
    [busy_sms] => 14
    [15] => 0
    [congestion_sms] => 0
    [16] => 9
    [failed_sms] => 9
    [17] => 0
    [hangup_sms] => 0
    [18] => 28
    [no_answer_sms] => 28
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 18
    [cutting_sms] => 18
    [22] => 26
    [dnd_sms] => 26
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 38
    [user_answered_sms] => 38
    [27] => 14
    [user_busy_sms] => 14
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 9
    [user_failed_sms] => 9
    [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] => 26
    [user_dnd_sms] => 26
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u680
    [created_by] => u680
    [38] => 0
    [isScheduled] => 0
    [39] => 1765084277
    [create_date] => 1765084277
    [40] => 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":1765084284,"compaign_read_start_time":1765084285,"compaign_read_complete_time":1765084286,"compaign_send_start_time":1765084322,"compaign_send_complete_time":1765084323}
    [action_time] => {"api_allot_time":1765084284,"compaign_read_start_time":1765084285,"compaign_read_complete_time":1765084286,"compaign_send_start_time":1765084322,"compaign_send_complete_time":1765084323}
    [50] => 0
    [compaign_file] => 0
    [51] => u680_81737_07122025_104123AM_601
    [common_name] => u680_81737_07122025_104123AM_601
    [52] => 1765084277_u680_voice.wav
    [voice_file] => 1765084277_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_68952
    [temp_group_table] => contacts_temp_group_68952
    [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] => 1765084561
    [last_credit_update_time] => 1765084561
    [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 : 81737
\compaign_type : Rans per 28.75067 
ans sms 133
dnd sms 26

require answer perrequire answer per : 31

user answer per : 38
Total Failed : 18 no_answer_count : 7 Busy count :5 congestion_count : 3 failed_count : 3UPDATE voice_compaign_detail_81737 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 7 UPDATE voice_compaign_detail_81737 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 5 UPDATE voice_compaign_detail_81737 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 3 UPDATE voice_compaign_detail_81737 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`='38', `user_busy_sms`='19', `user_congestion_sms`='3', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='35', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='26' WHERE `compaign_id`=81737 LIMIT 1 


Time Diff : 2.045

Array
(
    [0] => 81743
    [compaign_id] => 81743
    [1] => u680
    [user_id] => u680
    [2] => 68959,
    [group_ids] => 68959,
    [3] => 
    [sender_id] => 
    [4] => kishtapuram Narsimha goud kiran.wav
    [filename] => kishtapuram Narsimha goud kiran.wav
    [5] => 32
    [duration] => 32
    [6] => 2
    [credits_per_sms] => 2
    [7] => 30
    [user_pulse] => 30
    [8] => 1765084325
    [start_date] => 1765084325
    [9] => 0
    [end_date] => 0
    [10] => 68
    [total_sms] => 68
    [11] => 68
    [sent_sms] => 68
    [12] => 0
    [duplicate_sms] => 0
    [13] => 22
    [answered_sms] => 22
    [14] => 13
    [busy_sms] => 13
    [15] => 0
    [congestion_sms] => 0
    [16] => 8
    [failed_sms] => 8
    [17] => 0
    [hangup_sms] => 0
    [18] => 12
    [no_answer_sms] => 12
    [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] => 22
    [user_answered_sms] => 22
    [27] => 13
    [user_busy_sms] => 13
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 8
    [user_failed_sms] => 8
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 12
    [user_no_answer_sms] => 12
    [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] => 1765084325
    [create_date] => 1765084325
    [40] => 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":1765084330,"compaign_read_start_time":1765084346,"compaign_read_complete_time":1765084346,"compaign_send_start_time":1765084382,"compaign_send_complete_time":1765084383}
    [action_time] => {"api_allot_time":1765084330,"compaign_read_start_time":1765084346,"compaign_read_complete_time":1765084346,"compaign_send_start_time":1765084382,"compaign_send_complete_time":1765084383}
    [50] => 0
    [compaign_file] => 0
    [51] => u680_81743_07122025_104210AM_502
    [common_name] => u680_81743_07122025_104210AM_502
    [52] => 1765084325_u680_voice.wav
    [voice_file] => 1765084325_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_68959
    [temp_group_table] => contacts_temp_group_68959
    [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] => 1765084622
    [last_credit_update_time] => 1765084622
    [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 : 81743
\compaign_type : Rans per 30.59783 
ans sms 68
dnd sms 13

require answer perrequire answer per : 17

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`='13', `user_congestion_sms`='0', `user_failed_sms`='8', `user_hangup_sms`='0', `user_no_answer_sms`='12', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='13' WHERE `compaign_id`=81743 LIMIT 1 


Time Diff : 3.118

Array
(
    [0] => 81746
    [compaign_id] => 81746
    [1] => u83
    [user_id] => u83
    [2] => 68961,
    [group_ids] => 68961,
    [3] => 
    [sender_id] => 
    [4] => eddumail.mp3
    [filename] => eddumail.mp3
    [5] => 16
    [duration] => 16
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765084372
    [start_date] => 1765084372
    [9] => 0
    [end_date] => 0
    [10] => 586
    [total_sms] => 586
    [11] => 586
    [sent_sms] => 586
    [12] => 0
    [duplicate_sms] => 0
    [13] => 57
    [answered_sms] => 57
    [14] => 53
    [busy_sms] => 53
    [15] => 0
    [congestion_sms] => 0
    [16] => 75
    [failed_sms] => 75
    [17] => 0
    [hangup_sms] => 0
    [18] => 77
    [no_answer_sms] => 77
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 171
    [cutting_sms] => 171
    [22] => 153
    [dnd_sms] => 153
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 57
    [user_answered_sms] => 57
    [27] => 53
    [user_busy_sms] => 53
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 75
    [user_failed_sms] => 75
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 77
    [user_no_answer_sms] => 77
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 153
    [user_dnd_sms] => 153
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u83
    [created_by] => u83
    [38] => 0
    [isScheduled] => 0
    [39] => 1765084371
    [create_date] => 1765084371
    [40] => 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":1765084382,"compaign_read_start_time":1765084385,"compaign_read_complete_time":1765084386,"compaign_send_start_time":1765084441,"compaign_send_complete_time":1765084450}
    [action_time] => {"api_allot_time":1765084382,"compaign_read_start_time":1765084385,"compaign_read_complete_time":1765084386,"compaign_send_start_time":1765084441,"compaign_send_complete_time":1765084450}
    [50] => 0
    [compaign_file] => 0
    [51] => u83_81746_07122025_104302AM_229
    [common_name] => u83_81746_07122025_104302AM_229
    [52] => 1765002193_u83_voice.wav
    [voice_file] => 1765002193_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_68961
    [temp_group_table] => contacts_temp_group_68961
    [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] => 1765084622
    [last_credit_update_time] => 1765084622
    [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 : 81746
\compaign_type : Rans per 26.89566 
ans sms 586
dnd sms 153

require answer perrequire answer per : 117

user answer per : 57
below is the redis data 60 /n/r
only no answer and busy will be convert, total number require 60 /n/r
UPDATE voice_compaign_detail_81746 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_81746 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 : 109 no_answer_count : 37 Busy count :28 congestion_count : 13 failed_count : 31UPDATE voice_compaign_detail_81746 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 37 UPDATE voice_compaign_detail_81746 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 28 UPDATE voice_compaign_detail_81746 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 13 UPDATE voice_compaign_detail_81746 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`='117', `user_busy_sms`='99', `user_congestion_sms`='13', `user_failed_sms`='80', `user_hangup_sms`='0', `user_no_answer_sms`='124', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='153' WHERE `compaign_id`=81746 LIMIT 1 


Time Diff : 0.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>'1764825481'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764825542'  
Array
(
    [0] => 81748
    [compaign_id] => 81748
    [1] => u83
    [user_id] => u83
    [2] => 68962,
    [group_ids] => 68962,
    [3] => 
    [sender_id] => 
    [4] => eddumail.mp3
    [filename] => eddumail.mp3
    [5] => 16
    [duration] => 16
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765084436
    [start_date] => 1765084436
    [9] => 0
    [end_date] => 0
    [10] => 704
    [total_sms] => 704
    [11] => 704
    [sent_sms] => 704
    [12] => 0
    [duplicate_sms] => 0
    [13] => 61
    [answered_sms] => 61
    [14] => 46
    [busy_sms] => 46
    [15] => 0
    [congestion_sms] => 0
    [16] => 110
    [failed_sms] => 110
    [17] => 0
    [hangup_sms] => 0
    [18] => 73
    [no_answer_sms] => 73
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 235
    [cutting_sms] => 235
    [22] => 179
    [dnd_sms] => 179
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 61
    [user_answered_sms] => 61
    [27] => 46
    [user_busy_sms] => 46
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 110
    [user_failed_sms] => 110
    [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] => 179
    [user_dnd_sms] => 179
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u83
    [created_by] => u83
    [38] => 0
    [isScheduled] => 0
    [39] => 1765084436
    [create_date] => 1765084436
    [40] => 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":1765084442,"compaign_read_start_time":1765084444,"compaign_read_complete_time":1765084446,"compaign_send_start_time":1765084501,"compaign_send_complete_time":1765084503}
    [action_time] => {"api_allot_time":1765084442,"compaign_read_start_time":1765084444,"compaign_read_complete_time":1765084446,"compaign_send_start_time":1765084501,"compaign_send_complete_time":1765084503}
    [50] => 0
    [compaign_file] => 0
    [51] => u83_81748_07122025_104401AM_434
    [common_name] => u83_81748_07122025_104401AM_434
    [52] => 1765002193_u83_voice.wav
    [voice_file] => 1765002193_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_68962
    [temp_group_table] => contacts_temp_group_68962
    [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] => 1765084742
    [last_credit_update_time] => 1765084742
    [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 : 81748
\compaign_type : Rans per 27.21751 
ans sms 704
dnd sms 179

require answer perrequire answer per : 143

user answer per : 61
below is the redis data 82 /n/r
only no answer and busy will be convert, total number require 82 /n/r
UPDATE voice_compaign_detail_81748 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 62 UPDATE voice_compaign_detail_81748 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 62 Total Failed : 153 no_answer_count : 52 Busy count :40 congestion_count : 19 failed_count : 42UPDATE voice_compaign_detail_81748 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 52 UPDATE voice_compaign_detail_81748 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 40 UPDATE voice_compaign_detail_81748 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 19 UPDATE voice_compaign_detail_81748 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`='143', `user_busy_sms`='113', `user_congestion_sms`='19', `user_failed_sms`='110', `user_hangup_sms`='0', `user_no_answer_sms`='140', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='179' WHERE `compaign_id`=81748 LIMIT 1 


Time Diff : 0.301

Array
(
    [0] => 81749
    [compaign_id] => 81749
    [1] => u83
    [user_id] => u83
    [2] => 68963,
    [group_ids] => 68963,
    [3] => 
    [sender_id] => 
    [4] => eddumail.mp3
    [filename] => eddumail.mp3
    [5] => 16
    [duration] => 16
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765084480
    [start_date] => 1765084480
    [9] => 0
    [end_date] => 0
    [10] => 1098
    [total_sms] => 1098
    [11] => 1098
    [sent_sms] => 1098
    [12] => 0
    [duplicate_sms] => 0
    [13] => 75
    [answered_sms] => 75
    [14] => 69
    [busy_sms] => 69
    [15] => 0
    [congestion_sms] => 0
    [16] => 163
    [failed_sms] => 163
    [17] => 0
    [hangup_sms] => 0
    [18] => 114
    [no_answer_sms] => 114
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 367
    [cutting_sms] => 367
    [22] => 310
    [dnd_sms] => 310
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 75
    [user_answered_sms] => 75
    [27] => 69
    [user_busy_sms] => 69
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 163
    [user_failed_sms] => 163
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 114
    [user_no_answer_sms] => 114
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 310
    [user_dnd_sms] => 310
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u83
    [created_by] => u83
    [38] => 0
    [isScheduled] => 0
    [39] => 1765084479
    [create_date] => 1765084479
    [40] => 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":1765084486,"compaign_read_start_time":1765084486,"compaign_read_complete_time":1765084489,"compaign_send_start_time":1765084501,"compaign_send_complete_time":1765084504}
    [action_time] => {"api_allot_time":1765084486,"compaign_read_start_time":1765084486,"compaign_read_complete_time":1765084489,"compaign_send_start_time":1765084501,"compaign_send_complete_time":1765084504}
    [50] => 0
    [compaign_file] => 0
    [51] => u83_81749_07122025_104445AM_857
    [common_name] => u83_81749_07122025_104445AM_857
    [52] => 1765002193_u83_voice.wav
    [voice_file] => 1765002193_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_68963
    [temp_group_table] => contacts_temp_group_68963
    [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] => 1765084742
    [last_credit_update_time] => 1765084742
    [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 : 81749
\compaign_type : Rans per 27.39941 
ans sms 1098
dnd sms 310

require answer perrequire answer per : 216

user answer per : 75
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_81749 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 108 UPDATE voice_compaign_detail_81749 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 108 Total Failed : 224 no_answer_count : 75 Busy count :58 congestion_count : 27 failed_count : 64UPDATE voice_compaign_detail_81749 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 75 UPDATE voice_compaign_detail_81749 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 58 UPDATE voice_compaign_detail_81749 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 27 UPDATE voice_compaign_detail_81749 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 64 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='216', `user_busy_sms`='181', `user_congestion_sms`='27', `user_failed_sms`='154', `user_hangup_sms`='0', `user_no_answer_sms`='210', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='310' WHERE `compaign_id`=81749 LIMIT 1 


Time Diff : 0.193

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764825601'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764825661'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764825721'  
Array
(
    [0] => 81752
    [compaign_id] => 81752
    [1] => u83
    [user_id] => u83
    [2] => 68965,
    [group_ids] => 68965,
    [3] => 
    [sender_id] => 
    [4] => eddumail.mp3
    [filename] => eddumail.mp3
    [5] => 16
    [duration] => 16
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765084624
    [start_date] => 1765084624
    [9] => 0
    [end_date] => 0
    [10] => 515
    [total_sms] => 515
    [11] => 515
    [sent_sms] => 515
    [12] => 0
    [duplicate_sms] => 0
    [13] => 67
    [answered_sms] => 67
    [14] => 37
    [busy_sms] => 37
    [15] => 0
    [congestion_sms] => 0
    [16] => 92
    [failed_sms] => 92
    [17] => 0
    [hangup_sms] => 0
    [18] => 46
    [no_answer_sms] => 46
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 157
    [cutting_sms] => 157
    [22] => 116
    [dnd_sms] => 116
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 67
    [user_answered_sms] => 67
    [27] => 37
    [user_busy_sms] => 37
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 92
    [user_failed_sms] => 92
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 46
    [user_no_answer_sms] => 46
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 116
    [user_dnd_sms] => 116
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u83
    [created_by] => u83
    [38] => 0
    [isScheduled] => 0
    [39] => 1765084624
    [create_date] => 1765084624
    [40] => 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":1765084630,"compaign_read_start_time":1765084634,"compaign_read_complete_time":1765084635,"compaign_send_start_time":1765084681,"compaign_send_complete_time":1765084685}
    [action_time] => {"api_allot_time":1765084630,"compaign_read_start_time":1765084634,"compaign_read_complete_time":1765084635,"compaign_send_start_time":1765084681,"compaign_send_complete_time":1765084685}
    [50] => 0
    [compaign_file] => 0
    [51] => u83_81752_07122025_104710AM_679
    [common_name] => u83_81752_07122025_104710AM_679
    [52] => 1765002193_u83_voice.wav
    [voice_file] => 1765002193_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_68965
    [temp_group_table] => contacts_temp_group_68965
    [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] => 1765084862
    [last_credit_update_time] => 1765084862
    [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 : 81752
\compaign_type : Rans per 27.28282 
ans sms 515
dnd sms 116

require answer perrequire answer per : 109

user answer per : 67
below is the redis data 42 /n/r
only no answer and busy will be convert, total number require 42 /n/r
UPDATE voice_compaign_detail_81752 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_81752 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 : 119 no_answer_count : 40 Busy count :31 congestion_count : 15 failed_count : 33UPDATE voice_compaign_detail_81752 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 40 UPDATE voice_compaign_detail_81752 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 31 UPDATE voice_compaign_detail_81752 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 15 UPDATE voice_compaign_detail_81752 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`='109', `user_busy_sms`='79', `user_congestion_sms`='15', `user_failed_sms`='103', `user_hangup_sms`='0', `user_no_answer_sms`='93', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='116' WHERE `compaign_id`=81752 LIMIT 1 


Time Diff : 0.41

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764825781'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764825842'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764825901'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764825961'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764826022'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764826082'  
Array
(
    [0] => 81757
    [compaign_id] => 81757
    [1] => u371
    [user_id] => u371
    [2] => 68855,
    [group_ids] => 68855,
    [3] => 
    [sender_id] => 
    [4] => Mupgal CV S.mp3
    [filename] => Mupgal CV S.mp3
    [5] => 28
    [duration] => 28
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765085015
    [start_date] => 1765085015
    [9] => 0
    [end_date] => 0
    [10] => 419
    [total_sms] => 419
    [11] => 419
    [sent_sms] => 419
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 29
    [busy_sms] => 29
    [15] => 0
    [congestion_sms] => 0
    [16] => 75
    [failed_sms] => 75
    [17] => 0
    [hangup_sms] => 0
    [18] => 65
    [no_answer_sms] => 65
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 165
    [cutting_sms] => 165
    [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] => 29
    [user_busy_sms] => 29
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 75
    [user_failed_sms] => 75
    [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] => 1765085015
    [create_date] => 1765085015
    [40] => 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":1765085022,"compaign_read_start_time":1765085023,"compaign_read_complete_time":1765085024,"compaign_send_start_time":1765085042,"compaign_send_complete_time":1765085043}
    [action_time] => {"api_allot_time":1765085022,"compaign_read_start_time":1765085023,"compaign_read_complete_time":1765085024,"compaign_send_start_time":1765085042,"compaign_send_complete_time":1765085043}
    [50] => 0
    [compaign_file] => 0
    [51] => u371_81757_07122025_105341AM_947
    [common_name] => u371_81757_07122025_105341AM_947
    [52] => 1765083100_u371_voice.wav
    [voice_file] => 1765083100_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_68855
    [temp_group_table] => contacts_temp_group_68855
    [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] => 1765085282
    [last_credit_update_time] => 1765085282
    [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 : 81757
\compaign_type : Rans per 30.68267 
ans sms 419
dnd sms 0

require answer perrequire answer per : 129

user answer per : 85
below is the redis data 44 /n/r
only no answer and busy will be convert, total number require 44 /n/r
UPDATE voice_compaign_detail_81757 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_81757 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 : 117 no_answer_count : 40 Busy count :31 congestion_count : 14 failed_count : 32UPDATE voice_compaign_detail_81757 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 40 UPDATE voice_compaign_detail_81757 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 31 UPDATE voice_compaign_detail_81757 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 14 UPDATE voice_compaign_detail_81757 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`='129', `user_busy_sms`='80', `user_congestion_sms`='14', `user_failed_sms`='87', `user_hangup_sms`='0', `user_no_answer_sms`='109', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81757 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>'1764826141'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764826201'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764826261'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764826321'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764826382'  
Array
(
    [0] => 81759
    [compaign_id] => 81759
    [1] => u371
    [user_id] => u371
    [2] => 68967,
    [group_ids] => 68967,
    [3] => 
    [sender_id] => 
    [4] => Mupgal CV S.mp3
    [filename] => Mupgal CV S.mp3
    [5] => 28
    [duration] => 28
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765085224
    [start_date] => 1765085224
    [9] => 0
    [end_date] => 0
    [10] => 543
    [total_sms] => 543
    [11] => 543
    [sent_sms] => 543
    [12] => 0
    [duplicate_sms] => 0
    [13] => 52
    [answered_sms] => 52
    [14] => 34
    [busy_sms] => 34
    [15] => 0
    [congestion_sms] => 0
    [16] => 199
    [failed_sms] => 199
    [17] => 0
    [hangup_sms] => 0
    [18] => 43
    [no_answer_sms] => 43
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 215
    [cutting_sms] => 215
    [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] => 34
    [user_busy_sms] => 34
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 199
    [user_failed_sms] => 199
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 43
    [user_no_answer_sms] => 43
    [32] => 0
    [user_timeout_duration_sms] => 0
    [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] => 1765085224
    [create_date] => 1765085224
    [40] => 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":1765085230,"compaign_read_start_time":1765085230,"compaign_read_complete_time":1765085231,"compaign_send_start_time":1765085282,"compaign_send_complete_time":1765085284}
    [action_time] => {"api_allot_time":1765085230,"compaign_read_start_time":1765085230,"compaign_read_complete_time":1765085231,"compaign_send_start_time":1765085282,"compaign_send_complete_time":1765085284}
    [50] => 0
    [compaign_file] => 0
    [51] => u371_81759_07122025_105710AM_193
    [common_name] => u371_81759_07122025_105710AM_193
    [52] => 1765083100_u371_voice.wav
    [voice_file] => 1765083100_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_68967
    [temp_group_table] => contacts_temp_group_68967
    [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] => 1765085521
    [last_credit_update_time] => 1765085521
    [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 : 81759
\compaign_type : Rans per 26.21271 
ans sms 543
dnd sms 0

require answer perrequire answer per : 143

user answer per : 52
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_81759 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_81759 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 : 155 no_answer_count : 52 Busy count :40 congestion_count : 19 failed_count : 44UPDATE voice_compaign_detail_81759 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 52 UPDATE voice_compaign_detail_81759 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 40 UPDATE voice_compaign_detail_81759 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 19 UPDATE voice_compaign_detail_81759 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`='129', `user_busy_sms`='104', `user_congestion_sms`='19', `user_failed_sms`='175', `user_hangup_sms`='0', `user_no_answer_sms`='116', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81759 LIMIT 1 


Time Diff : 0.499

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764826441'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764826501'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764826561'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764826621'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764826682'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764826741'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764826801'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764826862'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764826921'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764826981'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764827042'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764827101'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764827161'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764827222'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764827281'  
Array
(
    [0] => 81763
    [compaign_id] => 81763
    [1] => u371
    [user_id] => u371
    [2] => 68968,
    [group_ids] => 68968,
    [3] => 
    [sender_id] => 
    [4] => Yamcha CV S.mp3
    [filename] => Yamcha CV S.mp3
    [5] => 24
    [duration] => 24
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765086161
    [start_date] => 1765086161
    [9] => 0
    [end_date] => 0
    [10] => 417
    [total_sms] => 417
    [11] => 417
    [sent_sms] => 417
    [12] => 0
    [duplicate_sms] => 0
    [13] => 87
    [answered_sms] => 87
    [14] => 36
    [busy_sms] => 36
    [15] => 0
    [congestion_sms] => 0
    [16] => 68
    [failed_sms] => 68
    [17] => 0
    [hangup_sms] => 0
    [18] => 52
    [no_answer_sms] => 52
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 174
    [cutting_sms] => 174
    [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] => 36
    [user_busy_sms] => 36
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 68
    [user_failed_sms] => 68
    [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] => u371
    [created_by] => u371
    [38] => 0
    [isScheduled] => 0
    [39] => 1765086161
    [create_date] => 1765086161
    [40] => 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":1765086168,"compaign_read_start_time":1765086169,"compaign_read_complete_time":1765086170,"compaign_send_start_time":1765086182,"compaign_send_complete_time":1765086189}
    [action_time] => {"api_allot_time":1765086168,"compaign_read_start_time":1765086169,"compaign_read_complete_time":1765086170,"compaign_send_start_time":1765086182,"compaign_send_complete_time":1765086189}
    [50] => 0
    [compaign_file] => 0
    [51] => u371_81763_07122025_111247AM_902
    [common_name] => u371_81763_07122025_111247AM_902
    [52] => 1765084901_u371_voice.wav
    [voice_file] => 1765084901_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_68968
    [temp_group_table] => contacts_temp_group_68968
    [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] => 1765086422
    [last_credit_update_time] => 1765086422
    [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 : 81763
\compaign_type : Rans per 30.60283 
ans sms 417
dnd sms 0

require answer perrequire answer per : 128

user answer per : 87
below is the redis data 41 /n/r
only no answer and busy will be convert, total number require 41 /n/r
UPDATE voice_compaign_detail_81763 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_81763 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 : 130 no_answer_count : 44 Busy count :34 congestion_count : 16 failed_count : 36UPDATE voice_compaign_detail_81763 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 44 UPDATE voice_compaign_detail_81763 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 34 UPDATE voice_compaign_detail_81763 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 16 UPDATE voice_compaign_detail_81763 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`='128', `user_busy_sms`='86', `user_congestion_sms`='16', `user_failed_sms`='86', `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`=81763 LIMIT 1 


Time Diff : 0.602

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764827342'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764827401'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764827462'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764827522'  
Array
(
    [0] => 81662
    [compaign_id] => 81662
    [1] => u607
    [user_id] => u607
    [2] => 68891,
    [group_ids] => 68891,
    [3] => 
    [sender_id] => 
    [4] => t.kumar_mulugu.mp3
    [filename] => t.kumar_mulugu.mp3
    [5] => 31
    [duration] => 31
    [6] => 2
    [credits_per_sms] => 2
    [7] => 30
    [user_pulse] => 30
    [8] => 1765086300
    [start_date] => 1765086300
    [9] => 0
    [end_date] => 0
    [10] => 1257
    [total_sms] => 1257
    [11] => 1257
    [sent_sms] => 1257
    [12] => 0
    [duplicate_sms] => 0
    [13] => 112
    [answered_sms] => 112
    [14] => 70
    [busy_sms] => 70
    [15] => 0
    [congestion_sms] => 0
    [16] => 318
    [failed_sms] => 318
    [17] => 0
    [hangup_sms] => 0
    [18] => 82
    [no_answer_sms] => 82
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 504
    [cutting_sms] => 504
    [22] => 171
    [dnd_sms] => 171
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 112
    [user_answered_sms] => 112
    [27] => 70
    [user_busy_sms] => 70
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 318
    [user_failed_sms] => 318
    [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] => 171
    [user_dnd_sms] => 171
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u607
    [created_by] => u607
    [38] => 1
    [isScheduled] => 1
    [39] => 1765082531
    [create_date] => 1765082531
    [40] => 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":1765086308,"compaign_read_start_time":1765086362,"compaign_read_complete_time":1765086364,"compaign_send_start_time":1765086422,"compaign_send_complete_time":1765086425}
    [action_time] => {"api_allot_time":1765086308,"compaign_read_start_time":1765086362,"compaign_read_complete_time":1765086364,"compaign_send_start_time":1765086422,"compaign_send_complete_time":1765086425}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81662_07122025_111505AM_887
    [common_name] => u607_81662_07122025_111505AM_887
    [52] => 1765044260_u607_voice.wav
    [voice_file] => 1765044260_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_68891
    [temp_group_table] => contacts_temp_group_68891
    [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] => 1765086664
    [last_credit_update_time] => 1765086664
    [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 : 81662
\compaign_type : Rans per 28.93103 
ans sms 1257
dnd sms 171

require answer perrequire answer per : 315

user answer per : 112
below is the redis data 203 /n/r
only no answer and busy will be convert, total number require 203 /n/r
UPDATE voice_compaign_detail_81662 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 149 UPDATE voice_compaign_detail_81662 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 149 Total Failed : 329 no_answer_count : 110 Busy count :85 congestion_count : 40 failed_count : 94UPDATE voice_compaign_detail_81662 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 110 UPDATE voice_compaign_detail_81662 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 85 UPDATE voice_compaign_detail_81662 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 40 UPDATE voice_compaign_detail_81662 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`='264', `user_busy_sms`='234', `user_congestion_sms`='40', `user_failed_sms`='289', `user_hangup_sms`='0', `user_no_answer_sms`='259', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='171' WHERE `compaign_id`=81662 LIMIT 1 


Time Diff : 0.2

Array
(
    [0] => 81707
    [compaign_id] => 81707
    [1] => u607
    [user_id] => u607
    [2] => 68929,
    [group_ids] => 68929,
    [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] => 1765086300
    [start_date] => 1765086300
    [9] => 0
    [end_date] => 0
    [10] => 390
    [total_sms] => 390
    [11] => 390
    [sent_sms] => 390
    [12] => 0
    [duplicate_sms] => 0
    [13] => 44
    [answered_sms] => 44
    [14] => 30
    [busy_sms] => 30
    [15] => 0
    [congestion_sms] => 0
    [16] => 75
    [failed_sms] => 75
    [17] => 0
    [hangup_sms] => 0
    [18] => 36
    [no_answer_sms] => 36
    [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] => 44
    [user_answered_sms] => 44
    [27] => 30
    [user_busy_sms] => 30
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 75
    [user_failed_sms] => 75
    [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] => 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] => 1765083424
    [create_date] => 1765083424
    [40] => 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":1765086308,"compaign_read_start_time":1765086379,"compaign_read_complete_time":1765086380,"compaign_send_start_time":1765086422,"compaign_send_complete_time":1765086424}
    [action_time] => {"api_allot_time":1765086308,"compaign_read_start_time":1765086379,"compaign_read_complete_time":1765086380,"compaign_send_start_time":1765086422,"compaign_send_complete_time":1765086424}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81707_07122025_111505AM_687
    [common_name] => u607_81707_07122025_111505AM_687
    [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_68929
    [temp_group_table] => contacts_temp_group_68929
    [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] => 1765086663
    [last_credit_update_time] => 1765086663
    [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 : 81707
\compaign_type : Rans per 27.31158 
ans sms 390
dnd sms 84

require answer perrequire answer per : 84

user answer per : 44
below is the redis data 40 /n/r
only no answer and busy will be convert, total number require 40 /n/r
UPDATE voice_compaign_detail_81707 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_81707 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 : 88 no_answer_count : 30 Busy count :23 congestion_count : 11 failed_count : 24UPDATE voice_compaign_detail_81707 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 30 UPDATE voice_compaign_detail_81707 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 23 UPDATE voice_compaign_detail_81707 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 11 UPDATE voice_compaign_detail_81707 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 24 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='84', `user_busy_sms`='61', `user_congestion_sms`='11', `user_failed_sms`='74', `user_hangup_sms`='0', `user_no_answer_sms`='76', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='84' WHERE `compaign_id`=81707 LIMIT 1 


Time Diff : 0.646

Array
(
    [0] => 81708
    [compaign_id] => 81708
    [1] => u607
    [user_id] => u607
    [2] => 68924,
    [group_ids] => 68924,
    [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] => 1765086300
    [start_date] => 1765086300
    [9] => 0
    [end_date] => 0
    [10] => 397
    [total_sms] => 397
    [11] => 397
    [sent_sms] => 397
    [12] => 0
    [duplicate_sms] => 0
    [13] => 50
    [answered_sms] => 50
    [14] => 29
    [busy_sms] => 29
    [15] => 0
    [congestion_sms] => 0
    [16] => 65
    [failed_sms] => 65
    [17] => 0
    [hangup_sms] => 0
    [18] => 50
    [no_answer_sms] => 50
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 131
    [cutting_sms] => 131
    [22] => 72
    [dnd_sms] => 72
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 50
    [user_answered_sms] => 50
    [27] => 29
    [user_busy_sms] => 29
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 65
    [user_failed_sms] => 65
    [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] => 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] => 1765083424
    [create_date] => 1765083424
    [40] => 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":1765086307,"compaign_read_start_time":1765086382,"compaign_read_complete_time":1765086383,"compaign_send_start_time":1765086422,"compaign_send_complete_time":1765086424}
    [action_time] => {"api_allot_time":1765086307,"compaign_read_start_time":1765086382,"compaign_read_complete_time":1765086383,"compaign_send_start_time":1765086422,"compaign_send_complete_time":1765086424}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81708_07122025_111506AM_305
    [common_name] => u607_81708_07122025_111506AM_305
    [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_68924
    [temp_group_table] => contacts_temp_group_68924
    [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] => 1765086663
    [last_credit_update_time] => 1765086663
    [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 : 81708
\compaign_type : Rans per 28.70633 
ans sms 397
dnd sms 72

require answer perrequire answer per : 94

user answer per : 50
below is the redis data 44 /n/r
only no answer and busy will be convert, total number require 44 /n/r
UPDATE voice_compaign_detail_81708 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 32 UPDATE voice_compaign_detail_81708 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 32 Total Failed : 84 no_answer_count : 29 Busy count :22 congestion_count : 10 failed_count : 23UPDATE voice_compaign_detail_81708 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 29 UPDATE voice_compaign_detail_81708 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 22 UPDATE voice_compaign_detail_81708 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 10 UPDATE voice_compaign_detail_81708 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`='94', `user_busy_sms`='70', `user_congestion_sms`='10', `user_failed_sms`='71', `user_hangup_sms`='0', `user_no_answer_sms`='80', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='72' WHERE `compaign_id`=81708 LIMIT 1 


Time Diff : 0.632

Array
(
    [0] => 81709
    [compaign_id] => 81709
    [1] => u607
    [user_id] => u607
    [2] => 68920,
    [group_ids] => 68920,
    [3] => 
    [sender_id] => 
    [4] => srinivasreddy_komireddypally.mp3
    [filename] => srinivasreddy_komireddypally.mp3
    [5] => 22
    [duration] => 22
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765086300
    [start_date] => 1765086300
    [9] => 0
    [end_date] => 0
    [10] => 574
    [total_sms] => 574
    [11] => 574
    [sent_sms] => 574
    [12] => 0
    [duplicate_sms] => 0
    [13] => 39
    [answered_sms] => 39
    [14] => 30
    [busy_sms] => 30
    [15] => 0
    [congestion_sms] => 0
    [16] => 192
    [failed_sms] => 192
    [17] => 0
    [hangup_sms] => 0
    [18] => 35
    [no_answer_sms] => 35
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 219
    [cutting_sms] => 219
    [22] => 59
    [dnd_sms] => 59
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 39
    [user_answered_sms] => 39
    [27] => 30
    [user_busy_sms] => 30
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 192
    [user_failed_sms] => 192
    [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] => 59
    [user_dnd_sms] => 59
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u607
    [created_by] => u607
    [38] => 1
    [isScheduled] => 1
    [39] => 1765083425
    [create_date] => 1765083425
    [40] => 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":1765086307,"compaign_read_start_time":1765086385,"compaign_read_complete_time":1765086388,"compaign_send_start_time":1765086422,"compaign_send_complete_time":1765086424}
    [action_time] => {"api_allot_time":1765086307,"compaign_read_start_time":1765086385,"compaign_read_complete_time":1765086388,"compaign_send_start_time":1765086422,"compaign_send_complete_time":1765086424}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81709_07122025_111505AM_762
    [common_name] => u607_81709_07122025_111505AM_762
    [52] => 1765044547_u607_voice.wav
    [voice_file] => 1765044547_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_68920
    [temp_group_table] => contacts_temp_group_68920
    [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] => 1765086663
    [last_credit_update_time] => 1765086663
    [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 : 81709
\compaign_type : Rans per 30.88086 
ans sms 574
dnd sms 59

require answer perrequire answer per : 160

user answer per : 39
below is the redis data 121 /n/r
only no answer and busy will be convert, total number require 121 /n/r
UPDATE voice_compaign_detail_81709 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 91 UPDATE voice_compaign_detail_81709 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 91 Total Failed : 119 no_answer_count : 40 Busy count :31 congestion_count : 15 failed_count : 33UPDATE voice_compaign_detail_81709 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 40 UPDATE voice_compaign_detail_81709 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 31 UPDATE voice_compaign_detail_81709 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 15 UPDATE voice_compaign_detail_81709 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`='104', `user_busy_sms`='122', `user_congestion_sms`='15', `user_failed_sms`='143', `user_hangup_sms`='0', `user_no_answer_sms`='131', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='59' WHERE `compaign_id`=81709 LIMIT 1 


Time Diff : 0.437

Array
(
    [0] => 81710
    [compaign_id] => 81710
    [1] => u607
    [user_id] => u607
    [2] => 68932,
    [group_ids] => 68932,
    [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] => 1765086300
    [start_date] => 1765086300
    [9] => 0
    [end_date] => 0
    [10] => 608
    [total_sms] => 608
    [11] => 608
    [sent_sms] => 608
    [12] => 0
    [duplicate_sms] => 0
    [13] => 45
    [answered_sms] => 45
    [14] => 32
    [busy_sms] => 32
    [15] => 0
    [congestion_sms] => 0
    [16] => 197
    [failed_sms] => 197
    [17] => 0
    [hangup_sms] => 0
    [18] => 29
    [no_answer_sms] => 29
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 213
    [cutting_sms] => 213
    [22] => 92
    [dnd_sms] => 92
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 45
    [user_answered_sms] => 45
    [27] => 32
    [user_busy_sms] => 32
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 197
    [user_failed_sms] => 197
    [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] => 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] => 1765083425
    [create_date] => 1765083425
    [40] => 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":1765086309,"compaign_read_start_time":1765086389,"compaign_read_complete_time":1765086390,"compaign_send_start_time":1765086422,"compaign_send_complete_time":1765086424}
    [action_time] => {"api_allot_time":1765086309,"compaign_read_start_time":1765086389,"compaign_read_complete_time":1765086390,"compaign_send_start_time":1765086422,"compaign_send_complete_time":1765086424}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81710_07122025_111506AM_287
    [common_name] => u607_81710_07122025_111506AM_287
    [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_68932
    [temp_group_table] => contacts_temp_group_68932
    [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] => 1765086663
    [last_credit_update_time] => 1765086663
    [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 : 81710
\compaign_type : Rans per 30.52982 
ans sms 608
dnd sms 92

require answer perrequire answer per : 158

user answer per : 45
below is the redis data 113 /n/r
only no answer and busy will be convert, total number require 113 /n/r
UPDATE voice_compaign_detail_81710 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 90 UPDATE voice_compaign_detail_81710 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 90 Total Failed : 126 no_answer_count : 43 Busy count :33 congestion_count : 15 failed_count : 35UPDATE voice_compaign_detail_81710 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 43 UPDATE voice_compaign_detail_81710 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 33 UPDATE voice_compaign_detail_81710 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 15 UPDATE voice_compaign_detail_81710 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`='106', `user_busy_sms`='123', `user_congestion_sms`='15', `user_failed_sms`='139', `user_hangup_sms`='0', `user_no_answer_sms`='133', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='92' WHERE `compaign_id`=81710 LIMIT 1 


Time Diff : 0.414

Array
(
    [0] => 81713
    [compaign_id] => 81713
    [1] => u607
    [user_id] => u607
    [2] => 68922,
    [group_ids] => 68922,
    [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] => 1765086300
    [start_date] => 1765086300
    [9] => 0
    [end_date] => 0
    [10] => 1074
    [total_sms] => 1074
    [11] => 1074
    [sent_sms] => 1074
    [12] => 0
    [duplicate_sms] => 0
    [13] => 104
    [answered_sms] => 104
    [14] => 80
    [busy_sms] => 80
    [15] => 0
    [congestion_sms] => 0
    [16] => 139
    [failed_sms] => 139
    [17] => 0
    [hangup_sms] => 0
    [18] => 105
    [no_answer_sms] => 105
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 349
    [cutting_sms] => 349
    [22] => 297
    [dnd_sms] => 297
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 104
    [user_answered_sms] => 104
    [27] => 80
    [user_busy_sms] => 80
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 139
    [user_failed_sms] => 139
    [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] => 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] => 1765083427
    [create_date] => 1765083427
    [40] => 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":1765086308,"compaign_read_start_time":1765086395,"compaign_read_complete_time":1765086397,"compaign_send_start_time":1765086422,"compaign_send_complete_time":1765086425}
    [action_time] => {"api_allot_time":1765086308,"compaign_read_start_time":1765086395,"compaign_read_complete_time":1765086397,"compaign_send_start_time":1765086422,"compaign_send_complete_time":1765086425}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81713_07122025_111506AM_403
    [common_name] => u607_81713_07122025_111506AM_403
    [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_68922
    [temp_group_table] => contacts_temp_group_68922
    [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] => 1765086664
    [last_credit_update_time] => 1765086664
    [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 : 81713
\compaign_type : Rans per 30.59702 
ans sms 1074
dnd sms 297

require answer perrequire answer per : 238

user answer per : 104
below is the redis data 134 /n/r
only no answer and busy will be convert, total number require 134 /n/r
UPDATE voice_compaign_detail_81713 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_81713 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 : 199 no_answer_count : 67 Busy count :52 congestion_count : 24 failed_count : 56UPDATE voice_compaign_detail_81713 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 67 UPDATE voice_compaign_detail_81713 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 52 UPDATE voice_compaign_detail_81713 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 24 UPDATE voice_compaign_detail_81713 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`='238', `user_busy_sms`='179', `user_congestion_sms`='24', `user_failed_sms`='135', `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`=81713 LIMIT 1 


Time Diff : 0.234

Array
(
    [0] => 81714
    [compaign_id] => 81714
    [1] => u607
    [user_id] => u607
    [2] => 68933,
    [group_ids] => 68933,
    [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] => 1765086300
    [start_date] => 1765086300
    [9] => 0
    [end_date] => 0
    [10] => 1182
    [total_sms] => 1182
    [11] => 1182
    [sent_sms] => 1182
    [12] => 0
    [duplicate_sms] => 0
    [13] => 100
    [answered_sms] => 100
    [14] => 43
    [busy_sms] => 43
    [15] => 0
    [congestion_sms] => 0
    [16] => 228
    [failed_sms] => 228
    [17] => 0
    [hangup_sms] => 0
    [18] => 77
    [no_answer_sms] => 77
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 443
    [cutting_sms] => 443
    [22] => 291
    [dnd_sms] => 291
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 100
    [user_answered_sms] => 100
    [27] => 43
    [user_busy_sms] => 43
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 228
    [user_failed_sms] => 228
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 77
    [user_no_answer_sms] => 77
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 291
    [user_dnd_sms] => 291
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u607
    [created_by] => u607
    [38] => 1
    [isScheduled] => 1
    [39] => 1765083427
    [create_date] => 1765083427
    [40] => 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":1765086308,"compaign_read_start_time":1765086398,"compaign_read_complete_time":1765086400,"compaign_send_start_time":1765086422,"compaign_send_complete_time":1765086425}
    [action_time] => {"api_allot_time":1765086308,"compaign_read_start_time":1765086398,"compaign_read_complete_time":1765086400,"compaign_send_start_time":1765086422,"compaign_send_complete_time":1765086425}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81714_07122025_111506AM_622
    [common_name] => u607_81714_07122025_111506AM_622
    [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] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_68933
    [temp_group_table] => contacts_temp_group_68933
    [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] => 1765086664
    [last_credit_update_time] => 1765086664
    [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 : 81714
\compaign_type : Rans per 30.1073 
ans sms 1182
dnd sms 291

require answer perrequire answer per : 269

user answer per : 100
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_81714 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 120 UPDATE voice_compaign_detail_81714 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 120 Total Failed : 290 no_answer_count : 97 Busy count :75 congestion_count : 35 failed_count : 83UPDATE voice_compaign_detail_81714 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 97 UPDATE voice_compaign_detail_81714 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 75 UPDATE voice_compaign_detail_81714 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 35 UPDATE voice_compaign_detail_81714 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 83 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='220', `user_busy_sms`='195', `user_congestion_sms`='35', `user_failed_sms`='224', `user_hangup_sms`='0', `user_no_answer_sms`='217', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='291' WHERE `compaign_id`=81714 LIMIT 1 


Time Diff : 0.214

Array
(
    [0] => 81720
    [compaign_id] => 81720
    [1] => u607
    [user_id] => u607
    [2] => 68942,
    [group_ids] => 68942,
    [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] => 1765086300
    [start_date] => 1765086300
    [9] => 0
    [end_date] => 0
    [10] => 361
    [total_sms] => 361
    [11] => 361
    [sent_sms] => 361
    [12] => 0
    [duplicate_sms] => 0
    [13] => 49
    [answered_sms] => 49
    [14] => 28
    [busy_sms] => 28
    [15] => 0
    [congestion_sms] => 0
    [16] => 47
    [failed_sms] => 47
    [17] => 0
    [hangup_sms] => 0
    [18] => 48
    [no_answer_sms] => 48
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 116
    [cutting_sms] => 116
    [22] => 73
    [dnd_sms] => 73
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 49
    [user_answered_sms] => 49
    [27] => 28
    [user_busy_sms] => 28
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 47
    [user_failed_sms] => 47
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 48
    [user_no_answer_sms] => 48
    [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] => 1765083723
    [create_date] => 1765083723
    [40] => 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":1765086309,"compaign_read_start_time":1765086401,"compaign_read_complete_time":1765086402,"compaign_send_start_time":1765086422,"compaign_send_complete_time":1765086424}
    [action_time] => {"api_allot_time":1765086309,"compaign_read_start_time":1765086401,"compaign_read_complete_time":1765086402,"compaign_send_start_time":1765086422,"compaign_send_complete_time":1765086424}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81720_07122025_111506AM_135
    [common_name] => u607_81720_07122025_111506AM_135
    [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_68942
    [temp_group_table] => contacts_temp_group_68942
    [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] => 1765086664
    [last_credit_update_time] => 1765086664
    [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 : 81720
\compaign_type : Rans per 26.16564 
ans sms 361
dnd sms 73

require answer perrequire answer per : 76

user answer per : 49
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_81720 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_81720 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 : 89 no_answer_count : 30 Busy count :23 congestion_count : 11 failed_count : 25UPDATE voice_compaign_detail_81720 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 30 UPDATE voice_compaign_detail_81720 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 23 UPDATE voice_compaign_detail_81720 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 11 UPDATE voice_compaign_detail_81720 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`='76', `user_busy_sms`='62', `user_congestion_sms`='11', `user_failed_sms`='59', `user_hangup_sms`='0', `user_no_answer_sms`='80', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='73' WHERE `compaign_id`=81720 LIMIT 1 


Time Diff : 0.698

Array
(
    [0] => 81723
    [compaign_id] => 81723
    [1] => u607
    [user_id] => u607
    [2] => 68943,
    [group_ids] => 68943,
    [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] => 1765086300
    [start_date] => 1765086300
    [9] => 0
    [end_date] => 0
    [10] => 940
    [total_sms] => 940
    [11] => 940
    [sent_sms] => 940
    [12] => 0
    [duplicate_sms] => 0
    [13] => 78
    [answered_sms] => 78
    [14] => 51
    [busy_sms] => 51
    [15] => 1
    [congestion_sms] => 1
    [16] => 200
    [failed_sms] => 200
    [17] => 0
    [hangup_sms] => 0
    [18] => 59
    [no_answer_sms] => 59
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 376
    [cutting_sms] => 376
    [22] => 175
    [dnd_sms] => 175
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 78
    [user_answered_sms] => 78
    [27] => 51
    [user_busy_sms] => 51
    [28] => 1
    [user_congestion_sms] => 1
    [29] => 200
    [user_failed_sms] => 200
    [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] => 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] => 1765083725
    [create_date] => 1765083725
    [40] => 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":1765086309,"compaign_read_start_time":1765086404,"compaign_read_complete_time":1765086405,"compaign_send_start_time":1765086422,"compaign_send_complete_time":1765086425}
    [action_time] => {"api_allot_time":1765086309,"compaign_read_start_time":1765086404,"compaign_read_complete_time":1765086405,"compaign_send_start_time":1765086422,"compaign_send_complete_time":1765086425}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81723_07122025_111506AM_611
    [common_name] => u607_81723_07122025_111506AM_611
    [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_68943
    [temp_group_table] => contacts_temp_group_68943
    [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] => 1765086664
    [last_credit_update_time] => 1765086664
    [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 : 81723
\compaign_type : Rans per 27.32344 
ans sms 940
dnd sms 175

require answer perrequire answer per : 210

user answer per : 78
below is the redis data 132 /n/r
only no answer and busy will be convert, total number require 132 /n/r
UPDATE voice_compaign_detail_81723 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_81723 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 : 238 no_answer_count : 80 Busy count :62 congestion_count : 29 failed_count : 67UPDATE voice_compaign_detail_81723 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 80 UPDATE voice_compaign_detail_81723 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 62 UPDATE voice_compaign_detail_81723 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 29 UPDATE voice_compaign_detail_81723 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`='188', `user_busy_sms`='161', `user_congestion_sms`='30', `user_failed_sms`='207', `user_hangup_sms`='0', `user_no_answer_sms`='179', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='175' WHERE `compaign_id`=81723 LIMIT 1 


Time Diff : 0.269

Array
(
    [0] => 81726
    [compaign_id] => 81726
    [1] => u607
    [user_id] => u607
    [2] => 68944,
    [group_ids] => 68944,
    [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] => 1765086300
    [start_date] => 1765086300
    [9] => 0
    [end_date] => 0
    [10] => 1867
    [total_sms] => 1867
    [11] => 1867
    [sent_sms] => 1867
    [12] => 0
    [duplicate_sms] => 0
    [13] => 145
    [answered_sms] => 145
    [14] => 97
    [busy_sms] => 97
    [15] => 0
    [congestion_sms] => 0
    [16] => 232
    [failed_sms] => 232
    [17] => 0
    [hangup_sms] => 0
    [18] => 167
    [no_answer_sms] => 167
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 639
    [cutting_sms] => 639
    [22] => 587
    [dnd_sms] => 587
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 145
    [user_answered_sms] => 145
    [27] => 97
    [user_busy_sms] => 97
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 232
    [user_failed_sms] => 232
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 167
    [user_no_answer_sms] => 167
    [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] => 1765083729
    [create_date] => 1765083729
    [40] => 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":1765086309,"compaign_read_start_time":1765086407,"compaign_read_complete_time":1765086410,"compaign_send_start_time":1765086422,"compaign_send_complete_time":1765086426}
    [action_time] => {"api_allot_time":1765086309,"compaign_read_start_time":1765086407,"compaign_read_complete_time":1765086410,"compaign_send_start_time":1765086422,"compaign_send_complete_time":1765086426}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81726_07122025_111506AM_670
    [common_name] => u607_81726_07122025_111506AM_670
    [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_68944
    [temp_group_table] => contacts_temp_group_68944
    [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] => 1765086664
    [last_credit_update_time] => 1765086664
    [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 : 81726
\compaign_type : Rans per 28.2505 
ans sms 1867
dnd sms 587

require answer perrequire answer per : 362

user answer per : 145
below is the redis data 217 /n/r
only no answer and busy will be convert, total number require 217 /n/r
UPDATE voice_compaign_detail_81726 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 172 UPDATE voice_compaign_detail_81726 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 172 Total Failed : 396 no_answer_count : 133 Busy count :102 congestion_count : 48 failed_count : 113UPDATE voice_compaign_detail_81726 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 133 UPDATE voice_compaign_detail_81726 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 102 UPDATE voice_compaign_detail_81726 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 48 UPDATE voice_compaign_detail_81726 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`='362', `user_busy_sms`='294', `user_congestion_sms`='48', `user_failed_sms`='244', `user_hangup_sms`='0', `user_no_answer_sms`='332', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='587' WHERE `compaign_id`=81726 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>'1764827582'  
Array
(
    [0] => 81768
    [compaign_id] => 81768
    [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] => 1765086416
    [start_date] => 1765086416
    [9] => 0
    [end_date] => 0
    [10] => 1855
    [total_sms] => 1855
    [11] => 1855
    [sent_sms] => 1855
    [12] => 0
    [duplicate_sms] => 0
    [13] => 235
    [answered_sms] => 235
    [14] => 120
    [busy_sms] => 120
    [15] => 1
    [congestion_sms] => 1
    [16] => 398
    [failed_sms] => 398
    [17] => 0
    [hangup_sms] => 0
    [18] => 225
    [no_answer_sms] => 225
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 876
    [cutting_sms] => 876
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 235
    [user_answered_sms] => 235
    [27] => 120
    [user_busy_sms] => 120
    [28] => 1
    [user_congestion_sms] => 1
    [29] => 398
    [user_failed_sms] => 398
    [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] => 1765086416
    [create_date] => 1765086416
    [40] => 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":1765086423,"compaign_read_start_time":1765086425,"compaign_read_complete_time":1765086427,"compaign_send_start_time":1765086482,"compaign_send_complete_time":1765086495}
    [action_time] => {"api_allot_time":1765086423,"compaign_read_start_time":1765086425,"compaign_read_complete_time":1765086427,"compaign_send_start_time":1765086482,"compaign_send_complete_time":1765086495}
    [50] => 0
    [compaign_file] => 0
    [51] => u371_81768_07122025_111702AM_521
    [common_name] => u371_81768_07122025_111702AM_521
    [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] => 1765086722
    [last_credit_update_time] => 1765086722
    [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 : 81768
\compaign_type : Rans per 25.35136 
ans sms 1855
dnd sms 0

require answer perrequire answer per : 471

user answer per : 235
below is the redis data 236 /n/r
only no answer and busy will be convert, total number require 236 /n/r
UPDATE voice_compaign_detail_81768 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 185 UPDATE voice_compaign_detail_81768 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 185 Total Failed : 633 no_answer_count : 212 Busy count :163 congestion_count : 76 failed_count : 182UPDATE voice_compaign_detail_81768 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 212 UPDATE voice_compaign_detail_81768 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 163 UPDATE voice_compaign_detail_81768 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 76 UPDATE voice_compaign_detail_81768 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 182 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='471', `user_busy_sms`='384', `user_congestion_sms`='77', `user_failed_sms`='453', `user_hangup_sms`='0', `user_no_answer_sms`='470', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81768 LIMIT 1 


Time Diff : 0.136

Array
(
    [0] => 81770
    [compaign_id] => 81770
    [1] => u83
    [user_id] => u83
    [2] => 68976,
    [group_ids] => 68976,
    [3] => 
    [sender_id] => 
    [4] => eddumail.mp3
    [filename] => eddumail.mp3
    [5] => 16
    [duration] => 16
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765086424
    [start_date] => 1765086424
    [9] => 0
    [end_date] => 0
    [10] => 406
    [total_sms] => 406
    [11] => 406
    [sent_sms] => 406
    [12] => 0
    [duplicate_sms] => 0
    [13] => 34
    [answered_sms] => 34
    [14] => 30
    [busy_sms] => 30
    [15] => 0
    [congestion_sms] => 0
    [16] => 81
    [failed_sms] => 81
    [17] => 0
    [hangup_sms] => 0
    [18] => 32
    [no_answer_sms] => 32
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 113
    [cutting_sms] => 113
    [22] => 116
    [dnd_sms] => 116
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 34
    [user_answered_sms] => 34
    [27] => 30
    [user_busy_sms] => 30
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 81
    [user_failed_sms] => 81
    [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] => 116
    [user_dnd_sms] => 116
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u83
    [created_by] => u83
    [38] => 0
    [isScheduled] => 0
    [39] => 1765086424
    [create_date] => 1765086424
    [40] => 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":1765086430,"compaign_read_start_time":1765086434,"compaign_read_complete_time":1765086435,"compaign_send_start_time":1765086482,"compaign_send_complete_time":1765086491}
    [action_time] => {"api_allot_time":1765086430,"compaign_read_start_time":1765086434,"compaign_read_complete_time":1765086435,"compaign_send_start_time":1765086482,"compaign_send_complete_time":1765086491}
    [50] => 0
    [compaign_file] => 0
    [51] => u83_81770_07122025_111710AM_865
    [common_name] => u83_81770_07122025_111710AM_865
    [52] => 1765002193_u83_voice.wav
    [voice_file] => 1765002193_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_68976
    [temp_group_table] => contacts_temp_group_68976
    [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] => 1765086722
    [last_credit_update_time] => 1765086722
    [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 : 81770
\compaign_type : Rans per 25.81334 
ans sms 406
dnd sms 116

require answer perrequire answer per : 75

user answer per : 34
below is the redis data 41 /n/r
only no answer and busy will be convert, total number require 41 /n/r
UPDATE voice_compaign_detail_81770 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 32 UPDATE voice_compaign_detail_81770 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 32 Total Failed : 78 no_answer_count : 27 Busy count :21 congestion_count : 10 failed_count : 20UPDATE voice_compaign_detail_81770 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 27 UPDATE voice_compaign_detail_81770 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 21 UPDATE voice_compaign_detail_81770 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 10 UPDATE voice_compaign_detail_81770 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`='75', `user_busy_sms`='64', `user_congestion_sms`='10', `user_failed_sms`='72', `user_hangup_sms`='0', `user_no_answer_sms`='69', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='116' WHERE `compaign_id`=81770 LIMIT 1 


Time Diff : 0.414

Array
(
    [0] => 81771
    [compaign_id] => 81771
    [1] => u83
    [user_id] => u83
    [2] => 68973,
    [group_ids] => 68973,
    [3] => 
    [sender_id] => 
    [4] => eddumail.mp3
    [filename] => eddumail.mp3
    [5] => 16
    [duration] => 16
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765086424
    [start_date] => 1765086424
    [9] => 0
    [end_date] => 0
    [10] => 469
    [total_sms] => 469
    [11] => 469
    [sent_sms] => 469
    [12] => 0
    [duplicate_sms] => 0
    [13] => 24
    [answered_sms] => 24
    [14] => 44
    [busy_sms] => 44
    [15] => 0
    [congestion_sms] => 0
    [16] => 71
    [failed_sms] => 71
    [17] => 0
    [hangup_sms] => 0
    [18] => 56
    [no_answer_sms] => 56
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 121
    [cutting_sms] => 121
    [22] => 153
    [dnd_sms] => 153
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 24
    [user_answered_sms] => 24
    [27] => 44
    [user_busy_sms] => 44
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 71
    [user_failed_sms] => 71
    [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] => 153
    [user_dnd_sms] => 153
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u83
    [created_by] => u83
    [38] => 0
    [isScheduled] => 0
    [39] => 1765086424
    [create_date] => 1765086424
    [40] => 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":1765086430,"compaign_read_start_time":1765086437,"compaign_read_complete_time":1765086438,"compaign_send_start_time":1765086482,"compaign_send_complete_time":1765086491}
    [action_time] => {"api_allot_time":1765086430,"compaign_read_start_time":1765086437,"compaign_read_complete_time":1765086438,"compaign_send_start_time":1765086482,"compaign_send_complete_time":1765086491}
    [50] => 0
    [compaign_file] => 0
    [51] => u83_81771_07122025_111710AM_622
    [common_name] => u83_81771_07122025_111710AM_622
    [52] => 1765002193_u83_voice.wav
    [voice_file] => 1765002193_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_68973
    [temp_group_table] => contacts_temp_group_68973
    [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] => 1765086722
    [last_credit_update_time] => 1765086722
    [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 : 81771
\compaign_type : Rans per 27.32623 
ans sms 469
dnd sms 153

require answer perrequire answer per : 87

user answer per : 24
below is the redis data 63 /n/r
only no answer and busy will be convert, total number require 63 /n/r
UPDATE voice_compaign_detail_81771 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 45 UPDATE voice_compaign_detail_81771 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 45 Total Failed : 69 no_answer_count : 24 Busy count :18 congestion_count : 9 failed_count : 18UPDATE voice_compaign_detail_81771 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 24 UPDATE voice_compaign_detail_81771 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 18 UPDATE voice_compaign_detail_81771 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 9 UPDATE voice_compaign_detail_81771 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`='87', `user_busy_sms`='77', `user_congestion_sms`='9', `user_failed_sms`='51', `user_hangup_sms`='0', `user_no_answer_sms`='92', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='153' WHERE `compaign_id`=81771 LIMIT 1 


Time Diff : 0.358

Array
(
    [0] => 81772
    [compaign_id] => 81772
    [1] => u83
    [user_id] => u83
    [2] => 68974,
    [group_ids] => 68974,
    [3] => 
    [sender_id] => 
    [4] => eddumail.mp3
    [filename] => eddumail.mp3
    [5] => 16
    [duration] => 16
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765086424
    [start_date] => 1765086424
    [9] => 0
    [end_date] => 0
    [10] => 561
    [total_sms] => 561
    [11] => 561
    [sent_sms] => 561
    [12] => 0
    [duplicate_sms] => 0
    [13] => 49
    [answered_sms] => 49
    [14] => 36
    [busy_sms] => 36
    [15] => 0
    [congestion_sms] => 0
    [16] => 90
    [failed_sms] => 90
    [17] => 0
    [hangup_sms] => 0
    [18] => 55
    [no_answer_sms] => 55
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 152
    [cutting_sms] => 152
    [22] => 179
    [dnd_sms] => 179
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 49
    [user_answered_sms] => 49
    [27] => 36
    [user_busy_sms] => 36
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 90
    [user_failed_sms] => 90
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 55
    [user_no_answer_sms] => 55
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 179
    [user_dnd_sms] => 179
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u83
    [created_by] => u83
    [38] => 0
    [isScheduled] => 0
    [39] => 1765086424
    [create_date] => 1765086424
    [40] => 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":1765086430,"compaign_read_start_time":1765086440,"compaign_read_complete_time":1765086442,"compaign_send_start_time":1765086482,"compaign_send_complete_time":1765086492}
    [action_time] => {"api_allot_time":1765086430,"compaign_read_start_time":1765086440,"compaign_read_complete_time":1765086442,"compaign_send_start_time":1765086482,"compaign_send_complete_time":1765086492}
    [50] => 0
    [compaign_file] => 0
    [51] => u83_81772_07122025_111710AM_935
    [common_name] => u83_81772_07122025_111710AM_935
    [52] => 1765002193_u83_voice.wav
    [voice_file] => 1765002193_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_68974
    [temp_group_table] => contacts_temp_group_68974
    [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] => 1765086722
    [last_credit_update_time] => 1765086722
    [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 : 81772
\compaign_type : Rans per 26.37622 
ans sms 561
dnd sms 179

require answer perrequire answer per : 101

user answer per : 49
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_81772 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_81772 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 : 102 no_answer_count : 35 Busy count :27 congestion_count : 13 failed_count : 27UPDATE voice_compaign_detail_81772 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 35 UPDATE voice_compaign_detail_81772 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 27 UPDATE voice_compaign_detail_81772 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 13 UPDATE voice_compaign_detail_81772 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`='101', `user_busy_sms`='83', `user_congestion_sms`='13', `user_failed_sms`='93', `user_hangup_sms`='0', `user_no_answer_sms`='92', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='179' WHERE `compaign_id`=81772 LIMIT 1 


Time Diff : 0.301

Array
(
    [0] => 81773
    [compaign_id] => 81773
    [1] => u83
    [user_id] => u83
    [2] => 68975,
    [group_ids] => 68975,
    [3] => 
    [sender_id] => 
    [4] => eddumail.mp3
    [filename] => eddumail.mp3
    [5] => 16
    [duration] => 16
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765086426
    [start_date] => 1765086426
    [9] => 0
    [end_date] => 0
    [10] => 882
    [total_sms] => 882
    [11] => 882
    [sent_sms] => 882
    [12] => 0
    [duplicate_sms] => 0
    [13] => 60
    [answered_sms] => 60
    [14] => 54
    [busy_sms] => 54
    [15] => 0
    [congestion_sms] => 0
    [16] => 93
    [failed_sms] => 93
    [17] => 0
    [hangup_sms] => 0
    [18] => 111
    [no_answer_sms] => 111
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 254
    [cutting_sms] => 254
    [22] => 310
    [dnd_sms] => 310
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 60
    [user_answered_sms] => 60
    [27] => 54
    [user_busy_sms] => 54
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 93
    [user_failed_sms] => 93
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 111
    [user_no_answer_sms] => 111
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 310
    [user_dnd_sms] => 310
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u83
    [created_by] => u83
    [38] => 0
    [isScheduled] => 0
    [39] => 1765086426
    [create_date] => 1765086426
    [40] => 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":1765086432,"compaign_read_start_time":1765086443,"compaign_read_complete_time":1765086444,"compaign_send_start_time":1765086482,"compaign_send_complete_time":1765086492}
    [action_time] => {"api_allot_time":1765086432,"compaign_read_start_time":1765086443,"compaign_read_complete_time":1765086444,"compaign_send_start_time":1765086482,"compaign_send_complete_time":1765086492}
    [50] => 0
    [compaign_file] => 0
    [51] => u83_81773_07122025_111712AM_396
    [common_name] => u83_81773_07122025_111712AM_396
    [52] => 1765002193_u83_voice.wav
    [voice_file] => 1765002193_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_68975
    [temp_group_table] => contacts_temp_group_68975
    [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] => 1765086722
    [last_credit_update_time] => 1765086722
    [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 : 81773
\compaign_type : Rans per 29.12709 
ans sms 882
dnd sms 310

require answer perrequire answer per : 167

user answer per : 60
below is the redis data 107 /n/r
only no answer and busy will be convert, total number require 107 /n/r
UPDATE voice_compaign_detail_81773 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 84 UPDATE voice_compaign_detail_81773 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 84 Total Failed : 130 no_answer_count : 44 Busy count :34 congestion_count : 16 failed_count : 36UPDATE voice_compaign_detail_81773 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 44 UPDATE voice_compaign_detail_81773 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 34 UPDATE voice_compaign_detail_81773 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 16 UPDATE voice_compaign_detail_81773 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`='167', `user_busy_sms`='132', `user_congestion_sms`='16', `user_failed_sms`='85', `user_hangup_sms`='0', `user_no_answer_sms`='172', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='310' WHERE `compaign_id`=81773 LIMIT 1 


Time Diff : 0.19

Array
(
    [0] => 81774
    [compaign_id] => 81774
    [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] => 1765086433
    [start_date] => 1765086433
    [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] => 26
    [busy_sms] => 26
    [15] => 0
    [congestion_sms] => 0
    [16] => 98
    [failed_sms] => 98
    [17] => 0
    [hangup_sms] => 0
    [18] => 49
    [no_answer_sms] => 49
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 109
    [cutting_sms] => 109
    [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] => 26
    [user_busy_sms] => 26
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 98
    [user_failed_sms] => 98
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 49
    [user_no_answer_sms] => 49
    [32] => 0
    [user_timeout_duration_sms] => 0
    [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] => 1765086433
    [create_date] => 1765086433
    [40] => 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":1765086439,"compaign_read_start_time":1765086446,"compaign_read_complete_time":1765086447,"compaign_send_start_time":1765086482,"compaign_send_complete_time":1765086492}
    [action_time] => {"api_allot_time":1765086439,"compaign_read_start_time":1765086446,"compaign_read_complete_time":1765086447,"compaign_send_start_time":1765086482,"compaign_send_complete_time":1765086492}
    [50] => 0
    [compaign_file] => 0
    [51] => u371_81774_07122025_111718AM_351
    [common_name] => u371_81774_07122025_111718AM_351
    [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] => 1765086722
    [last_credit_update_time] => 1765086722
    [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 : 81774
\compaign_type : Rans per 26.75986 
ans sms 324
dnd sms 0

require answer perrequire answer per : 87

user answer per : 42
below is the redis data 45 /n/r
only no answer and busy will be convert, total number require 45 /n/r
UPDATE voice_compaign_detail_81774 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 35 UPDATE voice_compaign_detail_81774 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 35 Total Failed : 70 no_answer_count : 24 Busy count :18 congestion_count : 9 failed_count : 19UPDATE voice_compaign_detail_81774 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 24 UPDATE voice_compaign_detail_81774 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 18 UPDATE voice_compaign_detail_81774 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 9 UPDATE voice_compaign_detail_81774 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`='87', `user_busy_sms`='63', `user_congestion_sms`='9', `user_failed_sms`='86', `user_hangup_sms`='0', `user_no_answer_sms`='79', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81774 LIMIT 1 


Time Diff : 0.781

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764827641'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764827702'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764827761'  
Array
(
    [0] => 81712
    [compaign_id] => 81712
    [1] => u607
    [user_id] => u607
    [2] => 68925,
    [group_ids] => 68925,
    [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] => 1765086300
    [start_date] => 1765086300
    [9] => 0
    [end_date] => 0
    [10] => 974
    [total_sms] => 974
    [11] => 974
    [sent_sms] => 974
    [12] => 0
    [duplicate_sms] => 0
    [13] => 71
    [answered_sms] => 71
    [14] => 52
    [busy_sms] => 52
    [15] => 0
    [congestion_sms] => 0
    [16] => 241
    [failed_sms] => 241
    [17] => 0
    [hangup_sms] => 0
    [18] => 54
    [no_answer_sms] => 54
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 368
    [cutting_sms] => 368
    [22] => 188
    [dnd_sms] => 188
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 71
    [user_answered_sms] => 71
    [27] => 52
    [user_busy_sms] => 52
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 241
    [user_failed_sms] => 241
    [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] => 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] => 1765083426
    [create_date] => 1765083426
    [40] => 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":1765086309,"compaign_read_start_time":1765086392,"compaign_read_complete_time":1765086393,"compaign_send_start_time":1765086422,"compaign_send_complete_time":1765086493}
    [action_time] => {"api_allot_time":1765086309,"compaign_read_start_time":1765086392,"compaign_read_complete_time":1765086393,"compaign_send_start_time":1765086422,"compaign_send_complete_time":1765086493}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81712_07122025_111506AM_793
    [common_name] => u607_81712_07122025_111506AM_793
    [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_68925
    [temp_group_table] => contacts_temp_group_68925
    [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] => 1765086902
    [last_credit_update_time] => 1765086902
    [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 : 81712
\compaign_type : Rans per 29.22104 
ans sms 974
dnd sms 188

require answer perrequire answer per : 230

user answer per : 71
below is the redis data 159 /n/r
only no answer and busy will be convert, total number require 159 /n/r
UPDATE voice_compaign_detail_81712 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 121 UPDATE voice_compaign_detail_81712 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 121 Total Failed : 219 no_answer_count : 74 Busy count :57 congestion_count : 26 failed_count : 62UPDATE voice_compaign_detail_81712 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 74 UPDATE voice_compaign_detail_81712 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 57 UPDATE voice_compaign_detail_81712 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 26 UPDATE voice_compaign_detail_81712 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 62 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='177', `user_busy_sms`='178', `user_congestion_sms`='26', `user_failed_sms`='210', `user_hangup_sms`='0', `user_no_answer_sms`='195', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='188' WHERE `compaign_id`=81712 LIMIT 1 


Time Diff : 0.355

Array
(
    [0] => 81728
    [compaign_id] => 81728
    [1] => u607
    [user_id] => u607
    [2] => 68946,
    [group_ids] => 68946,
    [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] => 1765086300
    [start_date] => 1765086300
    [9] => 0
    [end_date] => 0
    [10] => 5692
    [total_sms] => 5692
    [11] => 5692
    [sent_sms] => 5692
    [12] => 0
    [duplicate_sms] => 0
    [13] => 295
    [answered_sms] => 295
    [14] => 261
    [busy_sms] => 261
    [15] => 0
    [congestion_sms] => 0
    [16] => 1397
    [failed_sms] => 1397
    [17] => 0
    [hangup_sms] => 0
    [18] => 243
    [no_answer_sms] => 243
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2490
    [cutting_sms] => 2490
    [22] => 1006
    [dnd_sms] => 1006
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 295
    [user_answered_sms] => 295
    [27] => 261
    [user_busy_sms] => 261
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1397
    [user_failed_sms] => 1397
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 243
    [user_no_answer_sms] => 243
    [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] => 1765083754
    [create_date] => 1765083754
    [40] => 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":1765086309,"compaign_read_start_time":1765086410,"compaign_read_complete_time":1765086423,"compaign_send_start_time":1765086481,"compaign_send_complete_time":1765086501}
    [action_time] => {"api_allot_time":1765086309,"compaign_read_start_time":1765086410,"compaign_read_complete_time":1765086423,"compaign_send_start_time":1765086481,"compaign_send_complete_time":1765086501}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81728_07122025_111506AM_358
    [common_name] => u607_81728_07122025_111506AM_358
    [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_68946
    [temp_group_table] => contacts_temp_group_68946
    [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] => 1765086902
    [last_credit_update_time] => 1765086902
    [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 : 81728
\compaign_type : Rans per 27.64622 
ans sms 5692
dnd sms 1006

require answer perrequire answer per : 1296

user answer per : 295
below is the redis data 1001 /n/r
only no answer and busy will be convert, total number require 1001 /n/r
UPDATE voice_compaign_detail_81728 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 711 UPDATE voice_compaign_detail_81728 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 711 Total Failed : 1577 no_answer_count : 526 Busy count :405 congestion_count : 188 failed_count : 458UPDATE voice_compaign_detail_81728 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 526 UPDATE voice_compaign_detail_81728 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 405 UPDATE voice_compaign_detail_81728 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 188 UPDATE voice_compaign_detail_81728 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 458 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='799', `user_busy_sms`='1116', `user_congestion_sms`='188', `user_failed_sms`='1346', `user_hangup_sms`='0', `user_no_answer_sms`='1237', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='1006' WHERE `compaign_id`=81728 LIMIT 1 


Time Diff : 0.061

Array
(
    [0] => 81779
    [compaign_id] => 81779
    [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] => 1765086597
    [start_date] => 1765086597
    [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] => 28
    [busy_sms] => 28
    [15] => 0
    [congestion_sms] => 0
    [16] => 70
    [failed_sms] => 70
    [17] => 0
    [hangup_sms] => 0
    [18] => 31
    [no_answer_sms] => 31
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 87
    [cutting_sms] => 87
    [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] => 28
    [user_busy_sms] => 28
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 70
    [user_failed_sms] => 70
    [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] => 1765086597
    [create_date] => 1765086597
    [40] => 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":1765086604,"compaign_read_start_time":1765086604,"compaign_read_complete_time":1765086605,"compaign_send_start_time":1765086663,"compaign_send_complete_time":1765086665}
    [action_time] => {"api_allot_time":1765086604,"compaign_read_start_time":1765086604,"compaign_read_complete_time":1765086605,"compaign_send_start_time":1765086663,"compaign_send_complete_time":1765086665}
    [50] => 0
    [compaign_file] => 0
    [51] => u371_81779_07122025_112003AM_636
    [common_name] => u371_81779_07122025_112003AM_636
    [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] => 1765086902
    [last_credit_update_time] => 1765086902
    [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 : 81779
\compaign_type : Rans per 27.36458 
ans sms 268
dnd sms 0

require answer perrequire answer per : 74

user answer per : 52
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_81779 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 18 UPDATE voice_compaign_detail_81779 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 18 Total Failed : 69 no_answer_count : 24 Busy count :18 congestion_count : 9 failed_count : 18UPDATE voice_compaign_detail_81779 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 24 UPDATE voice_compaign_detail_81779 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 18 UPDATE voice_compaign_detail_81779 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 9 UPDATE voice_compaign_detail_81779 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`='74', `user_busy_sms`='53', `user_congestion_sms`='9', `user_failed_sms`='70', `user_hangup_sms`='0', `user_no_answer_sms`='62', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81779 LIMIT 1 


Time Diff : 1.015

Array
(
    [0] => 81780
    [compaign_id] => 81780
    [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] => 1765086639
    [start_date] => 1765086639
    [9] => 0
    [end_date] => 0
    [10] => 2086
    [total_sms] => 2086
    [11] => 2086
    [sent_sms] => 2086
    [12] => 0
    [duplicate_sms] => 0
    [13] => 275
    [answered_sms] => 275
    [14] => 120
    [busy_sms] => 120
    [15] => 1
    [congestion_sms] => 1
    [16] => 458
    [failed_sms] => 458
    [17] => 0
    [hangup_sms] => 0
    [18] => 217
    [no_answer_sms] => 217
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 1015
    [cutting_sms] => 1015
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 275
    [user_answered_sms] => 275
    [27] => 120
    [user_busy_sms] => 120
    [28] => 1
    [user_congestion_sms] => 1
    [29] => 458
    [user_failed_sms] => 458
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 217
    [user_no_answer_sms] => 217
    [32] => 0
    [user_timeout_duration_sms] => 0
    [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] => 1765086639
    [create_date] => 1765086639
    [40] => 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":1765086646,"compaign_read_start_time":1765086646,"compaign_read_complete_time":1765086649,"compaign_send_start_time":1765086663,"compaign_send_complete_time":1765086669}
    [action_time] => {"api_allot_time":1765086646,"compaign_read_start_time":1765086646,"compaign_read_complete_time":1765086649,"compaign_send_start_time":1765086663,"compaign_send_complete_time":1765086669}
    [50] => 0
    [compaign_file] => 0
    [51] => u371_81780_07122025_112045AM_443
    [common_name] => u371_81780_07122025_112045AM_443
    [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] => 1765086902
    [last_credit_update_time] => 1765086902
    [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 : 81780
\compaign_type : Rans per 30.5014 
ans sms 2086
dnd sms 0

require answer perrequire answer per : 637

user answer per : 275
below is the redis data 362 /n/r
only no answer and busy will be convert, total number require 362 /n/r
UPDATE voice_compaign_detail_81780 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 268 UPDATE voice_compaign_detail_81780 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 268 Total Failed : 641 no_answer_count : 214 Busy count :165 congestion_count : 77 failed_count : 185UPDATE voice_compaign_detail_81780 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 214 UPDATE voice_compaign_detail_81780 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 165 UPDATE voice_compaign_detail_81780 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 77 UPDATE voice_compaign_detail_81780 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 185 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='612', `user_busy_sms`='433', `user_congestion_sms`='77', `user_failed_sms`='482', `user_hangup_sms`='0', `user_no_answer_sms`='482', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81780 LIMIT 1 


Time Diff : 0.13

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


Compaign : 81650
\compaign_type : ATans per 29.55453 
ans sms 9899
dnd sms 0

require answer perrequire answer per : 2926

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='32', `user_busy_sms`='2096', `user_congestion_sms`='0', `user_failed_sms`='7541', `user_hangup_sms`='0', `user_no_answer_sms`='230', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81650 LIMIT 1 


Time Diff : 0.518

Array
(
    [0] => 81706
    [compaign_id] => 81706
    [1] => u607
    [user_id] => u607
    [2] => 68934,
    [group_ids] => 68934,
    [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] => 1765086300
    [start_date] => 1765086300
    [9] => 0
    [end_date] => 0
    [10] => 280
    [total_sms] => 280
    [11] => 280
    [sent_sms] => 280
    [12] => 0
    [duplicate_sms] => 0
    [13] => 32
    [answered_sms] => 32
    [14] => 26
    [busy_sms] => 26
    [15] => 0
    [congestion_sms] => 0
    [16] => 48
    [failed_sms] => 48
    [17] => 0
    [hangup_sms] => 0
    [18] => 35
    [no_answer_sms] => 35
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 83
    [cutting_sms] => 83
    [22] => 56
    [dnd_sms] => 56
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 32
    [user_answered_sms] => 32
    [27] => 26
    [user_busy_sms] => 26
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 48
    [user_failed_sms] => 48
    [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] => 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] => 1765083423
    [create_date] => 1765083423
    [40] => 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":1765086436,"compaign_read_start_time":1765086481,"compaign_read_complete_time":1765086483,"compaign_send_start_time":1765086542,"compaign_send_complete_time":1765086603}
    [action_time] => {"api_allot_time":1765086436,"compaign_read_start_time":1765086481,"compaign_read_complete_time":1765086483,"compaign_send_start_time":1765086542,"compaign_send_complete_time":1765086603}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81706_07122025_111505AM_617
    [common_name] => u607_81706_07122025_111505AM_617
    [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_68934
    [temp_group_table] => contacts_temp_group_68934
    [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] => 1765087021
    [last_credit_update_time] => 1765087021
    [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 : 81706
\compaign_type : Rans per 28.10248 
ans sms 280
dnd sms 56

require answer perrequire answer per : 63

user answer per : 32
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_81706 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_81706 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 : 49 no_answer_count : 17 Busy count :13 congestion_count : 6 failed_count : 13UPDATE voice_compaign_detail_81706 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 17 UPDATE voice_compaign_detail_81706 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 13 UPDATE voice_compaign_detail_81706 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 6 UPDATE voice_compaign_detail_81706 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`='63', `user_busy_sms`='48', `user_congestion_sms`='6', `user_failed_sms`='45', `user_hangup_sms`='0', `user_no_answer_sms`='62', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='56' WHERE `compaign_id`=81706 LIMIT 1 


Time Diff : 0.796

Array
(
    [0] => 81711
    [compaign_id] => 81711
    [1] => u607
    [user_id] => u607
    [2] => 68931,
    [group_ids] => 68931,
    [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] => 1765086300
    [start_date] => 1765086300
    [9] => 0
    [end_date] => 0
    [10] => 696
    [total_sms] => 696
    [11] => 696
    [sent_sms] => 696
    [12] => 0
    [duplicate_sms] => 0
    [13] => 66
    [answered_sms] => 66
    [14] => 42
    [busy_sms] => 42
    [15] => 0
    [congestion_sms] => 0
    [16] => 142
    [failed_sms] => 142
    [17] => 0
    [hangup_sms] => 0
    [18] => 64
    [no_answer_sms] => 64
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 239
    [cutting_sms] => 239
    [22] => 143
    [dnd_sms] => 143
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 66
    [user_answered_sms] => 66
    [27] => 42
    [user_busy_sms] => 42
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 142
    [user_failed_sms] => 142
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 64
    [user_no_answer_sms] => 64
    [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] => 1765083425
    [create_date] => 1765083425
    [40] => 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":1765086437,"compaign_read_start_time":1765086484,"compaign_read_complete_time":1765086486,"compaign_send_start_time":1765086542,"compaign_send_complete_time":1765086544}
    [action_time] => {"api_allot_time":1765086437,"compaign_read_start_time":1765086484,"compaign_read_complete_time":1765086486,"compaign_send_start_time":1765086542,"compaign_send_complete_time":1765086544}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81711_07122025_111506AM_292
    [common_name] => u607_81711_07122025_111506AM_292
    [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_68931
    [temp_group_table] => contacts_temp_group_68931
    [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] => 1765087021
    [last_credit_update_time] => 1765087021
    [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 : 81711
\compaign_type : Rans per 29.25739 
ans sms 696
dnd sms 143

require answer perrequire answer per : 162

user answer per : 66
below is the redis data 96 /n/r
only no answer and busy will be convert, total number require 96 /n/r
UPDATE voice_compaign_detail_81711 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_81711 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 : 154 no_answer_count : 52 Busy count :40 congestion_count : 19 failed_count : 43UPDATE voice_compaign_detail_81711 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 52 UPDATE voice_compaign_detail_81711 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 40 UPDATE voice_compaign_detail_81711 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 19 UPDATE voice_compaign_detail_81711 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`='162', `user_busy_sms`='117', `user_congestion_sms`='19', `user_failed_sms`='128', `user_hangup_sms`='0', `user_no_answer_sms`='127', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='143' WHERE `compaign_id`=81711 LIMIT 1 


Time Diff : 0.389

Array
(
    [0] => 81715
    [compaign_id] => 81715
    [1] => u607
    [user_id] => u607
    [2] => 68921,
    [group_ids] => 68921,
    [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] => 1765086300
    [start_date] => 1765086300
    [9] => 0
    [end_date] => 0
    [10] => 1677
    [total_sms] => 1677
    [11] => 1677
    [sent_sms] => 1677
    [12] => 0
    [duplicate_sms] => 0
    [13] => 137
    [answered_sms] => 137
    [14] => 85
    [busy_sms] => 85
    [15] => 1
    [congestion_sms] => 1
    [16] => 409
    [failed_sms] => 409
    [17] => 0
    [hangup_sms] => 0
    [18] => 99
    [no_answer_sms] => 99
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 733
    [cutting_sms] => 733
    [22] => 213
    [dnd_sms] => 213
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 137
    [user_answered_sms] => 137
    [27] => 85
    [user_busy_sms] => 85
    [28] => 1
    [user_congestion_sms] => 1
    [29] => 409
    [user_failed_sms] => 409
    [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] => 213
    [user_dnd_sms] => 213
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u607
    [created_by] => u607
    [38] => 1
    [isScheduled] => 1
    [39] => 1765083429
    [create_date] => 1765083429
    [40] => 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":1765086437,"compaign_read_start_time":1765086487,"compaign_read_complete_time":1765086491,"compaign_send_start_time":1765086542,"compaign_send_complete_time":1765086546}
    [action_time] => {"api_allot_time":1765086437,"compaign_read_start_time":1765086487,"compaign_read_complete_time":1765086491,"compaign_send_start_time":1765086542,"compaign_send_complete_time":1765086546}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81715_07122025_111506AM_922
    [common_name] => u607_81715_07122025_111506AM_922
    [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_68921
    [temp_group_table] => contacts_temp_group_68921
    [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] => 1765087021
    [last_credit_update_time] => 1765087021
    [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 : 81715
\compaign_type : Rans per 26.09426 
ans sms 1677
dnd sms 213

require answer perrequire answer per : 383

user answer per : 137
below is the redis data 246 /n/r
only no answer and busy will be convert, total number require 246 /n/r
UPDATE voice_compaign_detail_81715 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 180 UPDATE voice_compaign_detail_81715 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 180 Total Failed : 495 no_answer_count : 166 Busy count :128 congestion_count : 59 failed_count : 142UPDATE voice_compaign_detail_81715 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 166 UPDATE voice_compaign_detail_81715 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 128 UPDATE voice_compaign_detail_81715 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 59 UPDATE voice_compaign_detail_81715 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 142 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='321', `user_busy_sms`='308', `user_congestion_sms`='59', `user_failed_sms`='430', `user_hangup_sms`='0', `user_no_answer_sms`='346', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='213' WHERE `compaign_id`=81715 LIMIT 1 


Time Diff : 0.162

Array
(
    [0] => 81775
    [compaign_id] => 81775
    [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] => 1765086550
    [start_date] => 1765086550
    [9] => 0
    [end_date] => 0
    [10] => 588
    [total_sms] => 588
    [11] => 588
    [sent_sms] => 588
    [12] => 0
    [duplicate_sms] => 0
    [13] => 78
    [answered_sms] => 78
    [14] => 52
    [busy_sms] => 52
    [15] => 0
    [congestion_sms] => 0
    [16] => 133
    [failed_sms] => 133
    [17] => 0
    [hangup_sms] => 0
    [18] => 65
    [no_answer_sms] => 65
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 260
    [cutting_sms] => 260
    [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] => 52
    [user_busy_sms] => 52
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 133
    [user_failed_sms] => 133
    [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] => 1765086550
    [create_date] => 1765086550
    [40] => 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":1765086686,"compaign_read_start_time":1765086722,"compaign_read_complete_time":1765086723,"compaign_send_start_time":1765086782,"compaign_send_complete_time":1765086843}
    [action_time] => {"api_allot_time":1765086686,"compaign_read_start_time":1765086722,"compaign_read_complete_time":1765086723,"compaign_send_start_time":1765086782,"compaign_send_complete_time":1765086843}
    [50] => 0
    [compaign_file] => 0
    [51] => u371_81775_07122025_111916AM_840
    [common_name] => u371_81775_07122025_111916AM_840
    [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] => 1765087021
    [last_credit_update_time] => 1765087021
    [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 : 81775
\compaign_type : Rans per 27.86492 
ans sms 588
dnd sms 0

require answer perrequire answer per : 164

user answer per : 78
below is the redis data 86 /n/r
only no answer and busy will be convert, total number require 86 /n/r
UPDATE voice_compaign_detail_81775 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_81775 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 : 179 no_answer_count : 60 Busy count :46 congestion_count : 22 failed_count : 51UPDATE voice_compaign_detail_81775 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 60 UPDATE voice_compaign_detail_81775 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 46 UPDATE voice_compaign_detail_81775 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 22 UPDATE voice_compaign_detail_81775 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`='164', `user_busy_sms`='121', `user_congestion_sms`='22', `user_failed_sms`='137', `user_hangup_sms`='0', `user_no_answer_sms`='144', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81775 LIMIT 1 


Time Diff : 0.26

Array
(
    [0] => 81777
    [compaign_id] => 81777
    [1] => u371
    [user_id] => u371
    [2] => 67061,
    [group_ids] => 67061,
    [3] => 
    [sender_id] => 
    [4] => Hunsa Kacchakayala CV.mp3
    [filename] => Hunsa Kacchakayala CV.mp3
    [5] => 27
    [duration] => 27
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765086582
    [start_date] => 1765086582
    [9] => 0
    [end_date] => 0
    [10] => 643
    [total_sms] => 643
    [11] => 643
    [sent_sms] => 643
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 29
    [busy_sms] => 29
    [15] => 0
    [congestion_sms] => 0
    [16] => 263
    [failed_sms] => 263
    [17] => 0
    [hangup_sms] => 0
    [18] => 67
    [no_answer_sms] => 67
    [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] => 0
    [user_answered_sms] => 0
    [27] => 29
    [user_busy_sms] => 29
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 263
    [user_failed_sms] => 263
    [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] => 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] => 1765086582
    [create_date] => 1765086582
    [40] => 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":1765086717,"compaign_read_start_time":1765086724,"compaign_read_complete_time":1765086726,"compaign_send_start_time":1765086782,"compaign_send_complete_time":1765086784}
    [action_time] => {"api_allot_time":1765086717,"compaign_read_start_time":1765086724,"compaign_read_complete_time":1765086726,"compaign_send_start_time":1765086782,"compaign_send_complete_time":1765086784}
    [50] => 0
    [compaign_file] => 0
    [51] => u371_81777_07122025_111948AM_744
    [common_name] => u371_81777_07122025_111948AM_744
    [52] => 1765009972_u371_voice.wav
    [voice_file] => 1765009972_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] => 1765087021
    [last_credit_update_time] => 1765087021
    [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 : 81777
\compaign_type : Rans per 25.07872 
ans sms 643
dnd sms 0

require answer perrequire answer per : 162

user answer per : 0
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_81777 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 120 UPDATE voice_compaign_detail_81777 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 120 Total Failed : 161 no_answer_count : 54 Busy count :42 congestion_count : 20 failed_count : 45UPDATE voice_compaign_detail_81777 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 54 UPDATE voice_compaign_detail_81777 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 42 UPDATE voice_compaign_detail_81777 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 20 UPDATE voice_compaign_detail_81777 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`='96', `user_busy_sms`='162', `user_congestion_sms`='20', `user_failed_sms`='191', `user_hangup_sms`='0', `user_no_answer_sms`='174', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81777 LIMIT 1 


Time Diff : 0.3

Array
(
    [0] => 81781
    [compaign_id] => 81781
    [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] => 1765086655
    [start_date] => 1765086655
    [9] => 0
    [end_date] => 0
    [10] => 654
    [total_sms] => 654
    [11] => 654
    [sent_sms] => 654
    [12] => 0
    [duplicate_sms] => 0
    [13] => 99
    [answered_sms] => 99
    [14] => 45
    [busy_sms] => 45
    [15] => 0
    [congestion_sms] => 0
    [16] => 156
    [failed_sms] => 156
    [17] => 0
    [hangup_sms] => 0
    [18] => 83
    [no_answer_sms] => 83
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 271
    [cutting_sms] => 271
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 99
    [user_answered_sms] => 99
    [27] => 45
    [user_busy_sms] => 45
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 156
    [user_failed_sms] => 156
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 83
    [user_no_answer_sms] => 83
    [32] => 0
    [user_timeout_duration_sms] => 0
    [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] => 1765086655
    [create_date] => 1765086655
    [40] => 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":1765086663,"compaign_read_start_time":1765086665,"compaign_read_complete_time":1765086666,"compaign_send_start_time":1765086722,"compaign_send_complete_time":1765086734}
    [action_time] => {"api_allot_time":1765086663,"compaign_read_start_time":1765086665,"compaign_read_complete_time":1765086666,"compaign_send_start_time":1765086722,"compaign_send_complete_time":1765086734}
    [50] => 0
    [compaign_file] => 0
    [51] => u371_81781_07122025_112102AM_982
    [common_name] => u371_81781_07122025_112102AM_982
    [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] => 1765086961
    [last_credit_update_time] => 1765086961
    [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 : 81781
\compaign_type : Rans per 29.41761 
ans sms 654
dnd sms 0

require answer perrequire answer per : 193

user answer per : 99
below is the redis data 94 /n/r
only no answer and busy will be convert, total number require 94 /n/r
UPDATE voice_compaign_detail_81781 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 76 UPDATE voice_compaign_detail_81781 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 76 Total Failed : 175 no_answer_count : 59 Busy count :45 congestion_count : 21 failed_count : 50UPDATE voice_compaign_detail_81781 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 59 UPDATE voice_compaign_detail_81781 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 45 UPDATE voice_compaign_detail_81781 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 21 UPDATE voice_compaign_detail_81781 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`='193', `user_busy_sms`='136', `user_congestion_sms`='21', `user_failed_sms`='150', `user_hangup_sms`='0', `user_no_answer_sms`='154', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81781 LIMIT 1 


Time Diff : 0.365

Array
(
    [0] => 81782
    [compaign_id] => 81782
    [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] => 1765086680
    [start_date] => 1765086680
    [9] => 0
    [end_date] => 0
    [10] => 349
    [total_sms] => 349
    [11] => 349
    [sent_sms] => 349
    [12] => 0
    [duplicate_sms] => 0
    [13] => 78
    [answered_sms] => 78
    [14] => 21
    [busy_sms] => 21
    [15] => 0
    [congestion_sms] => 0
    [16] => 55
    [failed_sms] => 55
    [17] => 0
    [hangup_sms] => 0
    [18] => 75
    [no_answer_sms] => 75
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 120
    [cutting_sms] => 120
    [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] => 21
    [user_busy_sms] => 21
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 55
    [user_failed_sms] => 55
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 75
    [user_no_answer_sms] => 75
    [32] => 0
    [user_timeout_duration_sms] => 0
    [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] => 1765086680
    [create_date] => 1765086680
    [40] => 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":1765086687,"compaign_read_start_time":1765086689,"compaign_read_complete_time":1765086690,"compaign_send_start_time":1765086722,"compaign_send_complete_time":1765086734}
    [action_time] => {"api_allot_time":1765086687,"compaign_read_start_time":1765086689,"compaign_read_complete_time":1765086690,"compaign_send_start_time":1765086722,"compaign_send_complete_time":1765086734}
    [50] => 0
    [compaign_file] => 0
    [51] => u371_81782_07122025_112126AM_304
    [common_name] => u371_81782_07122025_112126AM_304
    [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] => 1765086961
    [last_credit_update_time] => 1765086961
    [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 : 81782
\compaign_type : Rans per 29.20061 
ans sms 349
dnd sms 0

require answer perrequire answer per : 102

user answer per : 78
below is the redis data 24 /n/r
only no answer and busy will be convert, total number require 24 /n/r
UPDATE voice_compaign_detail_81782 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_81782 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 : 95 no_answer_count : 32 Busy count :25 congestion_count : 12 failed_count : 26UPDATE voice_compaign_detail_81782 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 32 UPDATE voice_compaign_detail_81782 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 25 UPDATE voice_compaign_detail_81782 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 12 UPDATE voice_compaign_detail_81782 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`='102', `user_busy_sms`='57', `user_congestion_sms`='12', `user_failed_sms`='72', `user_hangup_sms`='0', `user_no_answer_sms`='106', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81782 LIMIT 1 


Time Diff : 0.688

Array
(
    [0] => 81783
    [compaign_id] => 81783
    [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] => 1765086718
    [start_date] => 1765086718
    [9] => 0
    [end_date] => 0
    [10] => 324
    [total_sms] => 324
    [11] => 324
    [sent_sms] => 324
    [12] => 0
    [duplicate_sms] => 0
    [13] => 64
    [answered_sms] => 64
    [14] => 15
    [busy_sms] => 15
    [15] => 0
    [congestion_sms] => 0
    [16] => 99
    [failed_sms] => 99
    [17] => 0
    [hangup_sms] => 0
    [18] => 38
    [no_answer_sms] => 38
    [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] => 64
    [user_answered_sms] => 64
    [27] => 15
    [user_busy_sms] => 15
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 99
    [user_failed_sms] => 99
    [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] => u371
    [created_by] => u371
    [38] => 0
    [isScheduled] => 0
    [39] => 1765086718
    [create_date] => 1765086718
    [40] => 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":1765086724,"compaign_read_start_time":1765086728,"compaign_read_complete_time":1765086729,"compaign_send_start_time":1765086782,"compaign_send_complete_time":1765086784}
    [action_time] => {"api_allot_time":1765086724,"compaign_read_start_time":1765086728,"compaign_read_complete_time":1765086729,"compaign_send_start_time":1765086782,"compaign_send_complete_time":1765086784}
    [50] => 0
    [compaign_file] => 0
    [51] => u371_81783_07122025_112203AM_535
    [common_name] => u371_81783_07122025_112203AM_535
    [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] => 1765087021
    [last_credit_update_time] => 1765087021
    [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 : 81783
\compaign_type : Rans per 29.82867 
ans sms 324
dnd sms 0

require answer perrequire answer per : 97

user answer per : 64
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_81783 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_81783 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 : 79 no_answer_count : 27 Busy count :21 congestion_count : 10 failed_count : 21UPDATE voice_compaign_detail_81783 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 27 UPDATE voice_compaign_detail_81783 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 21 UPDATE voice_compaign_detail_81783 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 10 UPDATE voice_compaign_detail_81783 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`='97', `user_busy_sms`='55', `user_congestion_sms`='10', `user_failed_sms`='97', `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`=81783 LIMIT 1 


Time Diff : 0.593

Array
(
    [0] => 81784
    [compaign_id] => 81784
    [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] => 1765086743
    [start_date] => 1765086743
    [9] => 0
    [end_date] => 0
    [10] => 155
    [total_sms] => 155
    [11] => 155
    [sent_sms] => 155
    [12] => 0
    [duplicate_sms] => 0
    [13] => 28
    [answered_sms] => 28
    [14] => 20
    [busy_sms] => 20
    [15] => 0
    [congestion_sms] => 0
    [16] => 49
    [failed_sms] => 49
    [17] => 0
    [hangup_sms] => 0
    [18] => 25
    [no_answer_sms] => 25
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 33
    [cutting_sms] => 33
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 28
    [user_answered_sms] => 28
    [27] => 20
    [user_busy_sms] => 20
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 49
    [user_failed_sms] => 49
    [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] => 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] => 1765086743
    [create_date] => 1765086743
    [40] => 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":1765086750,"compaign_read_start_time":1765086752,"compaign_read_complete_time":1765086753,"compaign_send_start_time":1765086782,"compaign_send_complete_time":1765086783}
    [action_time] => {"api_allot_time":1765086750,"compaign_read_start_time":1765086752,"compaign_read_complete_time":1765086753,"compaign_send_start_time":1765086782,"compaign_send_complete_time":1765086783}
    [50] => 0
    [compaign_file] => 0
    [51] => u371_81784_07122025_112229AM_776
    [common_name] => u371_81784_07122025_112229AM_776
    [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] => 1765087021
    [last_credit_update_time] => 1765087021
    [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 : 81784
\compaign_type : Rans per 27.63246 
ans sms 155
dnd sms 0

require answer perrequire answer per : 43

user answer per : 28
below is the redis data 15 /n/r
only no answer and busy will be convert, total number require 15 /n/r
UPDATE voice_compaign_detail_81784 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 12 UPDATE voice_compaign_detail_81784 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 12 Total Failed : 27 no_answer_count : 10 Busy count :7 congestion_count : 4 failed_count : 6UPDATE voice_compaign_detail_81784 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 10 UPDATE voice_compaign_detail_81784 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 7 UPDATE voice_compaign_detail_81784 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 4 UPDATE voice_compaign_detail_81784 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`='43', `user_busy_sms`='34', `user_congestion_sms`='4', `user_failed_sms`='37', `user_hangup_sms`='0', `user_no_answer_sms`='37', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81784 LIMIT 1 


Time Diff : 1.245

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764827882'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764827941'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764828001'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764828062'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764828121'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764828182'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764828241'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764828301'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764828361'  
Array
(
    [0] => 81745
    [compaign_id] => 81745
    [1] => u607
    [user_id] => u607
    [2] => 68957,
    [group_ids] => 68957,
    [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] => 1765087200
    [start_date] => 1765087200
    [9] => 0
    [end_date] => 0
    [10] => 2189
    [total_sms] => 2189
    [11] => 2189
    [sent_sms] => 2189
    [12] => 0
    [duplicate_sms] => 0
    [13] => 161
    [answered_sms] => 161
    [14] => 112
    [busy_sms] => 112
    [15] => 0
    [congestion_sms] => 0
    [16] => 509
    [failed_sms] => 509
    [17] => 0
    [hangup_sms] => 0
    [18] => 123
    [no_answer_sms] => 123
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 888
    [cutting_sms] => 888
    [22] => 396
    [dnd_sms] => 396
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 161
    [user_answered_sms] => 161
    [27] => 112
    [user_busy_sms] => 112
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 509
    [user_failed_sms] => 509
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 123
    [user_no_answer_sms] => 123
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 396
    [user_dnd_sms] => 396
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u607
    [created_by] => u607
    [38] => 1
    [isScheduled] => 1
    [39] => 1765084331
    [create_date] => 1765084331
    [40] => 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":1765087206,"compaign_read_start_time":1765087207,"compaign_read_complete_time":1765087211,"compaign_send_start_time":1765087262,"compaign_send_complete_time":1765087276}
    [action_time] => {"api_allot_time":1765087206,"compaign_read_start_time":1765087207,"compaign_read_complete_time":1765087211,"compaign_send_start_time":1765087262,"compaign_send_complete_time":1765087276}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81745_07122025_113005AM_171
    [common_name] => u607_81745_07122025_113005AM_171
    [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_68957
    [temp_group_table] => contacts_temp_group_68957
    [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] => 1765087501
    [last_credit_update_time] => 1765087501
    [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 : 81745
\compaign_type : Rans per 26.52323 
ans sms 2189
dnd sms 396

require answer perrequire answer per : 476

user answer per : 161
below is the redis data 315 /n/r
only no answer and busy will be convert, total number require 315 /n/r
UPDATE voice_compaign_detail_81745 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 227 UPDATE voice_compaign_detail_81745 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 227 Total Failed : 592 no_answer_count : 198 Busy count :152 congestion_count : 71 failed_count : 171UPDATE voice_compaign_detail_81745 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 198 UPDATE voice_compaign_detail_81745 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 152 UPDATE voice_compaign_detail_81745 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 71 UPDATE voice_compaign_detail_81745 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 171 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='396', `user_busy_sms`='379', `user_congestion_sms`='71', `user_failed_sms`='522', `user_hangup_sms`='0', `user_no_answer_sms`='425', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='396' WHERE `compaign_id`=81745 LIMIT 1 


Time Diff : 0.115

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764828421'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764828487'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764828541'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764828602'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764828661'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764828721'  
Array
(
    [0] => 81811
    [compaign_id] => 81811
    [1] => u61
    [user_id] => u61
    [2] => 68999,
    [group_ids] => 68999,
    [3] => 
    [sender_id] => 
    [4] => Follow 10 Dec.mp3
    [filename] => Follow 10 Dec.mp3
    [5] => 27
    [duration] => 27
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765087610
    [start_date] => 1765087610
    [9] => 0
    [end_date] => 0
    [10] => 1264
    [total_sms] => 1264
    [11] => 1264
    [sent_sms] => 1264
    [12] => 0
    [duplicate_sms] => 0
    [13] => 211
    [answered_sms] => 211
    [14] => 97
    [busy_sms] => 97
    [15] => 0
    [congestion_sms] => 0
    [16] => 146
    [failed_sms] => 146
    [17] => 0
    [hangup_sms] => 0
    [18] => 181
    [no_answer_sms] => 181
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 629
    [cutting_sms] => 629
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 211
    [user_answered_sms] => 211
    [27] => 97
    [user_busy_sms] => 97
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 146
    [user_failed_sms] => 146
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 181
    [user_no_answer_sms] => 181
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u61
    [created_by] => u61
    [38] => 0
    [isScheduled] => 0
    [39] => 1765087610
    [create_date] => 1765087610
    [40] => 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":1765087622,"compaign_read_start_time":1765087624,"compaign_read_complete_time":1765087626,"compaign_send_start_time":1765087687,"compaign_send_complete_time":1765087744}
    [action_time] => {"api_allot_time":1765087622,"compaign_read_start_time":1765087624,"compaign_read_complete_time":1765087626,"compaign_send_start_time":1765087687,"compaign_send_complete_time":1765087744}
    [50] => 0
    [compaign_file] => 0
    [51] => u61_81811_07122025_113701AM_162
    [common_name] => u61_81811_07122025_113701AM_162
    [52] => 1765087610_u61_voice.wav
    [voice_file] => 1765087610_u61_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_68999
    [temp_group_table] => contacts_temp_group_68999
    [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] => 1765087803
    [reschedule_last_check_time] => 1765087803
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765087921
    [last_credit_update_time] => 1765087921
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 133
    [user_voice_plan_id] => 133
    [85] => 54
    [voice_plan_id] => 54
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.18
    [pulse_rate] => 0.18
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_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":1765089000,"2":1765090800,"3":1765092600,"4":1765094400,"5":1765096200}
    [rt_time] => {"1":1765089000,"2":1765090800,"3":1765092600,"4":1765094400,"5":1765096200}
    [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,u61
    [uphierarchy] => admin,u61
    [113] => 
    [extra_params_json] => 
)


Compaign : 81811
\compaign_type : Rans per 27.66786 
ans sms 1264
dnd sms 0

require answer perrequire answer per : 350

user answer per : 211
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_81811 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 102 UPDATE voice_compaign_detail_81811 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 102 Total Failed : 463 no_answer_count : 155 Busy count :119 congestion_count : 55 failed_count : 134UPDATE voice_compaign_detail_81811 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 155 UPDATE voice_compaign_detail_81811 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 119 UPDATE voice_compaign_detail_81811 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 55 UPDATE voice_compaign_detail_81811 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 134 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='350', `user_busy_sms`='270', `user_congestion_sms`='55', `user_failed_sms`='242', `user_hangup_sms`='0', `user_no_answer_sms`='347', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81811 LIMIT 1 


Time Diff : 0.103

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764828782'  
Array
(
    [0] => 81812
    [compaign_id] => 81812
    [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] => 1765087717
    [start_date] => 1765087717
    [9] => 0
    [end_date] => 0
    [10] => 1659
    [total_sms] => 1659
    [11] => 1659
    [sent_sms] => 1659
    [12] => 0
    [duplicate_sms] => 0
    [13] => 227
    [answered_sms] => 227
    [14] => 103
    [busy_sms] => 103
    [15] => 0
    [congestion_sms] => 0
    [16] => 398
    [failed_sms] => 398
    [17] => 0
    [hangup_sms] => 0
    [18] => 171
    [no_answer_sms] => 171
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 760
    [cutting_sms] => 760
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 227
    [user_answered_sms] => 227
    [27] => 103
    [user_busy_sms] => 103
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 398
    [user_failed_sms] => 398
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 171
    [user_no_answer_sms] => 171
    [32] => 0
    [user_timeout_duration_sms] => 0
    [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] => 1765087717
    [create_date] => 1765087717
    [40] => 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":1765087723,"compaign_read_start_time":1765087726,"compaign_read_complete_time":1765087728,"compaign_send_start_time":1765087741,"compaign_send_complete_time":1765087745}
    [action_time] => {"api_allot_time":1765087723,"compaign_read_start_time":1765087726,"compaign_read_complete_time":1765087728,"compaign_send_start_time":1765087741,"compaign_send_complete_time":1765087745}
    [50] => 0
    [compaign_file] => 0
    [51] => u371_81812_07122025_113843AM_473
    [common_name] => u371_81812_07122025_113843AM_473
    [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] => 1765087981
    [last_credit_update_time] => 1765087981
    [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 : 81812
\compaign_type : Rans per 29.32167 
ans sms 1659
dnd sms 0

require answer perrequire answer per : 487

user answer per : 227
below is the redis data 260 /n/r
only no answer and busy will be convert, total number require 260 /n/r
UPDATE voice_compaign_detail_81812 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 193 UPDATE voice_compaign_detail_81812 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 193 Total Failed : 509 no_answer_count : 170 Busy count :131 congestion_count : 61 failed_count : 147UPDATE voice_compaign_detail_81812 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 170 UPDATE voice_compaign_detail_81812 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 131 UPDATE voice_compaign_detail_81812 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 61 UPDATE voice_compaign_detail_81812 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 147 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='487', `user_busy_sms`='330', `user_congestion_sms`='61', `user_failed_sms`='410', `user_hangup_sms`='0', `user_no_answer_sms`='371', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81812 LIMIT 1 


Time Diff : 0.115

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764828841'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764828901'  
Array
(
    [0] => 81814
    [compaign_id] => 81814
    [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] => 1765087733
    [start_date] => 1765087733
    [9] => 0
    [end_date] => 0
    [10] => 195
    [total_sms] => 195
    [11] => 195
    [sent_sms] => 195
    [12] => 0
    [duplicate_sms] => 0
    [13] => 39
    [answered_sms] => 39
    [14] => 11
    [busy_sms] => 11
    [15] => 0
    [congestion_sms] => 0
    [16] => 75
    [failed_sms] => 75
    [17] => 0
    [hangup_sms] => 0
    [18] => 16
    [no_answer_sms] => 16
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 54
    [cutting_sms] => 54
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 39
    [user_answered_sms] => 39
    [27] => 11
    [user_busy_sms] => 11
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 75
    [user_failed_sms] => 75
    [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] => 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] => 1765087733
    [create_date] => 1765087733
    [40] => 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":1765087742,"compaign_read_start_time":1765087744,"compaign_read_complete_time":1765087744,"compaign_send_start_time":1765087802,"compaign_send_complete_time":1765087803}
    [action_time] => {"api_allot_time":1765087742,"compaign_read_start_time":1765087744,"compaign_read_complete_time":1765087744,"compaign_send_start_time":1765087802,"compaign_send_complete_time":1765087803}
    [50] => 0
    [compaign_file] => 0
    [51] => u371_81814_07122025_113901AM_721
    [common_name] => u371_81814_07122025_113901AM_721
    [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] => 1765088041
    [last_credit_update_time] => 1765088041
    [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 : 81814
\compaign_type : Rans per 29.03477 
ans sms 195
dnd sms 0

require answer perrequire answer per : 57

user answer per : 39
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_81814 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_81814 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_81814 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 14 UPDATE voice_compaign_detail_81814 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 11 UPDATE voice_compaign_detail_81814 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 5 UPDATE voice_compaign_detail_81814 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`='57', `user_busy_sms`='28', `user_congestion_sms`='5', `user_failed_sms`='69', `user_hangup_sms`='0', `user_no_answer_sms`='36', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81814 LIMIT 1 


Time Diff : 1.395

Array
(
    [0] => 81815
    [compaign_id] => 81815
    [1] => u371
    [user_id] => u371
    [2] => 68851,
    [group_ids] => 68851,
    [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] => 1765087756
    [start_date] => 1765087756
    [9] => 0
    [end_date] => 0
    [10] => 549
    [total_sms] => 549
    [11] => 549
    [sent_sms] => 549
    [12] => 0
    [duplicate_sms] => 0
    [13] => 105
    [answered_sms] => 105
    [14] => 40
    [busy_sms] => 40
    [15] => 0
    [congestion_sms] => 0
    [16] => 117
    [failed_sms] => 117
    [17] => 0
    [hangup_sms] => 0
    [18] => 64
    [no_answer_sms] => 64
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 223
    [cutting_sms] => 223
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 105
    [user_answered_sms] => 105
    [27] => 40
    [user_busy_sms] => 40
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 117
    [user_failed_sms] => 117
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 64
    [user_no_answer_sms] => 64
    [32] => 0
    [user_timeout_duration_sms] => 0
    [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] => 1765087756
    [create_date] => 1765087756
    [40] => 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":1765087762,"compaign_read_start_time":1765087762,"compaign_read_complete_time":1765087763,"compaign_send_start_time":1765087802,"compaign_send_complete_time":1765087804}
    [action_time] => {"api_allot_time":1765087762,"compaign_read_start_time":1765087762,"compaign_read_complete_time":1765087763,"compaign_send_start_time":1765087802,"compaign_send_complete_time":1765087804}
    [50] => 0
    [compaign_file] => 0
    [51] => u371_81815_07122025_113921AM_151
    [common_name] => u371_81815_07122025_113921AM_151
    [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_68851
    [temp_group_table] => contacts_temp_group_68851
    [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] => 1765088041
    [last_credit_update_time] => 1765088041
    [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 : 81815
\compaign_type : Rans per 25.07588 
ans sms 549
dnd sms 0

require answer perrequire answer per : 138

user answer per : 105
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_81815 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_81815 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 : 186 no_answer_count : 63 Busy count :48 congestion_count : 23 failed_count : 52UPDATE voice_compaign_detail_81815 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 63 UPDATE voice_compaign_detail_81815 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 48 UPDATE voice_compaign_detail_81815 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 23 UPDATE voice_compaign_detail_81815 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 52 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='138', `user_busy_sms`='94', `user_congestion_sms`='23', `user_failed_sms`='158', `user_hangup_sms`='0', `user_no_answer_sms`='136', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81815 LIMIT 1 


Time Diff : 0.495

Array
(
    [0] => 81816
    [compaign_id] => 81816
    [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] => 1765087777
    [start_date] => 1765087777
    [9] => 0
    [end_date] => 0
    [10] => 1855
    [total_sms] => 1855
    [11] => 1855
    [sent_sms] => 1855
    [12] => 0
    [duplicate_sms] => 0
    [13] => 240
    [answered_sms] => 240
    [14] => 132
    [busy_sms] => 132
    [15] => 0
    [congestion_sms] => 0
    [16] => 420
    [failed_sms] => 420
    [17] => 0
    [hangup_sms] => 0
    [18] => 204
    [no_answer_sms] => 204
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 859
    [cutting_sms] => 859
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 240
    [user_answered_sms] => 240
    [27] => 132
    [user_busy_sms] => 132
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 420
    [user_failed_sms] => 420
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 204
    [user_no_answer_sms] => 204
    [32] => 0
    [user_timeout_duration_sms] => 0
    [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] => 1765087777
    [create_date] => 1765087777
    [40] => 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":1765087784,"compaign_read_start_time":1765087786,"compaign_read_complete_time":1765087789,"compaign_send_start_time":1765087802,"compaign_send_complete_time":1765087806}
    [action_time] => {"api_allot_time":1765087784,"compaign_read_start_time":1765087786,"compaign_read_complete_time":1765087789,"compaign_send_start_time":1765087802,"compaign_send_complete_time":1765087806}
    [50] => 0
    [compaign_file] => 0
    [51] => u371_81816_07122025_113943AM_247
    [common_name] => u371_81816_07122025_113943AM_247
    [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] => 1765088041
    [last_credit_update_time] => 1765088041
    [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 : 81816
\compaign_type : Rans per 25.63559 
ans sms 1855
dnd sms 0

require answer perrequire answer per : 476

user answer per : 240
below is the redis data 236 /n/r
only no answer and busy will be convert, total number require 236 /n/r
UPDATE voice_compaign_detail_81816 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_81816 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 : 632 no_answer_count : 211 Busy count :163 congestion_count : 76 failed_count : 182UPDATE voice_compaign_detail_81816 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 211 UPDATE voice_compaign_detail_81816 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 163 UPDATE voice_compaign_detail_81816 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 76 UPDATE voice_compaign_detail_81816 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 182 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='476', `user_busy_sms`='375', `user_congestion_sms`='76', `user_failed_sms`='489', `user_hangup_sms`='0', `user_no_answer_sms`='439', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81816 LIMIT 1 


Time Diff : 0.147

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764828962'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764829021'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764829082'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764829142'  
Array
(
    [0] => 81820
    [compaign_id] => 81820
    [1] => u29695
    [user_id] => u29695
    [2] => 68468,
    [group_ids] => 68468,
    [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] => 1765088012
    [start_date] => 1765088012
    [9] => 0
    [end_date] => 0
    [10] => 457
    [total_sms] => 457
    [11] => 457
    [sent_sms] => 457
    [12] => 0
    [duplicate_sms] => 0
    [13] => 69
    [answered_sms] => 69
    [14] => 27
    [busy_sms] => 27
    [15] => 0
    [congestion_sms] => 0
    [16] => 124
    [failed_sms] => 124
    [17] => 0
    [hangup_sms] => 0
    [18] => 41
    [no_answer_sms] => 41
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 196
    [cutting_sms] => 196
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 69
    [user_answered_sms] => 69
    [27] => 27
    [user_busy_sms] => 27
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 124
    [user_failed_sms] => 124
    [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] => u29695
    [created_by] => u29695
    [38] => 0
    [isScheduled] => 0
    [39] => 1765088012
    [create_date] => 1765088012
    [40] => 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":1765088018,"compaign_read_start_time":1765088020,"compaign_read_complete_time":1765088021,"compaign_send_start_time":1765088041,"compaign_send_complete_time":1765088043}
    [action_time] => {"api_allot_time":1765088018,"compaign_read_start_time":1765088020,"compaign_read_complete_time":1765088021,"compaign_send_start_time":1765088041,"compaign_send_complete_time":1765088043}
    [50] => 0
    [compaign_file] => 0
    [51] => u29695_81820_07122025_114337AM_375
    [common_name] => u29695_81820_07122025_114337AM_375
    [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_68468
    [temp_group_table] => contacts_temp_group_68468
    [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] => 1765088282
    [last_credit_update_time] => 1765088282
    [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 : 81820
\compaign_type : Rans per 25.94095 
ans sms 457
dnd sms 0

require answer perrequire answer per : 119

user answer per : 69
below is the redis data 50 UPDATE voice_compaign_detail_81820 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 50 Total Failed : 146 no_answer_count : 49 Busy count :38 congestion_count : 18 failed_count : 41UPDATE voice_compaign_detail_81820 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 49 UPDATE voice_compaign_detail_81820 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 38 UPDATE voice_compaign_detail_81820 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 18 UPDATE voice_compaign_detail_81820 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`='119', `user_busy_sms`='65', `user_congestion_sms`='18', `user_failed_sms`='165', `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`=81820 LIMIT 1 


Time Diff : 0.597

Array
(
    [0] => 81821
    [compaign_id] => 81821
    [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] => 1765088021
    [start_date] => 1765088021
    [9] => 0
    [end_date] => 0
    [10] => 453
    [total_sms] => 453
    [11] => 453
    [sent_sms] => 453
    [12] => 0
    [duplicate_sms] => 0
    [13] => 56
    [answered_sms] => 56
    [14] => 24
    [busy_sms] => 24
    [15] => 0
    [congestion_sms] => 0
    [16] => 125
    [failed_sms] => 125
    [17] => 0
    [hangup_sms] => 0
    [18] => 57
    [no_answer_sms] => 57
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 191
    [cutting_sms] => 191
    [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] => 125
    [user_failed_sms] => 125
    [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] => 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] => 1765088021
    [create_date] => 1765088021
    [40] => 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":1765088028,"compaign_read_start_time":1765088030,"compaign_read_complete_time":1765088031,"compaign_send_start_time":1765088041,"compaign_send_complete_time":1765088043}
    [action_time] => {"api_allot_time":1765088028,"compaign_read_start_time":1765088030,"compaign_read_complete_time":1765088031,"compaign_send_start_time":1765088041,"compaign_send_complete_time":1765088043}
    [50] => 0
    [compaign_file] => 0
    [51] => u29695_81821_07122025_114347AM_409
    [common_name] => u29695_81821_07122025_114347AM_409
    [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] => 1765088282
    [last_credit_update_time] => 1765088282
    [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 : 81821
\compaign_type : Rans per 27.82023 
ans sms 453
dnd sms 0

require answer perrequire answer per : 127

user answer per : 56
below is the redis data 71 UPDATE voice_compaign_detail_81821 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 71 Total Failed : 120 no_answer_count : 41 Busy count :31 congestion_count : 15 failed_count : 33UPDATE voice_compaign_detail_81821 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 41 UPDATE voice_compaign_detail_81821 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 31 UPDATE voice_compaign_detail_81821 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 15 UPDATE voice_compaign_detail_81821 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`='55', `user_congestion_sms`='15', `user_failed_sms`='158', `user_hangup_sms`='0', `user_no_answer_sms`='98', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81821 LIMIT 1 


Time Diff : 0.603

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764829202'  
Array
(
    [0] => 81822
    [compaign_id] => 81822
    [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] => 1765088033
    [start_date] => 1765088033
    [9] => 0
    [end_date] => 0
    [10] => 1282
    [total_sms] => 1282
    [11] => 1282
    [sent_sms] => 1282
    [12] => 0
    [duplicate_sms] => 0
    [13] => 114
    [answered_sms] => 114
    [14] => 46
    [busy_sms] => 46
    [15] => 0
    [congestion_sms] => 0
    [16] => 458
    [failed_sms] => 458
    [17] => 0
    [hangup_sms] => 0
    [18] => 96
    [no_answer_sms] => 96
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 568
    [cutting_sms] => 568
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 114
    [user_answered_sms] => 114
    [27] => 46
    [user_busy_sms] => 46
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 458
    [user_failed_sms] => 458
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 96
    [user_no_answer_sms] => 96
    [32] => 0
    [user_timeout_duration_sms] => 0
    [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] => 1765088033
    [create_date] => 1765088033
    [40] => 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":1765088042,"compaign_read_start_time":1765088044,"compaign_read_complete_time":1765088046,"compaign_send_start_time":1765088102,"compaign_send_complete_time":1765088105}
    [action_time] => {"api_allot_time":1765088042,"compaign_read_start_time":1765088044,"compaign_read_complete_time":1765088046,"compaign_send_start_time":1765088102,"compaign_send_complete_time":1765088105}
    [50] => 0
    [compaign_file] => 0
    [51] => u29695_81822_07122025_114401AM_815
    [common_name] => u29695_81822_07122025_114401AM_815
    [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] => 1765088342
    [last_credit_update_time] => 1765088342
    [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 : 81822
\compaign_type : Rans per 25.88902 
ans sms 1282
dnd sms 0

require answer perrequire answer per : 332

user answer per : 114
below is the redis data 218 UPDATE voice_compaign_detail_81822 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 218 Total Failed : 350 no_answer_count : 117 Busy count :90 congestion_count : 42 failed_count : 101UPDATE voice_compaign_detail_81822 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 117 UPDATE voice_compaign_detail_81822 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 90 UPDATE voice_compaign_detail_81822 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 42 UPDATE voice_compaign_detail_81822 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`='332', `user_busy_sms`='136', `user_congestion_sms`='42', `user_failed_sms`='559', `user_hangup_sms`='0', `user_no_answer_sms`='213', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81822 LIMIT 1 


Time Diff : 0.211

Array
(
    [0] => 81823
    [compaign_id] => 81823
    [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] => 1765088045
    [start_date] => 1765088045
    [9] => 0
    [end_date] => 0
    [10] => 408
    [total_sms] => 408
    [11] => 408
    [sent_sms] => 408
    [12] => 0
    [duplicate_sms] => 0
    [13] => 55
    [answered_sms] => 55
    [14] => 32
    [busy_sms] => 32
    [15] => 0
    [congestion_sms] => 0
    [16] => 112
    [failed_sms] => 112
    [17] => 0
    [hangup_sms] => 0
    [18] => 56
    [no_answer_sms] => 56
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 153
    [cutting_sms] => 153
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 55
    [user_answered_sms] => 55
    [27] => 32
    [user_busy_sms] => 32
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 112
    [user_failed_sms] => 112
    [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] => 1765088045
    [create_date] => 1765088045
    [40] => 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":1765088052,"compaign_read_start_time":1765088053,"compaign_read_complete_time":1765088054,"compaign_send_start_time":1765088102,"compaign_send_complete_time":1765088103}
    [action_time] => {"api_allot_time":1765088052,"compaign_read_start_time":1765088053,"compaign_read_complete_time":1765088054,"compaign_send_start_time":1765088102,"compaign_send_complete_time":1765088103}
    [50] => 0
    [compaign_file] => 0
    [51] => u29695_81823_07122025_114411AM_872
    [common_name] => u29695_81823_07122025_114411AM_872
    [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] => 1765088342
    [last_credit_update_time] => 1765088342
    [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 : 81823
\compaign_type : Rans per 28.27852 
ans sms 408
dnd sms 0

require answer perrequire answer per : 116

user answer per : 55
below is the redis data 61 UPDATE voice_compaign_detail_81823 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 61 Total Failed : 92 no_answer_count : 31 Busy count :24 congestion_count : 11 failed_count : 26UPDATE voice_compaign_detail_81823 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 31 UPDATE voice_compaign_detail_81823 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 24 UPDATE voice_compaign_detail_81823 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 11 UPDATE voice_compaign_detail_81823 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`='116', `user_busy_sms`='56', `user_congestion_sms`='11', `user_failed_sms`='138', `user_hangup_sms`='0', `user_no_answer_sms`='87', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81823 LIMIT 1 


Time Diff : 0.667

Array
(
    [0] => 81824
    [compaign_id] => 81824
    [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] => 1765088053
    [start_date] => 1765088053
    [9] => 0
    [end_date] => 0
    [10] => 240
    [total_sms] => 240
    [11] => 240
    [sent_sms] => 240
    [12] => 0
    [duplicate_sms] => 0
    [13] => 57
    [answered_sms] => 57
    [14] => 23
    [busy_sms] => 23
    [15] => 0
    [congestion_sms] => 0
    [16] => 48
    [failed_sms] => 48
    [17] => 0
    [hangup_sms] => 0
    [18] => 45
    [no_answer_sms] => 45
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 67
    [cutting_sms] => 67
    [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] => 23
    [user_busy_sms] => 23
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 48
    [user_failed_sms] => 48
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 45
    [user_no_answer_sms] => 45
    [32] => 0
    [user_timeout_duration_sms] => 0
    [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] => 1765088053
    [create_date] => 1765088053
    [40] => 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":1765088060,"compaign_read_start_time":1765088062,"compaign_read_complete_time":1765088063,"compaign_send_start_time":1765088102,"compaign_send_complete_time":1765088103}
    [action_time] => {"api_allot_time":1765088060,"compaign_read_start_time":1765088062,"compaign_read_complete_time":1765088063,"compaign_send_start_time":1765088102,"compaign_send_complete_time":1765088103}
    [50] => 0
    [compaign_file] => 0
    [51] => u29695_81824_07122025_114419AM_112
    [common_name] => u29695_81824_07122025_114419AM_112
    [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] => 1765088342
    [last_credit_update_time] => 1765088342
    [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 : 81824
\compaign_type : Rans per 25.35205 
ans sms 240
dnd sms 0

require answer perrequire answer per : 61

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='61', `user_busy_sms`='40', `user_congestion_sms`='8', `user_failed_sms`='64', `user_hangup_sms`='0', `user_no_answer_sms`='67', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81824 LIMIT 1 


Time Diff : 1.138

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764829261'  
Array
(
    [0] => 81826
    [compaign_id] => 81826
    [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] => 1765088182
    [start_date] => 1765088182
    [9] => 0
    [end_date] => 0
    [10] => 812
    [total_sms] => 812
    [11] => 812
    [sent_sms] => 812
    [12] => 0
    [duplicate_sms] => 0
    [13] => 81
    [answered_sms] => 81
    [14] => 50
    [busy_sms] => 50
    [15] => 0
    [congestion_sms] => 0
    [16] => 248
    [failed_sms] => 248
    [17] => 0
    [hangup_sms] => 0
    [18] => 71
    [no_answer_sms] => 71
    [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] => 81
    [user_answered_sms] => 81
    [27] => 50
    [user_busy_sms] => 50
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 248
    [user_failed_sms] => 248
    [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] => u29695
    [created_by] => u29695
    [38] => 0
    [isScheduled] => 0
    [39] => 1765088182
    [create_date] => 1765088182
    [40] => 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":1765088188,"compaign_read_start_time":1765088189,"compaign_read_complete_time":1765088190,"compaign_send_start_time":1765088221,"compaign_send_complete_time":1765088224}
    [action_time] => {"api_allot_time":1765088188,"compaign_read_start_time":1765088189,"compaign_read_complete_time":1765088190,"compaign_send_start_time":1765088221,"compaign_send_complete_time":1765088224}
    [50] => 0
    [compaign_file] => 0
    [51] => u29695_81826_07122025_114628AM_132
    [common_name] => u29695_81826_07122025_114628AM_132
    [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] => 1765088402
    [last_credit_update_time] => 1765088402
    [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 : 81826
\compaign_type : Rans per 26.08054 
ans sms 812
dnd sms 0

require answer perrequire answer per : 212

user answer per : 81
below is the redis data 131 UPDATE voice_compaign_detail_81826 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 131 Total Failed : 231 no_answer_count : 78 Busy count :60 congestion_count : 28 failed_count : 65UPDATE voice_compaign_detail_81826 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 78 UPDATE voice_compaign_detail_81826 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 60 UPDATE voice_compaign_detail_81826 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 28 UPDATE voice_compaign_detail_81826 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`='212', `user_busy_sms`='110', `user_congestion_sms`='28', `user_failed_sms`='313', `user_hangup_sms`='0', `user_no_answer_sms`='149', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81826 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>'1764829322'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764829381'  
Array
(
    [0] => 81828
    [compaign_id] => 81828
    [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] => 1765088220
    [start_date] => 1765088220
    [9] => 0
    [end_date] => 0
    [10] => 2417
    [total_sms] => 2417
    [11] => 2417
    [sent_sms] => 2417
    [12] => 0
    [duplicate_sms] => 0
    [13] => 319
    [answered_sms] => 319
    [14] => 123
    [busy_sms] => 123
    [15] => 0
    [congestion_sms] => 0
    [16] => 537
    [failed_sms] => 537
    [17] => 0
    [hangup_sms] => 0
    [18] => 207
    [no_answer_sms] => 207
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 1231
    [cutting_sms] => 1231
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 319
    [user_answered_sms] => 319
    [27] => 123
    [user_busy_sms] => 123
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 537
    [user_failed_sms] => 537
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 207
    [user_no_answer_sms] => 207
    [32] => 0
    [user_timeout_duration_sms] => 0
    [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] => 1765088220
    [create_date] => 1765088220
    [40] => 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":1765088225,"compaign_read_start_time":1765088227,"compaign_read_complete_time":1765088230,"compaign_send_start_time":1765088282,"compaign_send_complete_time":1765088287}
    [action_time] => {"api_allot_time":1765088225,"compaign_read_start_time":1765088227,"compaign_read_complete_time":1765088230,"compaign_send_start_time":1765088282,"compaign_send_complete_time":1765088287}
    [50] => 0
    [compaign_file] => 0
    [51] => u29695_81828_07122025_114705AM_507
    [common_name] => u29695_81828_07122025_114705AM_507
    [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] => 1765088522
    [last_credit_update_time] => 1765088522
    [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 : 81828
\compaign_type : Rans per 27.53118 
ans sms 2417
dnd sms 0

require answer perrequire answer per : 666

user answer per : 319
below is the redis data 347 UPDATE voice_compaign_detail_81828 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 347 Total Failed : 884 no_answer_count : 295 Busy count :227 congestion_count : 105 failed_count : 257UPDATE voice_compaign_detail_81828 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 295 UPDATE voice_compaign_detail_81828 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 227 UPDATE voice_compaign_detail_81828 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 105 UPDATE voice_compaign_detail_81828 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 257 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='666', `user_busy_sms`='350', `user_congestion_sms`='105', `user_failed_sms`='794', `user_hangup_sms`='0', `user_no_answer_sms`='502', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81828 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>'1764829441'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764829501'  
Array
(
    [0] => 81827
    [compaign_id] => 81827
    [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] => 1765088201
    [start_date] => 1765088201
    [9] => 0
    [end_date] => 0
    [10] => 1193
    [total_sms] => 1193
    [11] => 1193
    [sent_sms] => 1193
    [12] => 0
    [duplicate_sms] => 0
    [13] => 165
    [answered_sms] => 165
    [14] => 81
    [busy_sms] => 81
    [15] => 0
    [congestion_sms] => 0
    [16] => 290
    [failed_sms] => 290
    [17] => 0
    [hangup_sms] => 0
    [18] => 135
    [no_answer_sms] => 135
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 522
    [cutting_sms] => 522
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 165
    [user_answered_sms] => 165
    [27] => 81
    [user_busy_sms] => 81
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 290
    [user_failed_sms] => 290
    [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] => 1765088201
    [create_date] => 1765088201
    [40] => 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":1765088337,"compaign_read_start_time":1765088342,"compaign_read_complete_time":1765088344,"compaign_send_start_time":1765088402,"compaign_send_complete_time":1765088405}
    [action_time] => {"api_allot_time":1765088337,"compaign_read_start_time":1765088342,"compaign_read_complete_time":1765088344,"compaign_send_start_time":1765088402,"compaign_send_complete_time":1765088405}
    [50] => 0
    [compaign_file] => 0
    [51] => u29695_81827_07122025_114646AM_701
    [common_name] => u29695_81827_07122025_114646AM_701
    [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] => 1765088641
    [last_credit_update_time] => 1765088641
    [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 : 81827
\compaign_type : Rans per 30.62931 
ans sms 1193
dnd sms 0

require answer perrequire answer per : 366

user answer per : 165
below is the redis data 201 UPDATE voice_compaign_detail_81827 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 201 Total Failed : 321 no_answer_count : 108 Busy count :83 congestion_count : 39 failed_count : 91UPDATE voice_compaign_detail_81827 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 108 UPDATE voice_compaign_detail_81827 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 83 UPDATE voice_compaign_detail_81827 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 39 UPDATE voice_compaign_detail_81827 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 91 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='366', `user_busy_sms`='164', `user_congestion_sms`='39', `user_failed_sms`='381', `user_hangup_sms`='0', `user_no_answer_sms`='243', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81827 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>'1764829562'  
Array
(
    [0] => 81831
    [compaign_id] => 81831
    [1] => u29695
    [user_id] => u29695
    [2] => 69002,
    [group_ids] => 69002,
    [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] => 1765088429
    [start_date] => 1765088429
    [9] => 0
    [end_date] => 0
    [10] => 658
    [total_sms] => 658
    [11] => 658
    [sent_sms] => 658
    [12] => 0
    [duplicate_sms] => 0
    [13] => 75
    [answered_sms] => 75
    [14] => 30
    [busy_sms] => 30
    [15] => 0
    [congestion_sms] => 0
    [16] => 201
    [failed_sms] => 201
    [17] => 0
    [hangup_sms] => 0
    [18] => 81
    [no_answer_sms] => 81
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 271
    [cutting_sms] => 271
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 75
    [user_answered_sms] => 75
    [27] => 30
    [user_busy_sms] => 30
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 201
    [user_failed_sms] => 201
    [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] => u29695
    [created_by] => u29695
    [38] => 0
    [isScheduled] => 0
    [39] => 1765088429
    [create_date] => 1765088429
    [40] => 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":1765088435,"compaign_read_start_time":1765088435,"compaign_read_complete_time":1765088436,"compaign_send_start_time":1765088461,"compaign_send_complete_time":1765088463}
    [action_time] => {"api_allot_time":1765088435,"compaign_read_start_time":1765088435,"compaign_read_complete_time":1765088436,"compaign_send_start_time":1765088461,"compaign_send_complete_time":1765088463}
    [50] => 0
    [compaign_file] => 0
    [51] => u29695_81831_07122025_115034AM_288
    [common_name] => u29695_81831_07122025_115034AM_288
    [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_69002
    [temp_group_table] => contacts_temp_group_69002
    [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] => 1765088702
    [last_credit_update_time] => 1765088702
    [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 : 81831
\compaign_type : Rans per 28.57277 
ans sms 658
dnd sms 0

require answer perrequire answer per : 189

user answer per : 75
below is the redis data 114 UPDATE voice_compaign_detail_81831 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 114 Total Failed : 157 no_answer_count : 53 Busy count :41 congestion_count : 19 failed_count : 44UPDATE voice_compaign_detail_81831 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 53 UPDATE voice_compaign_detail_81831 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 41 UPDATE voice_compaign_detail_81831 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 19 UPDATE voice_compaign_detail_81831 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`='189', `user_busy_sms`='71', `user_congestion_sms`='19', `user_failed_sms`='245', `user_hangup_sms`='0', `user_no_answer_sms`='134', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81831 LIMIT 1 


Time Diff : 0.413

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764829621'  
Array
(
    [0] => 81832
    [compaign_id] => 81832
    [1] => u29695
    [user_id] => u29695
    [2] => 69006,
    [group_ids] => 69006,
    [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] => 1765088477
    [start_date] => 1765088477
    [9] => 0
    [end_date] => 0
    [10] => 1178
    [total_sms] => 1178
    [11] => 1178
    [sent_sms] => 1178
    [12] => 0
    [duplicate_sms] => 0
    [13] => 129
    [answered_sms] => 129
    [14] => 70
    [busy_sms] => 70
    [15] => 0
    [congestion_sms] => 0
    [16] => 305
    [failed_sms] => 305
    [17] => 0
    [hangup_sms] => 0
    [18] => 101
    [no_answer_sms] => 101
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 573
    [cutting_sms] => 573
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 129
    [user_answered_sms] => 129
    [27] => 70
    [user_busy_sms] => 70
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 305
    [user_failed_sms] => 305
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 101
    [user_no_answer_sms] => 101
    [32] => 0
    [user_timeout_duration_sms] => 0
    [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] => 1765088477
    [create_date] => 1765088477
    [40] => 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":1765088484,"compaign_read_start_time":1765088485,"compaign_read_complete_time":1765088487,"compaign_send_start_time":1765088522,"compaign_send_complete_time":1765088526}
    [action_time] => {"api_allot_time":1765088484,"compaign_read_start_time":1765088485,"compaign_read_complete_time":1765088487,"compaign_send_start_time":1765088522,"compaign_send_complete_time":1765088526}
    [50] => 0
    [compaign_file] => 0
    [51] => u29695_81832_07122025_115123AM_503
    [common_name] => u29695_81832_07122025_115123AM_503
    [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_69006
    [temp_group_table] => contacts_temp_group_69006
    [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] => 1765088762
    [last_credit_update_time] => 1765088762
    [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 : 81832
\compaign_type : Rans per 27.40945 
ans sms 1178
dnd sms 0

require answer perrequire answer per : 323

user answer per : 129
below is the redis data 194 UPDATE voice_compaign_detail_81832 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 194 Total Failed : 379 no_answer_count : 127 Busy count :98 congestion_count : 45 failed_count : 109UPDATE voice_compaign_detail_81832 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 127 UPDATE voice_compaign_detail_81832 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 98 UPDATE voice_compaign_detail_81832 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 45 UPDATE voice_compaign_detail_81832 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`='323', `user_busy_sms`='168', `user_congestion_sms`='45', `user_failed_sms`='414', `user_hangup_sms`='0', `user_no_answer_sms`='228', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81832 LIMIT 1 


Time Diff : 0.212

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764829682'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764829742'  
Array
(
    [0] => 81833
    [compaign_id] => 81833
    [1] => u86
    [user_id] => u86
    [2] => 69007,
    [group_ids] => 69007,
    [3] => 
    [sender_id] => 
    [4] => ADVOCATE.mp3
    [filename] => ADVOCATE.mp3
    [5] => 24
    [duration] => 24
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765088588
    [start_date] => 1765088588
    [9] => 0
    [end_date] => 0
    [10] => 1322
    [total_sms] => 1322
    [11] => 1322
    [sent_sms] => 1322
    [12] => 0
    [duplicate_sms] => 0
    [13] => 172
    [answered_sms] => 172
    [14] => 129
    [busy_sms] => 129
    [15] => 0
    [congestion_sms] => 0
    [16] => 108
    [failed_sms] => 108
    [17] => 0
    [hangup_sms] => 0
    [18] => 122
    [no_answer_sms] => 122
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 488
    [cutting_sms] => 488
    [22] => 303
    [dnd_sms] => 303
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 172
    [user_answered_sms] => 172
    [27] => 129
    [user_busy_sms] => 129
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 108
    [user_failed_sms] => 108
    [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] => 303
    [user_dnd_sms] => 303
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u86
    [created_by] => u86
    [38] => 0
    [isScheduled] => 0
    [39] => 1765088587
    [create_date] => 1765088587
    [40] => 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":1765088594,"compaign_read_start_time":1765088596,"compaign_read_complete_time":1765088601,"compaign_send_start_time":1765088642,"compaign_send_complete_time":1765088645}
    [action_time] => {"api_allot_time":1765088594,"compaign_read_start_time":1765088596,"compaign_read_complete_time":1765088601,"compaign_send_start_time":1765088642,"compaign_send_complete_time":1765088645}
    [50] => 0
    [compaign_file] => 0
    [51] => u86_81833_07122025_115313AM_376
    [common_name] => u86_81833_07122025_115313AM_376
    [52] => 1765088082_u86_voice.wav
    [voice_file] => 1765088082_u86_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_69007
    [temp_group_table] => contacts_temp_group_69007
    [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] => 1765088703
    [reschedule_last_check_time] => 1765088703
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765088882
    [last_credit_update_time] => 1765088882
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 161
    [user_voice_plan_id] => 161
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.19
    [pulse_rate] => 0.19
    [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,u86
    [uphierarchy] => admin,sr3,u86
    [113] => 
    [extra_params_json] => 
)


Compaign : 81833
\compaign_type : Rans per 30.50073 
ans sms 1322
dnd sms 303

require answer perrequire answer per : 311

user answer per : 172
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_81833 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 98 UPDATE voice_compaign_detail_81833 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 98 Total Failed : 325 no_answer_count : 109 Busy count :84 congestion_count : 39 failed_count : 93UPDATE voice_compaign_detail_81833 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 109 UPDATE voice_compaign_detail_81833 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 84 UPDATE voice_compaign_detail_81833 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 39 UPDATE voice_compaign_detail_81833 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 93 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='311', `user_busy_sms`='240', `user_congestion_sms`='39', `user_failed_sms`='168', `user_hangup_sms`='0', `user_no_answer_sms`='261', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='303' WHERE `compaign_id`=81833 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>'1764829801'  
Array
(
    [0] => 81835
    [compaign_id] => 81835
    [1] => u29695
    [user_id] => u29695
    [2] => 68868,
    [group_ids] => 68868,
    [3] => 
    [sender_id] => 
    [4] => Pipri DV.mp3
    [filename] => Pipri DV.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765088693
    [start_date] => 1765088693
    [9] => 0
    [end_date] => 0
    [10] => 1489
    [total_sms] => 1489
    [11] => 1489
    [sent_sms] => 1489
    [12] => 0
    [duplicate_sms] => 0
    [13] => 168
    [answered_sms] => 168
    [14] => 63
    [busy_sms] => 63
    [15] => 0
    [congestion_sms] => 0
    [16] => 448
    [failed_sms] => 448
    [17] => 0
    [hangup_sms] => 0
    [18] => 118
    [no_answer_sms] => 118
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 692
    [cutting_sms] => 692
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 168
    [user_answered_sms] => 168
    [27] => 63
    [user_busy_sms] => 63
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 448
    [user_failed_sms] => 448
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 118
    [user_no_answer_sms] => 118
    [32] => 0
    [user_timeout_duration_sms] => 0
    [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] => 1765088693
    [create_date] => 1765088693
    [40] => 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":1765088703,"compaign_read_start_time":1765088704,"compaign_read_complete_time":1765088707,"compaign_send_start_time":1765088762,"compaign_send_complete_time":1765088772}
    [action_time] => {"api_allot_time":1765088703,"compaign_read_start_time":1765088704,"compaign_read_complete_time":1765088707,"compaign_send_start_time":1765088762,"compaign_send_complete_time":1765088772}
    [50] => 0
    [compaign_file] => 0
    [51] => u29695_81835_07122025_115502AM_228
    [common_name] => u29695_81835_07122025_115502AM_228
    [52] => 1765088692_u29695_voice.wav
    [voice_file] => 1765088692_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_68868
    [temp_group_table] => contacts_temp_group_68868
    [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] => 1765089001
    [last_credit_update_time] => 1765089001
    [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 : 81835
\compaign_type : Rans per 25.4924 
ans sms 1489
dnd sms 0

require answer perrequire answer per : 380

user answer per : 168
below is the redis data 212 UPDATE voice_compaign_detail_81835 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 212 Total Failed : 480 no_answer_count : 161 Busy count :124 congestion_count : 57 failed_count : 138UPDATE voice_compaign_detail_81835 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 161 UPDATE voice_compaign_detail_81835 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 124 UPDATE voice_compaign_detail_81835 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 57 UPDATE voice_compaign_detail_81835 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`='380', `user_busy_sms`='187', `user_congestion_sms`='57', `user_failed_sms`='586', `user_hangup_sms`='0', `user_no_answer_sms`='279', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81835 LIMIT 1 


Time Diff : 0.14

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764829862'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764829921'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764829982'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764830042'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764830101'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764830161'  
Array
(
    [0] => 81829
    [compaign_id] => 81829
    [1] => u61
    [user_id] => u61
    [2] => 69004,
    [group_ids] => 69004,
    [3] => 
    [sender_id] => 
    [4] => Follow 10 Dec.mp3
    [filename] => Follow 10 Dec.mp3
    [5] => 27
    [duration] => 27
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765089000
    [start_date] => 1765089000
    [9] => 0
    [end_date] => 0
    [10] => 914
    [total_sms] => 914
    [11] => 914
    [sent_sms] => 914
    [12] => 0
    [duplicate_sms] => 0
    [13] => 132
    [answered_sms] => 132
    [14] => 81
    [busy_sms] => 81
    [15] => 0
    [congestion_sms] => 0
    [16] => 153
    [failed_sms] => 153
    [17] => 0
    [hangup_sms] => 0
    [18] => 139
    [no_answer_sms] => 139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 409
    [cutting_sms] => 409
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 132
    [user_answered_sms] => 132
    [27] => 81
    [user_busy_sms] => 81
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 153
    [user_failed_sms] => 153
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 139
    [user_no_answer_sms] => 139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u61
    [created_by] => u61
    [38] => 1
    [isScheduled] => 1
    [39] => 1765088225
    [create_date] => 1765088225
    [40] => 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":1765089006,"compaign_read_start_time":1765089010,"compaign_read_complete_time":1765089012,"compaign_send_start_time":1765089062,"compaign_send_complete_time":1765089065}
    [action_time] => {"api_allot_time":1765089006,"compaign_read_start_time":1765089010,"compaign_read_complete_time":1765089012,"compaign_send_start_time":1765089062,"compaign_send_complete_time":1765089065}
    [50] => 0
    [compaign_file] => 0
    [51] => u61_81829_07122025_120005PM_221
    [common_name] => u61_81829_07122025_120005PM_221
    [52] => 1765087610_u61_voice.wav
    [voice_file] => 1765087610_u61_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_69004
    [temp_group_table] => contacts_temp_group_69004
    [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] => 1765089301
    [last_credit_update_time] => 1765089301
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 133
    [user_voice_plan_id] => 133
    [85] => 54
    [voice_plan_id] => 54
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.18
    [pulse_rate] => 0.18
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_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,u61
    [uphierarchy] => admin,u61
    [113] => 
    [extra_params_json] => 
)


Compaign : 81829
\compaign_type : Rans per 26.242 
ans sms 914
dnd sms 0

require answer perrequire answer per : 240

user answer per : 132
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_81829 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 84 UPDATE voice_compaign_detail_81829 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 84 Total Failed : 286 no_answer_count : 96 Busy count :74 congestion_count : 34 failed_count : 82UPDATE voice_compaign_detail_81829 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 96 UPDATE voice_compaign_detail_81829 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 74 UPDATE voice_compaign_detail_81829 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 34 UPDATE voice_compaign_detail_81829 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 82 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='240', `user_busy_sms`='205', `user_congestion_sms`='34', `user_failed_sms`='190', `user_hangup_sms`='0', `user_no_answer_sms`='245', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81829 LIMIT 1 


Time Diff : 0.298

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764830222'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764830281'  
Array
(
    [0] => 81839
    [compaign_id] => 81839
    [1] => u86
    [user_id] => u86
    [2] => 69010,
    [group_ids] => 69010,
    [3] => 
    [sender_id] => 
    [4] => ADVOCATE.mp3
    [filename] => ADVOCATE.mp3
    [5] => 24
    [duration] => 24
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765089125
    [start_date] => 1765089125
    [9] => 0
    [end_date] => 0
    [10] => 1011
    [total_sms] => 1011
    [11] => 1011
    [sent_sms] => 1011
    [12] => 0
    [duplicate_sms] => 0
    [13] => 111
    [answered_sms] => 111
    [14] => 88
    [busy_sms] => 88
    [15] => 0
    [congestion_sms] => 0
    [16] => 104
    [failed_sms] => 104
    [17] => 0
    [hangup_sms] => 0
    [18] => 94
    [no_answer_sms] => 94
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 311
    [cutting_sms] => 311
    [22] => 303
    [dnd_sms] => 303
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 111
    [user_answered_sms] => 111
    [27] => 88
    [user_busy_sms] => 88
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 104
    [user_failed_sms] => 104
    [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] => 303
    [user_dnd_sms] => 303
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u86
    [created_by] => u86
    [38] => 0
    [isScheduled] => 0
    [39] => 1765089125
    [create_date] => 1765089125
    [40] => 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":1765089132,"compaign_read_start_time":1765089133,"compaign_read_complete_time":1765089135,"compaign_send_start_time":1765089182,"compaign_send_complete_time":1765089184}
    [action_time] => {"api_allot_time":1765089132,"compaign_read_start_time":1765089133,"compaign_read_complete_time":1765089135,"compaign_send_start_time":1765089182,"compaign_send_complete_time":1765089184}
    [50] => 0
    [compaign_file] => 0
    [51] => u86_81839_07122025_120211PM_872
    [common_name] => u86_81839_07122025_120211PM_872
    [52] => 1765088082_u86_voice.wav
    [voice_file] => 1765088082_u86_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_69010
    [temp_group_table] => contacts_temp_group_69010
    [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] => 1765089422
    [last_credit_update_time] => 1765089422
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 161
    [user_voice_plan_id] => 161
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.19
    [pulse_rate] => 0.19
    [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,u86
    [uphierarchy] => admin,sr3,u86
    [113] => 
    [extra_params_json] => 
)


Compaign : 81839
\compaign_type : Rans per 27.19387 
ans sms 1011
dnd sms 303

require answer perrequire answer per : 193

user answer per : 111
below is the redis data 82 /n/r
only no answer and busy will be convert, total number require 82 /n/r
UPDATE voice_compaign_detail_81839 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_81839 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 : 206 no_answer_count : 69 Busy count :53 congestion_count : 25 failed_count : 59UPDATE voice_compaign_detail_81839 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 69 UPDATE voice_compaign_detail_81839 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 53 UPDATE voice_compaign_detail_81839 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 25 UPDATE voice_compaign_detail_81839 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`='193', `user_busy_sms`='170', `user_congestion_sms`='25', `user_failed_sms`='138', `user_hangup_sms`='0', `user_no_answer_sms`='182', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='303' WHERE `compaign_id`=81839 LIMIT 1 


Time Diff : 0.246

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764830341'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764830402'  
Array
(
    [0] => 81840
    [compaign_id] => 81840
    [1] => u607
    [user_id] => u607
    [2] => 69012,
    [group_ids] => 69012,
    [3] => 
    [sender_id] => 
    [4] => ravi_ramakkapet.mp3
    [filename] => ravi_ramakkapet.mp3
    [5] => 28
    [duration] => 28
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765089265
    [start_date] => 1765089265
    [9] => 0
    [end_date] => 0
    [10] => 881
    [total_sms] => 881
    [11] => 881
    [sent_sms] => 881
    [12] => 0
    [duplicate_sms] => 0
    [13] => 145
    [answered_sms] => 145
    [14] => 61
    [busy_sms] => 61
    [15] => 0
    [congestion_sms] => 0
    [16] => 87
    [failed_sms] => 87
    [17] => 0
    [hangup_sms] => 0
    [18] => 111
    [no_answer_sms] => 111
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 314
    [cutting_sms] => 314
    [22] => 163
    [dnd_sms] => 163
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 145
    [user_answered_sms] => 145
    [27] => 61
    [user_busy_sms] => 61
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 87
    [user_failed_sms] => 87
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 111
    [user_no_answer_sms] => 111
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 163
    [user_dnd_sms] => 163
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u607
    [created_by] => u607
    [38] => 0
    [isScheduled] => 0
    [39] => 1765089265
    [create_date] => 1765089265
    [40] => 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":1765089271,"compaign_read_start_time":1765089272,"compaign_read_complete_time":1765089273,"compaign_send_start_time":1765089301,"compaign_send_complete_time":1765089303}
    [action_time] => {"api_allot_time":1765089271,"compaign_read_start_time":1765089272,"compaign_read_complete_time":1765089273,"compaign_send_start_time":1765089301,"compaign_send_complete_time":1765089303}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81840_07122025_120430PM_101
    [common_name] => u607_81840_07122025_120430PM_101
    [52] => 1765089265_u607_voice.wav
    [voice_file] => 1765089265_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_69012
    [temp_group_table] => contacts_temp_group_69012
    [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] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765089541
    [last_credit_update_time] => 1765089541
    [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":1765092600,"2":1765096200}
    [rt_time] => {"1":1765092600,"2":1765096200}
    [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 : 81840
\compaign_type : Rans per 25.55685 
ans sms 881
dnd sms 163

require answer perrequire answer per : 184

user answer per : 145
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_81840 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_81840 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 : 267 no_answer_count : 90 Busy count :69 congestion_count : 32 failed_count : 76UPDATE voice_compaign_detail_81840 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 90 UPDATE voice_compaign_detail_81840 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 69 UPDATE voice_compaign_detail_81840 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 32 UPDATE voice_compaign_detail_81840 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`='184', `user_busy_sms`='143', `user_congestion_sms`='32', `user_failed_sms`='152', `user_hangup_sms`='0', `user_no_answer_sms`='207', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='163' WHERE `compaign_id`=81840 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>'1764830461'  
Array
(
    [0] => 81650
    [compaign_id] => 81650
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765078205
    [start_date] => 1765078205
    [9] => 0
    [end_date] => 0
    [10] => 12698
    [total_sms] => 12698
    [11] => 12698
    [sent_sms] => 12698
    [12] => 0
    [duplicate_sms] => 0
    [13] => 46
    [answered_sms] => 46
    [14] => 3171
    [busy_sms] => 3171
    [15] => 0
    [congestion_sms] => 0
    [16] => 9127
    [failed_sms] => 9127
    [17] => 0
    [hangup_sms] => 0
    [18] => 354
    [no_answer_sms] => 354
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 46
    [user_answered_sms] => 46
    [27] => 3171
    [user_busy_sms] => 3171
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 9127
    [user_failed_sms] => 9127
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 354
    [user_no_answer_sms] => 354
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [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] => 1765089602
    [last_credit_update_time] => 1765089602
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81650
\compaign_type : ATans per 30.52249 
ans sms 12698
dnd sms 0

require answer perrequire answer per : 3876

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='46', `user_busy_sms`='3171', `user_congestion_sms`='0', `user_failed_sms`='9127', `user_hangup_sms`='0', `user_no_answer_sms`='354', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81650 LIMIT 1 


Time Diff : 0.612

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764830521'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764830581'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764830641'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764830701'  
Array
(
    [0] => 81844
    [compaign_id] => 81844
    [1] => u607
    [user_id] => u607
    [2] => 69015,
    [group_ids] => 69015,
    [3] => 
    [sender_id] => 
    [4] => thirupathi_raorulk.mp3
    [filename] => thirupathi_raorulk.mp3
    [5] => 14
    [duration] => 14
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765089532
    [start_date] => 1765089532
    [9] => 0
    [end_date] => 0
    [10] => 1442
    [total_sms] => 1442
    [11] => 1442
    [sent_sms] => 1442
    [12] => 0
    [duplicate_sms] => 0
    [13] => 148
    [answered_sms] => 148
    [14] => 88
    [busy_sms] => 88
    [15] => 0
    [congestion_sms] => 0
    [16] => 289
    [failed_sms] => 289
    [17] => 0
    [hangup_sms] => 0
    [18] => 170
    [no_answer_sms] => 170
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 573
    [cutting_sms] => 573
    [22] => 174
    [dnd_sms] => 174
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 148
    [user_answered_sms] => 148
    [27] => 88
    [user_busy_sms] => 88
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 289
    [user_failed_sms] => 289
    [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] => 174
    [user_dnd_sms] => 174
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u607
    [created_by] => u607
    [38] => 0
    [isScheduled] => 0
    [39] => 1765089531
    [create_date] => 1765089531
    [40] => 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":1765089542,"compaign_read_start_time":1765089544,"compaign_read_complete_time":1765089547,"compaign_send_start_time":1765089602,"compaign_send_complete_time":1765089605}
    [action_time] => {"api_allot_time":1765089542,"compaign_read_start_time":1765089544,"compaign_read_complete_time":1765089547,"compaign_send_start_time":1765089602,"compaign_send_complete_time":1765089605}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81844_07122025_120902PM_581
    [common_name] => u607_81844_07122025_120902PM_581
    [52] => 1765089531_u607_voice.wav
    [voice_file] => 1765089531_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_69015
    [temp_group_table] => contacts_temp_group_69015
    [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] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765089842
    [last_credit_update_time] => 1765089842
    [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":1765092600,"2":1765096200}
    [rt_time] => {"1":1765092600,"2":1765096200}
    [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 : 81844
\compaign_type : Rans per 25.59839 
ans sms 1442
dnd sms 174

require answer perrequire answer per : 325

user answer per : 148
below is the redis data 177 /n/r
only no answer and busy will be convert, total number require 177 /n/r
UPDATE voice_compaign_detail_81844 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 135 UPDATE voice_compaign_detail_81844 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 135 Total Failed : 387 no_answer_count : 130 Busy count :100 congestion_count : 46 failed_count : 111UPDATE voice_compaign_detail_81844 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 130 UPDATE voice_compaign_detail_81844 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 100 UPDATE voice_compaign_detail_81844 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 46 UPDATE voice_compaign_detail_81844 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`='325', `user_busy_sms`='266', `user_congestion_sms`='46', `user_failed_sms`='316', `user_hangup_sms`='0', `user_no_answer_sms`='315', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='174' WHERE `compaign_id`=81844 LIMIT 1 


Time Diff : 0.189

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764830761'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764830821'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764830882'  
Array
(
    [0] => 81847
    [compaign_id] => 81847
    [1] => u86
    [user_id] => u86
    [2] => 69017,
    [group_ids] => 69017,
    [3] => 
    [sender_id] => 
    [4] => ADVOCATE.mp3
    [filename] => ADVOCATE.mp3
    [5] => 24
    [duration] => 24
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765089724
    [start_date] => 1765089724
    [9] => 0
    [end_date] => 0
    [10] => 818
    [total_sms] => 818
    [11] => 818
    [sent_sms] => 818
    [12] => 0
    [duplicate_sms] => 0
    [13] => 68
    [answered_sms] => 68
    [14] => 52
    [busy_sms] => 52
    [15] => 0
    [congestion_sms] => 0
    [16] => 89
    [failed_sms] => 89
    [17] => 0
    [hangup_sms] => 0
    [18] => 53
    [no_answer_sms] => 53
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 253
    [cutting_sms] => 253
    [22] => 303
    [dnd_sms] => 303
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 68
    [user_answered_sms] => 68
    [27] => 52
    [user_busy_sms] => 52
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 89
    [user_failed_sms] => 89
    [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] => 303
    [user_dnd_sms] => 303
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u86
    [created_by] => u86
    [38] => 0
    [isScheduled] => 0
    [39] => 1765089724
    [create_date] => 1765089724
    [40] => 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":1765089730,"compaign_read_start_time":1765089730,"compaign_read_complete_time":1765089732,"compaign_send_start_time":1765089781,"compaign_send_complete_time":1765089783}
    [action_time] => {"api_allot_time":1765089730,"compaign_read_start_time":1765089730,"compaign_read_complete_time":1765089732,"compaign_send_start_time":1765089781,"compaign_send_complete_time":1765089783}
    [50] => 0
    [compaign_file] => 0
    [51] => u86_81847_07122025_121209PM_135
    [common_name] => u86_81847_07122025_121209PM_135
    [52] => 1765088082_u86_voice.wav
    [voice_file] => 1765088082_u86_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_69017
    [temp_group_table] => contacts_temp_group_69017
    [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] => 1765090022
    [last_credit_update_time] => 1765090022
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 161
    [user_voice_plan_id] => 161
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.19
    [pulse_rate] => 0.19
    [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,u86
    [uphierarchy] => admin,sr3,u86
    [113] => 
    [extra_params_json] => 
)


Compaign : 81847
\compaign_type : Rans per 30.15765 
ans sms 818
dnd sms 303

require answer perrequire answer per : 156

user answer per : 68
below is the redis data 88 /n/r
only no answer and busy will be convert, total number require 88 /n/r
UPDATE voice_compaign_detail_81847 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 66 UPDATE voice_compaign_detail_81847 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 66 Total Failed : 156 no_answer_count : 53 Busy count :41 congestion_count : 19 failed_count : 43UPDATE voice_compaign_detail_81847 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 53 UPDATE voice_compaign_detail_81847 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 41 UPDATE voice_compaign_detail_81847 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 19 UPDATE voice_compaign_detail_81847 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`='156', `user_busy_sms`='116', `user_congestion_sms`='19', `user_failed_sms`='97', `user_hangup_sms`='0', `user_no_answer_sms`='127', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='303' WHERE `compaign_id`=81847 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>'1764830942'  
Array
(
    [0] => 81849
    [compaign_id] => 81849
    [1] => u29722
    [user_id] => u29722
    [2] => 69020,
    [group_ids] => 69020,
    [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] => 1765089811
    [start_date] => 1765089811
    [9] => 0
    [end_date] => 0
    [10] => 5175
    [total_sms] => 5175
    [11] => 5175
    [sent_sms] => 5175
    [12] => 0
    [duplicate_sms] => 0
    [13] => 341
    [answered_sms] => 341
    [14] => 143
    [busy_sms] => 143
    [15] => 0
    [congestion_sms] => 0
    [16] => 1750
    [failed_sms] => 1750
    [17] => 0
    [hangup_sms] => 0
    [18] => 196
    [no_answer_sms] => 196
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2745
    [cutting_sms] => 2745
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 341
    [user_answered_sms] => 341
    [27] => 143
    [user_busy_sms] => 143
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1750
    [user_failed_sms] => 1750
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 196
    [user_no_answer_sms] => 196
    [32] => 0
    [user_timeout_duration_sms] => 0
    [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] => 1765089807
    [create_date] => 1765089807
    [40] => 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":1765089818,"compaign_read_start_time":1765089820,"compaign_read_complete_time":1765089828,"compaign_send_start_time":1765089842,"compaign_send_complete_time":1765089854}
    [action_time] => {"api_allot_time":1765089818,"compaign_read_start_time":1765089820,"compaign_read_complete_time":1765089828,"compaign_send_start_time":1765089842,"compaign_send_complete_time":1765089854}
    [50] => 0
    [compaign_file] => 0
    [51] => u29722_81849_07122025_121337PM_578
    [common_name] => u29722_81849_07122025_121337PM_578
    [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] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_69020
    [temp_group_table] => contacts_temp_group_69020
    [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] => 1765090082
    [last_credit_update_time] => 1765090082
    [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 : 81849
\compaign_type : Rans per 30.72019 
ans sms 5175
dnd sms 0

require answer perrequire answer per : 1590

user answer per : 341
below is the redis data 1249 UPDATE voice_compaign_detail_81849 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1249 Total Failed : 1496 no_answer_count : 499 Busy count :384 congestion_count : 178 failed_count : 435UPDATE voice_compaign_detail_81849 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 499 UPDATE voice_compaign_detail_81849 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 384 UPDATE voice_compaign_detail_81849 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 178 UPDATE voice_compaign_detail_81849 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 435 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='1590', `user_busy_sms`='527', `user_congestion_sms`='178', `user_failed_sms`='2185', `user_hangup_sms`='0', `user_no_answer_sms`='695', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81849 LIMIT 1 


Time Diff : 0.048

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764831001'  
Array
(
    [0] => 81792
    [compaign_id] => 81792
    [1] => u607
    [user_id] => u607
    [2] => 68980,
    [group_ids] => 68980,
    [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] => 1765089900
    [start_date] => 1765089900
    [9] => 0
    [end_date] => 0
    [10] => 285
    [total_sms] => 285
    [11] => 285
    [sent_sms] => 285
    [12] => 0
    [duplicate_sms] => 0
    [13] => 41
    [answered_sms] => 41
    [14] => 18
    [busy_sms] => 18
    [15] => 0
    [congestion_sms] => 0
    [16] => 55
    [failed_sms] => 55
    [17] => 0
    [hangup_sms] => 0
    [18] => 22
    [no_answer_sms] => 22
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 76
    [cutting_sms] => 76
    [22] => 73
    [dnd_sms] => 73
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 41
    [user_answered_sms] => 41
    [27] => 18
    [user_busy_sms] => 18
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 55
    [user_failed_sms] => 55
    [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] => 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] => 1765087023
    [create_date] => 1765087023
    [40] => 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":1765089906,"compaign_read_start_time":1765089920,"compaign_read_complete_time":1765089920,"compaign_send_start_time":1765089961,"compaign_send_complete_time":1765089962}
    [action_time] => {"api_allot_time":1765089906,"compaign_read_start_time":1765089920,"compaign_read_complete_time":1765089920,"compaign_send_start_time":1765089961,"compaign_send_complete_time":1765089962}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81792_07122025_121506PM_449
    [common_name] => u607_81792_07122025_121506PM_449
    [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_68980
    [temp_group_table] => contacts_temp_group_68980
    [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] => 1765090142
    [last_credit_update_time] => 1765090142
    [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 : 81792
\compaign_type : Rans per 27.69554 
ans sms 285
dnd sms 73

require answer perrequire answer per : 59

user answer per : 41
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_81792 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_81792 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 : 62 no_answer_count : 21 Busy count :16 congestion_count : 8 failed_count : 17UPDATE voice_compaign_detail_81792 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 21 UPDATE voice_compaign_detail_81792 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 16 UPDATE voice_compaign_detail_81792 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 8 UPDATE voice_compaign_detail_81792 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`='59', `user_busy_sms`='42', `user_congestion_sms`='8', `user_failed_sms`='60', `user_hangup_sms`='0', `user_no_answer_sms`='43', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='73' WHERE `compaign_id`=81792 LIMIT 1 


Time Diff : 0.737

Array
(
    [0] => 81793
    [compaign_id] => 81793
    [1] => u607
    [user_id] => u607
    [2] => 68991,
    [group_ids] => 68991,
    [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] => 1765089900
    [start_date] => 1765089900
    [9] => 0
    [end_date] => 0
    [10] => 306
    [total_sms] => 306
    [11] => 306
    [sent_sms] => 306
    [12] => 0
    [duplicate_sms] => 0
    [13] => 15
    [answered_sms] => 15
    [14] => 20
    [busy_sms] => 20
    [15] => 0
    [congestion_sms] => 0
    [16] => 89
    [failed_sms] => 89
    [17] => 0
    [hangup_sms] => 0
    [18] => 22
    [no_answer_sms] => 22
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 76
    [cutting_sms] => 76
    [22] => 84
    [dnd_sms] => 84
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 15
    [user_answered_sms] => 15
    [27] => 20
    [user_busy_sms] => 20
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 89
    [user_failed_sms] => 89
    [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] => 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] => 1765087023
    [create_date] => 1765087023
    [40] => 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":1765089906,"compaign_read_start_time":1765089923,"compaign_read_complete_time":1765089924,"compaign_send_start_time":1765089961,"compaign_send_complete_time":1765089962}
    [action_time] => {"api_allot_time":1765089906,"compaign_read_start_time":1765089923,"compaign_read_complete_time":1765089924,"compaign_send_start_time":1765089961,"compaign_send_complete_time":1765089962}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81793_07122025_121506PM_511
    [common_name] => u607_81793_07122025_121506PM_511
    [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_68991
    [temp_group_table] => contacts_temp_group_68991
    [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] => 1765090142
    [last_credit_update_time] => 1765090142
    [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 : 81793
\compaign_type : Rans per 30.78997 
ans sms 306
dnd sms 84

require answer perrequire answer per : 69

user answer per : 15
below is the redis data 54 /n/r
only no answer and busy will be convert, total number require 54 /n/r
UPDATE voice_compaign_detail_81793 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 43 UPDATE voice_compaign_detail_81793 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 43 Total Failed : 37 no_answer_count : 13 Busy count :10 congestion_count : 5 failed_count : 9UPDATE voice_compaign_detail_81793 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 13 UPDATE voice_compaign_detail_81793 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 10 UPDATE voice_compaign_detail_81793 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 5 UPDATE voice_compaign_detail_81793 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`='57', `user_busy_sms`='53', `user_congestion_sms`='5', `user_failed_sms`='51', `user_hangup_sms`='0', `user_no_answer_sms`='56', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='84' WHERE `compaign_id`=81793 LIMIT 1 


Time Diff : 0.686

Array
(
    [0] => 81795
    [compaign_id] => 81795
    [1] => u607
    [user_id] => u607
    [2] => 68981,
    [group_ids] => 68981,
    [3] => 
    [sender_id] => 
    [4] => srinivasreddy_komireddypally.mp3
    [filename] => srinivasreddy_komireddypally.mp3
    [5] => 22
    [duration] => 22
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765089900
    [start_date] => 1765089900
    [9] => 0
    [end_date] => 0
    [10] => 470
    [total_sms] => 470
    [11] => 470
    [sent_sms] => 470
    [12] => 0
    [duplicate_sms] => 0
    [13] => 19
    [answered_sms] => 19
    [14] => 25
    [busy_sms] => 25
    [15] => 0
    [congestion_sms] => 0
    [16] => 180
    [failed_sms] => 180
    [17] => 0
    [hangup_sms] => 0
    [18] => 13
    [no_answer_sms] => 13
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 174
    [cutting_sms] => 174
    [22] => 59
    [dnd_sms] => 59
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 19
    [user_answered_sms] => 19
    [27] => 25
    [user_busy_sms] => 25
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 180
    [user_failed_sms] => 180
    [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] => 59
    [user_dnd_sms] => 59
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u607
    [created_by] => u607
    [38] => 1
    [isScheduled] => 1
    [39] => 1765087024
    [create_date] => 1765087024
    [40] => 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":1765089907,"compaign_read_start_time":1765089926,"compaign_read_complete_time":1765089927,"compaign_send_start_time":1765089961,"compaign_send_complete_time":1765089963}
    [action_time] => {"api_allot_time":1765089907,"compaign_read_start_time":1765089926,"compaign_read_complete_time":1765089927,"compaign_send_start_time":1765089961,"compaign_send_complete_time":1765089963}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81795_07122025_121506PM_440
    [common_name] => u607_81795_07122025_121506PM_440
    [52] => 1765044547_u607_voice.wav
    [voice_file] => 1765044547_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_68981
    [temp_group_table] => contacts_temp_group_68981
    [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] => 1765090142
    [last_credit_update_time] => 1765090142
    [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 : 81795
\compaign_type : Rans per 30.72157 
ans sms 470
dnd sms 59

require answer perrequire answer per : 127

user answer per : 19
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_81795 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 86 UPDATE voice_compaign_detail_81795 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 86 Total Failed : 94 no_answer_count : 32 Busy count :25 congestion_count : 12 failed_count : 25UPDATE voice_compaign_detail_81795 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 32 UPDATE voice_compaign_detail_81795 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 25 UPDATE voice_compaign_detail_81795 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 12 UPDATE voice_compaign_detail_81795 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`='57', `user_busy_sms`='111', `user_congestion_sms`='12', `user_failed_sms`='113', `user_hangup_sms`='0', `user_no_answer_sms`='118', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='59' WHERE `compaign_id`=81795 LIMIT 1 


Time Diff : 0.447

Array
(
    [0] => 81796
    [compaign_id] => 81796
    [1] => u607
    [user_id] => u607
    [2] => 68989,
    [group_ids] => 68989,
    [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] => 1765089900
    [start_date] => 1765089900
    [9] => 0
    [end_date] => 0
    [10] => 502
    [total_sms] => 502
    [11] => 502
    [sent_sms] => 502
    [12] => 0
    [duplicate_sms] => 0
    [13] => 16
    [answered_sms] => 16
    [14] => 21
    [busy_sms] => 21
    [15] => 0
    [congestion_sms] => 0
    [16] => 175
    [failed_sms] => 175
    [17] => 0
    [hangup_sms] => 0
    [18] => 15
    [no_answer_sms] => 15
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 183
    [cutting_sms] => 183
    [22] => 92
    [dnd_sms] => 92
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 16
    [user_answered_sms] => 16
    [27] => 21
    [user_busy_sms] => 21
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 175
    [user_failed_sms] => 175
    [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] => 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] => 1765087024
    [create_date] => 1765087024
    [40] => 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":1765089907,"compaign_read_start_time":1765089929,"compaign_read_complete_time":1765089930,"compaign_send_start_time":1765089961,"compaign_send_complete_time":1765089963}
    [action_time] => {"api_allot_time":1765089907,"compaign_read_start_time":1765089929,"compaign_read_complete_time":1765089930,"compaign_send_start_time":1765089961,"compaign_send_complete_time":1765089963}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81796_07122025_121506PM_401
    [common_name] => u607_81796_07122025_121506PM_401
    [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_68989
    [temp_group_table] => contacts_temp_group_68989
    [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] => 1765090142
    [last_credit_update_time] => 1765090142
    [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 : 81796
\compaign_type : Rans per 25.11367 
ans sms 502
dnd sms 92

require answer perrequire answer per : 103

user answer per : 16
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_81796 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 63 UPDATE voice_compaign_detail_81796 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 63 Total Failed : 116 no_answer_count : 39 Busy count :30 congestion_count : 14 failed_count : 33UPDATE voice_compaign_detail_81796 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 39 UPDATE voice_compaign_detail_81796 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 30 UPDATE voice_compaign_detail_81796 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 14 UPDATE voice_compaign_detail_81796 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`='52', `user_busy_sms`='93', `user_congestion_sms`='14', `user_failed_sms`='149', `user_hangup_sms`='0', `user_no_answer_sms`='102', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='92' WHERE `compaign_id`=81796 LIMIT 1 


Time Diff : 0.414

Array
(
    [0] => 81797
    [compaign_id] => 81797
    [1] => u607
    [user_id] => u607
    [2] => 68985,
    [group_ids] => 68985,
    [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] => 1765089900
    [start_date] => 1765089900
    [9] => 0
    [end_date] => 0
    [10] => 752
    [total_sms] => 752
    [11] => 752
    [sent_sms] => 752
    [12] => 0
    [duplicate_sms] => 0
    [13] => 39
    [answered_sms] => 39
    [14] => 25
    [busy_sms] => 25
    [15] => 0
    [congestion_sms] => 0
    [16] => 202
    [failed_sms] => 202
    [17] => 0
    [hangup_sms] => 0
    [18] => 30
    [no_answer_sms] => 30
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 281
    [cutting_sms] => 281
    [22] => 175
    [dnd_sms] => 175
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 39
    [user_answered_sms] => 39
    [27] => 25
    [user_busy_sms] => 25
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 202
    [user_failed_sms] => 202
    [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] => 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] => 1765087035
    [create_date] => 1765087035
    [40] => 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":1765089907,"compaign_read_start_time":1765089932,"compaign_read_complete_time":1765089933,"compaign_send_start_time":1765089961,"compaign_send_complete_time":1765089963}
    [action_time] => {"api_allot_time":1765089907,"compaign_read_start_time":1765089932,"compaign_read_complete_time":1765089933,"compaign_send_start_time":1765089961,"compaign_send_complete_time":1765089963}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81797_07122025_121506PM_600
    [common_name] => u607_81797_07122025_121506PM_600
    [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_68985
    [temp_group_table] => contacts_temp_group_68985
    [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] => 1765090142
    [last_credit_update_time] => 1765090142
    [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 : 81797
\compaign_type : Rans per 30.39482 
ans sms 752
dnd sms 175

require answer perrequire answer per : 176

user answer per : 39
below is the redis data 137 /n/r
only no answer and busy will be convert, total number require 137 /n/r
UPDATE voice_compaign_detail_81797 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_81797 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 : 153 no_answer_count : 52 Busy count :40 congestion_count : 19 failed_count : 42UPDATE voice_compaign_detail_81797 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 52 UPDATE voice_compaign_detail_81797 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 40 UPDATE voice_compaign_detail_81797 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 19 UPDATE voice_compaign_detail_81797 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`='94', `user_busy_sms`='139', `user_congestion_sms`='19', `user_failed_sms`='174', `user_hangup_sms`='0', `user_no_answer_sms`='151', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='175' WHERE `compaign_id`=81797 LIMIT 1 


Time Diff : 0.281

Array
(
    [0] => 81798
    [compaign_id] => 81798
    [1] => u607
    [user_id] => u607
    [2] => 68979,
    [group_ids] => 68979,
    [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] => 1765089900
    [start_date] => 1765089900
    [9] => 0
    [end_date] => 0
    [10] => 836
    [total_sms] => 836
    [11] => 836
    [sent_sms] => 836
    [12] => 0
    [duplicate_sms] => 0
    [13] => 57
    [answered_sms] => 57
    [14] => 45
    [busy_sms] => 45
    [15] => 0
    [congestion_sms] => 0
    [16] => 130
    [failed_sms] => 130
    [17] => 0
    [hangup_sms] => 0
    [18] => 59
    [no_answer_sms] => 59
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 248
    [cutting_sms] => 248
    [22] => 297
    [dnd_sms] => 297
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 57
    [user_answered_sms] => 57
    [27] => 45
    [user_busy_sms] => 45
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 130
    [user_failed_sms] => 130
    [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] => 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] => 1765087035
    [create_date] => 1765087035
    [40] => 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":1765089907,"compaign_read_start_time":1765089935,"compaign_read_complete_time":1765089936,"compaign_send_start_time":1765089961,"compaign_send_complete_time":1765089963}
    [action_time] => {"api_allot_time":1765089907,"compaign_read_start_time":1765089935,"compaign_read_complete_time":1765089936,"compaign_send_start_time":1765089961,"compaign_send_complete_time":1765089963}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81798_07122025_121506PM_935
    [common_name] => u607_81798_07122025_121506PM_935
    [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_68979
    [temp_group_table] => contacts_temp_group_68979
    [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] => 1765090142
    [last_credit_update_time] => 1765090142
    [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 : 81798
\compaign_type : Rans per 26.35023 
ans sms 836
dnd sms 297

require answer perrequire answer per : 143

user answer per : 57
below is the redis data 86 /n/r
only no answer and busy will be convert, total number require 86 /n/r
UPDATE voice_compaign_detail_81798 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_81798 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 : 163 no_answer_count : 55 Busy count :42 congestion_count : 20 failed_count : 46UPDATE voice_compaign_detail_81798 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 55 UPDATE voice_compaign_detail_81798 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 42 UPDATE voice_compaign_detail_81798 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 20 UPDATE voice_compaign_detail_81798 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 46 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='143', `user_busy_sms`='110', `user_congestion_sms`='20', `user_failed_sms`='139', `user_hangup_sms`='0', `user_no_answer_sms`='127', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='297' WHERE `compaign_id`=81798 LIMIT 1 


Time Diff : 0.248

Array
(
    [0] => 81799
    [compaign_id] => 81799
    [1] => u607
    [user_id] => u607
    [2] => 68992,
    [group_ids] => 68992,
    [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] => 1765089900
    [start_date] => 1765089900
    [9] => 0
    [end_date] => 0
    [10] => 962
    [total_sms] => 962
    [11] => 962
    [sent_sms] => 962
    [12] => 0
    [duplicate_sms] => 0
    [13] => 44
    [answered_sms] => 44
    [14] => 23
    [busy_sms] => 23
    [15] => 0
    [congestion_sms] => 0
    [16] => 235
    [failed_sms] => 235
    [17] => 0
    [hangup_sms] => 0
    [18] => 44
    [no_answer_sms] => 44
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 325
    [cutting_sms] => 325
    [22] => 291
    [dnd_sms] => 291
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 44
    [user_answered_sms] => 44
    [27] => 23
    [user_busy_sms] => 23
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 235
    [user_failed_sms] => 235
    [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] => 291
    [user_dnd_sms] => 291
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u607
    [created_by] => u607
    [38] => 1
    [isScheduled] => 1
    [39] => 1765087036
    [create_date] => 1765087036
    [40] => 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":1765089907,"compaign_read_start_time":1765089938,"compaign_read_complete_time":1765089940,"compaign_send_start_time":1765089961,"compaign_send_complete_time":1765089963}
    [action_time] => {"api_allot_time":1765089907,"compaign_read_start_time":1765089938,"compaign_read_complete_time":1765089940,"compaign_send_start_time":1765089961,"compaign_send_complete_time":1765089963}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81799_07122025_121506PM_951
    [common_name] => u607_81799_07122025_121506PM_951
    [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] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_68992
    [temp_group_table] => contacts_temp_group_68992
    [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] => 1765090142
    [last_credit_update_time] => 1765090142
    [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 : 81799
\compaign_type : Rans per 25.25604 
ans sms 962
dnd sms 291

require answer perrequire answer per : 170

user answer per : 44
below is the redis data 126 /n/r
only no answer and busy will be convert, total number require 126 /n/r
UPDATE voice_compaign_detail_81799 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 96 UPDATE voice_compaign_detail_81799 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 96 Total Failed : 210 no_answer_count : 71 Busy count :54 congestion_count : 25 failed_count : 60UPDATE voice_compaign_detail_81799 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 71 UPDATE voice_compaign_detail_81799 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 54 UPDATE voice_compaign_detail_81799 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 25 UPDATE voice_compaign_detail_81799 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`='111', `user_busy_sms`='150', `user_congestion_sms`='25', `user_failed_sms`='218', `user_hangup_sms`='0', `user_no_answer_sms`='167', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='291' WHERE `compaign_id`=81799 LIMIT 1 


Time Diff : 0.212

Array
(
    [0] => 81801
    [compaign_id] => 81801
    [1] => u607
    [user_id] => u607
    [2] => 68990,
    [group_ids] => 68990,
    [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] => 1765089900
    [start_date] => 1765089900
    [9] => 0
    [end_date] => 0
    [10] => 1505
    [total_sms] => 1505
    [11] => 1505
    [sent_sms] => 1505
    [12] => 0
    [duplicate_sms] => 0
    [13] => 81
    [answered_sms] => 81
    [14] => 77
    [busy_sms] => 77
    [15] => 0
    [congestion_sms] => 0
    [16] => 233
    [failed_sms] => 233
    [17] => 0
    [hangup_sms] => 0
    [18] => 91
    [no_answer_sms] => 91
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 436
    [cutting_sms] => 436
    [22] => 587
    [dnd_sms] => 587
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 81
    [user_answered_sms] => 81
    [27] => 77
    [user_busy_sms] => 77
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 233
    [user_failed_sms] => 233
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 91
    [user_no_answer_sms] => 91
    [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] => 1765087038
    [create_date] => 1765087038
    [40] => 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":1765089907,"compaign_read_start_time":1765089941,"compaign_read_complete_time":1765089943,"compaign_send_start_time":1765089961,"compaign_send_complete_time":1765089964}
    [action_time] => {"api_allot_time":1765089907,"compaign_read_start_time":1765089941,"compaign_read_complete_time":1765089943,"compaign_send_start_time":1765089961,"compaign_send_complete_time":1765089964}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81801_07122025_121506PM_873
    [common_name] => u607_81801_07122025_121506PM_873
    [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_68990
    [temp_group_table] => contacts_temp_group_68990
    [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] => 1765090142
    [last_credit_update_time] => 1765090142
    [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 : 81801
\compaign_type : Rans per 28.21129 
ans sms 1505
dnd sms 587

require answer perrequire answer per : 259

user answer per : 81
below is the redis data 178 /n/r
only no answer and busy will be convert, total number require 178 /n/r
UPDATE voice_compaign_detail_81801 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_81801 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 : 262 no_answer_count : 88 Busy count :68 congestion_count : 32 failed_count : 74UPDATE voice_compaign_detail_81801 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 88 UPDATE voice_compaign_detail_81801 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 68 UPDATE voice_compaign_detail_81801 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 32 UPDATE voice_compaign_detail_81801 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`='249', `user_busy_sms`='197', `user_congestion_sms`='32', `user_failed_sms`='223', `user_hangup_sms`='0', `user_no_answer_sms`='217', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='587' WHERE `compaign_id`=81801 LIMIT 1 


Time Diff : 0.139

Array
(
    [0] => 81805
    [compaign_id] => 81805
    [1] => u607
    [user_id] => u607
    [2] => 68996,
    [group_ids] => 68996,
    [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] => 1765089900
    [start_date] => 1765089900
    [9] => 0
    [end_date] => 0
    [10] => 217
    [total_sms] => 217
    [11] => 217
    [sent_sms] => 217
    [12] => 0
    [duplicate_sms] => 0
    [13] => 19
    [answered_sms] => 19
    [14] => 24
    [busy_sms] => 24
    [15] => 0
    [congestion_sms] => 0
    [16] => 45
    [failed_sms] => 45
    [17] => 0
    [hangup_sms] => 0
    [18] => 19
    [no_answer_sms] => 19
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 54
    [cutting_sms] => 54
    [22] => 56
    [dnd_sms] => 56
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 19
    [user_answered_sms] => 19
    [27] => 24
    [user_busy_sms] => 24
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 45
    [user_failed_sms] => 45
    [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] => 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] => 1765087323
    [create_date] => 1765087323
    [40] => 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":1765089907,"compaign_read_start_time":1765089944,"compaign_read_complete_time":1765089944,"compaign_send_start_time":1765089961,"compaign_send_complete_time":1765089962}
    [action_time] => {"api_allot_time":1765089907,"compaign_read_start_time":1765089944,"compaign_read_complete_time":1765089944,"compaign_send_start_time":1765089961,"compaign_send_complete_time":1765089962}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81805_07122025_121506PM_512
    [common_name] => u607_81805_07122025_121506PM_512
    [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_68996
    [temp_group_table] => contacts_temp_group_68996
    [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] => 1765090142
    [last_credit_update_time] => 1765090142
    [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 : 81805
\compaign_type : Rans per 28.40162 
ans sms 217
dnd sms 56

require answer perrequire answer per : 46

user answer per : 19
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_81805 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_81805 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 : 30 no_answer_count : 11 Busy count :8 congestion_count : 4 failed_count : 7UPDATE voice_compaign_detail_81805 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 11 UPDATE voice_compaign_detail_81805 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 8 UPDATE voice_compaign_detail_81805 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 4 UPDATE voice_compaign_detail_81805 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 7 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='46', `user_busy_sms`='40', `user_congestion_sms`='4', `user_failed_sms`='34', `user_hangup_sms`='0', `user_no_answer_sms`='37', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='56' WHERE `compaign_id`=81805 LIMIT 1 


Time Diff : 0.963

Array
(
    [0] => 81806
    [compaign_id] => 81806
    [1] => u607
    [user_id] => u607
    [2] => 68998,
    [group_ids] => 68998,
    [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] => 1765089900
    [start_date] => 1765089900
    [9] => 0
    [end_date] => 0
    [10] => 534
    [total_sms] => 534
    [11] => 534
    [sent_sms] => 534
    [12] => 0
    [duplicate_sms] => 0
    [13] => 35
    [answered_sms] => 35
    [14] => 18
    [busy_sms] => 18
    [15] => 0
    [congestion_sms] => 0
    [16] => 142
    [failed_sms] => 142
    [17] => 0
    [hangup_sms] => 0
    [18] => 42
    [no_answer_sms] => 42
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 154
    [cutting_sms] => 154
    [22] => 143
    [dnd_sms] => 143
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 35
    [user_answered_sms] => 35
    [27] => 18
    [user_busy_sms] => 18
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 142
    [user_failed_sms] => 142
    [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] => 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] => 1765087324
    [create_date] => 1765087324
    [40] => 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":1765089907,"compaign_read_start_time":1765089947,"compaign_read_complete_time":1765089948,"compaign_send_start_time":1765089961,"compaign_send_complete_time":1765090023}
    [action_time] => {"api_allot_time":1765089907,"compaign_read_start_time":1765089947,"compaign_read_complete_time":1765089948,"compaign_send_start_time":1765089961,"compaign_send_complete_time":1765090023}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81806_07122025_121506PM_780
    [common_name] => u607_81806_07122025_121506PM_780
    [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_68998
    [temp_group_table] => contacts_temp_group_68998
    [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] => 1765090142
    [last_credit_update_time] => 1765090142
    [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 : 81806
\compaign_type : Rans per 25.5491 
ans sms 534
dnd sms 143

require answer perrequire answer per : 100

user answer per : 35
below is the redis data 65 /n/r
only no answer and busy will be convert, total number require 65 /n/r
UPDATE voice_compaign_detail_81806 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 47 UPDATE voice_compaign_detail_81806 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 47 Total Failed : 112 no_answer_count : 38 Busy count :29 congestion_count : 14 failed_count : 31UPDATE voice_compaign_detail_81806 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 38 UPDATE voice_compaign_detail_81806 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 29 UPDATE voice_compaign_detail_81806 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 14 UPDATE voice_compaign_detail_81806 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`='95', `user_busy_sms`='76', `user_congestion_sms`='14', `user_failed_sms`='121', `user_hangup_sms`='0', `user_no_answer_sms`='85', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='143' WHERE `compaign_id`=81806 LIMIT 1 


Time Diff : 0.215

Array
(
    [0] => 81807
    [compaign_id] => 81807
    [1] => u607
    [user_id] => u607
    [2] => 68995,
    [group_ids] => 68995,
    [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] => 1765089900
    [start_date] => 1765089900
    [9] => 0
    [end_date] => 0
    [10] => 797
    [total_sms] => 797
    [11] => 797
    [sent_sms] => 797
    [12] => 0
    [duplicate_sms] => 0
    [13] => 36
    [answered_sms] => 36
    [14] => 39
    [busy_sms] => 39
    [15] => 1
    [congestion_sms] => 1
    [16] => 213
    [failed_sms] => 213
    [17] => 0
    [hangup_sms] => 0
    [18] => 25
    [no_answer_sms] => 25
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 295
    [cutting_sms] => 295
    [22] => 188
    [dnd_sms] => 188
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 36
    [user_answered_sms] => 36
    [27] => 39
    [user_busy_sms] => 39
    [28] => 1
    [user_congestion_sms] => 1
    [29] => 213
    [user_failed_sms] => 213
    [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] => 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] => 1765087325
    [create_date] => 1765087325
    [40] => 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":1765089907,"compaign_read_start_time":1765089950,"compaign_read_complete_time":1765089951,"compaign_send_start_time":1765089961,"compaign_send_complete_time":1765089963}
    [action_time] => {"api_allot_time":1765089907,"compaign_read_start_time":1765089950,"compaign_read_complete_time":1765089951,"compaign_send_start_time":1765089961,"compaign_send_complete_time":1765089963}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81807_07122025_121506PM_704
    [common_name] => u607_81807_07122025_121506PM_704
    [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_68995
    [temp_group_table] => contacts_temp_group_68995
    [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] => 1765090142
    [last_credit_update_time] => 1765090142
    [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 : 81807
\compaign_type : Rans per 28.59576 
ans sms 797
dnd sms 188

require answer perrequire answer per : 175

user answer per : 36
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_81807 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 110 UPDATE voice_compaign_detail_81807 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 110 Total Failed : 176 no_answer_count : 59 Busy count :46 congestion_count : 21 failed_count : 50UPDATE voice_compaign_detail_81807 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 59 UPDATE voice_compaign_detail_81807 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 46 UPDATE voice_compaign_detail_81807 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 21 UPDATE voice_compaign_detail_81807 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`='100', `user_busy_sms`='156', `user_congestion_sms`='21', `user_failed_sms`='163', `user_hangup_sms`='0', `user_no_answer_sms`='169', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='188' WHERE `compaign_id`=81807 LIMIT 1 


Time Diff : 0.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>'1764831061'  
Array
(
    [0] => 81808
    [compaign_id] => 81808
    [1] => u607
    [user_id] => u607
    [2] => 68994,
    [group_ids] => 68994,
    [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] => 1765089900
    [start_date] => 1765089900
    [9] => 0
    [end_date] => 0
    [10] => 1356
    [total_sms] => 1356
    [11] => 1356
    [sent_sms] => 1356
    [12] => 0
    [duplicate_sms] => 0
    [13] => 77
    [answered_sms] => 77
    [14] => 58
    [busy_sms] => 58
    [15] => 0
    [congestion_sms] => 0
    [16] => 374
    [failed_sms] => 374
    [17] => 0
    [hangup_sms] => 0
    [18] => 50
    [no_answer_sms] => 50
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 584
    [cutting_sms] => 584
    [22] => 213
    [dnd_sms] => 213
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 77
    [user_answered_sms] => 77
    [27] => 58
    [user_busy_sms] => 58
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 374
    [user_failed_sms] => 374
    [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] => 213
    [user_dnd_sms] => 213
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u607
    [created_by] => u607
    [38] => 1
    [isScheduled] => 1
    [39] => 1765087327
    [create_date] => 1765087327
    [40] => 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":1765089907,"compaign_read_start_time":1765089961,"compaign_read_complete_time":1765089964,"compaign_send_start_time":1765090022,"compaign_send_complete_time":1765090024}
    [action_time] => {"api_allot_time":1765089907,"compaign_read_start_time":1765089961,"compaign_read_complete_time":1765089964,"compaign_send_start_time":1765090022,"compaign_send_complete_time":1765090024}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81808_07122025_121506PM_293
    [common_name] => u607_81808_07122025_121506PM_293
    [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_68994
    [temp_group_table] => contacts_temp_group_68994
    [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] => 1765090261
    [last_credit_update_time] => 1765090261
    [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 : 81808
\compaign_type : Rans per 28.00469 
ans sms 1356
dnd sms 213

require answer perrequire answer per : 321

user answer per : 77
below is the redis data 244 /n/r
only no answer and busy will be convert, total number require 244 /n/r
UPDATE voice_compaign_detail_81808 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 193 UPDATE voice_compaign_detail_81808 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 193 Total Failed : 348 no_answer_count : 117 Busy count :90 congestion_count : 42 failed_count : 99UPDATE voice_compaign_detail_81808 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 117 UPDATE voice_compaign_detail_81808 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 90 UPDATE voice_compaign_detail_81808 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 42 UPDATE voice_compaign_detail_81808 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 99 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='185', `user_busy_sms`='283', `user_congestion_sms`='42', `user_failed_sms`='323', `user_hangup_sms`='0', `user_no_answer_sms`='310', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='213' WHERE `compaign_id`=81808 LIMIT 1 


Time Diff : 0.13

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764831122'  
Array
(
    [0] => 81848
    [compaign_id] => 81848
    [1] => u371
    [user_id] => u371
    [2] => 69016,
    [group_ids] => 69016,
    [3] => 
    [sender_id] => 
    [4] => Mittapally CV S.mp3
    [filename] => Mittapally CV S.mp3
    [5] => 16
    [duration] => 16
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765089761
    [start_date] => 1765089761
    [9] => 0
    [end_date] => 0
    [10] => 511
    [total_sms] => 511
    [11] => 511
    [sent_sms] => 511
    [12] => 0
    [duplicate_sms] => 0
    [13] => 76
    [answered_sms] => 76
    [14] => 28
    [busy_sms] => 28
    [15] => 0
    [congestion_sms] => 0
    [16] => 149
    [failed_sms] => 149
    [17] => 0
    [hangup_sms] => 0
    [18] => 59
    [no_answer_sms] => 59
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 199
    [cutting_sms] => 199
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 76
    [user_answered_sms] => 76
    [27] => 28
    [user_busy_sms] => 28
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 149
    [user_failed_sms] => 149
    [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] => u371
    [created_by] => u371
    [38] => 0
    [isScheduled] => 0
    [39] => 1765089761
    [create_date] => 1765089761
    [40] => 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":1765089773,"compaign_read_start_time":1765089781,"compaign_read_complete_time":1765089782,"compaign_send_start_time":1765089842,"compaign_send_complete_time":1765089904}
    [action_time] => {"api_allot_time":1765089773,"compaign_read_start_time":1765089781,"compaign_read_complete_time":1765089782,"compaign_send_start_time":1765089842,"compaign_send_complete_time":1765089904}
    [50] => 0
    [compaign_file] => 0
    [51] => u371_81848_07122025_121252PM_517
    [common_name] => u371_81848_07122025_121252PM_517
    [52] => 1765089761_u371_voice.wav
    [voice_file] => 1765089761_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_69016
    [temp_group_table] => contacts_temp_group_69016
    [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] => 1765090261
    [last_credit_update_time] => 1765090261
    [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 : 81848
\compaign_type : Rans per 25.11611 
ans sms 511
dnd sms 0

require answer perrequire answer per : 129

user answer per : 76
below is the redis data 53 /n/r
only no answer and busy will be convert, total number require 53 /n/r
UPDATE voice_compaign_detail_81848 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 42 UPDATE voice_compaign_detail_81848 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 42 Total Failed : 150 no_answer_count : 51 Busy count :39 congestion_count : 18 failed_count : 42UPDATE voice_compaign_detail_81848 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 51 UPDATE voice_compaign_detail_81848 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 39 UPDATE voice_compaign_detail_81848 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 18 UPDATE voice_compaign_detail_81848 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`='129', `user_busy_sms`='96', `user_congestion_sms`='18', `user_failed_sms`='156', `user_hangup_sms`='0', `user_no_answer_sms`='112', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81848 LIMIT 1 


Time Diff : 0.595

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764831181'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764831242'  
Array
(
    [0] => 81794
    [compaign_id] => 81794
    [1] => u607
    [user_id] => u607
    [2] => 68982,
    [group_ids] => 68982,
    [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] => 1765089900
    [start_date] => 1765089900
    [9] => 0
    [end_date] => 0
    [10] => 303
    [total_sms] => 303
    [11] => 303
    [sent_sms] => 303
    [12] => 0
    [duplicate_sms] => 0
    [13] => 28
    [answered_sms] => 28
    [14] => 20
    [busy_sms] => 20
    [15] => 0
    [congestion_sms] => 0
    [16] => 62
    [failed_sms] => 62
    [17] => 0
    [hangup_sms] => 0
    [18] => 29
    [no_answer_sms] => 29
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 92
    [cutting_sms] => 92
    [22] => 72
    [dnd_sms] => 72
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 28
    [user_answered_sms] => 28
    [27] => 20
    [user_busy_sms] => 20
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 62
    [user_failed_sms] => 62
    [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] => 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] => 1765087023
    [create_date] => 1765087023
    [40] => 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":1765090036,"compaign_read_start_time":1765090085,"compaign_read_complete_time":1765090086,"compaign_send_start_time":1765090142,"compaign_send_complete_time":1765090143}
    [action_time] => {"api_allot_time":1765090036,"compaign_read_start_time":1765090085,"compaign_read_complete_time":1765090086,"compaign_send_start_time":1765090142,"compaign_send_complete_time":1765090143}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81794_07122025_121506PM_449
    [common_name] => u607_81794_07122025_121506PM_449
    [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_68982
    [temp_group_table] => contacts_temp_group_68982
    [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] => 1765090381
    [last_credit_update_time] => 1765090381
    [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 : 81794
\compaign_type : Rans per 25.06906 
ans sms 303
dnd sms 72

require answer perrequire answer per : 58

user answer per : 28
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_81794 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 23 UPDATE voice_compaign_detail_81794 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 23 Total Failed : 63 no_answer_count : 22 Busy count :17 congestion_count : 8 failed_count : 16UPDATE voice_compaign_detail_81794 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 22 UPDATE voice_compaign_detail_81794 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 17 UPDATE voice_compaign_detail_81794 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 8 UPDATE voice_compaign_detail_81794 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 16 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='58', `user_busy_sms`='47', `user_congestion_sms`='8', `user_failed_sms`='61', `user_hangup_sms`='0', `user_no_answer_sms`='57', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='72' WHERE `compaign_id`=81794 LIMIT 1 


Time Diff : 0.898

Array
(
    [0] => 81800
    [compaign_id] => 81800
    [1] => u607
    [user_id] => u607
    [2] => 68978,
    [group_ids] => 68978,
    [3] => 
    [sender_id] => 
    [4] => t.kumar_mulugu.mp3
    [filename] => t.kumar_mulugu.mp3
    [5] => 31
    [duration] => 31
    [6] => 2
    [credits_per_sms] => 2
    [7] => 30
    [user_pulse] => 30
    [8] => 1765089900
    [start_date] => 1765089900
    [9] => 0
    [end_date] => 0
    [10] => 993
    [total_sms] => 993
    [11] => 993
    [sent_sms] => 993
    [12] => 0
    [duplicate_sms] => 0
    [13] => 38
    [answered_sms] => 38
    [14] => 53
    [busy_sms] => 53
    [15] => 0
    [congestion_sms] => 0
    [16] => 269
    [failed_sms] => 269
    [17] => 0
    [hangup_sms] => 0
    [18] => 51
    [no_answer_sms] => 51
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 411
    [cutting_sms] => 411
    [22] => 171
    [dnd_sms] => 171
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 38
    [user_answered_sms] => 38
    [27] => 53
    [user_busy_sms] => 53
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 269
    [user_failed_sms] => 269
    [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] => 171
    [user_dnd_sms] => 171
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u607
    [created_by] => u607
    [38] => 1
    [isScheduled] => 1
    [39] => 1765087036
    [create_date] => 1765087036
    [40] => 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":1765090036,"compaign_read_start_time":1765090088,"compaign_read_complete_time":1765090091,"compaign_send_start_time":1765090142,"compaign_send_complete_time":1765090144}
    [action_time] => {"api_allot_time":1765090036,"compaign_read_start_time":1765090088,"compaign_read_complete_time":1765090091,"compaign_send_start_time":1765090142,"compaign_send_complete_time":1765090144}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81800_07122025_121506PM_793
    [common_name] => u607_81800_07122025_121506PM_793
    [52] => 1765044260_u607_voice.wav
    [voice_file] => 1765044260_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_68978
    [temp_group_table] => contacts_temp_group_68978
    [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] => 1765090381
    [last_credit_update_time] => 1765090381
    [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 : 81800
\compaign_type : Rans per 27.53879 
ans sms 993
dnd sms 171

require answer perrequire answer per : 227

user answer per : 38
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_81800 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 150 UPDATE voice_compaign_detail_81800 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 150 Total Failed : 237 no_answer_count : 80 Busy count :61 congestion_count : 29 failed_count : 67UPDATE voice_compaign_detail_81800 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 80 UPDATE voice_compaign_detail_81800 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 61 UPDATE voice_compaign_detail_81800 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 29 UPDATE voice_compaign_detail_81800 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`='142', `user_busy_sms`='211', `user_congestion_sms`='29', `user_failed_sms`='210', `user_hangup_sms`='0', `user_no_answer_sms`='230', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='171' WHERE `compaign_id`=81800 LIMIT 1 


Time Diff : 0.273

Array
(
    [0] => 81809
    [compaign_id] => 81809
    [1] => u607
    [user_id] => u607
    [2] => 68997,
    [group_ids] => 68997,
    [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] => 1765089900
    [start_date] => 1765089900
    [9] => 0
    [end_date] => 0
    [10] => 4893
    [total_sms] => 4893
    [11] => 4893
    [sent_sms] => 4893
    [12] => 0
    [duplicate_sms] => 0
    [13] => 169
    [answered_sms] => 169
    [14] => 194
    [busy_sms] => 194
    [15] => 0
    [congestion_sms] => 0
    [16] => 1460
    [failed_sms] => 1460
    [17] => 0
    [hangup_sms] => 0
    [18] => 159
    [no_answer_sms] => 159
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 1905
    [cutting_sms] => 1905
    [22] => 1006
    [dnd_sms] => 1006
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 169
    [user_answered_sms] => 169
    [27] => 194
    [user_busy_sms] => 194
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1460
    [user_failed_sms] => 1460
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 159
    [user_no_answer_sms] => 159
    [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] => 1765087351
    [create_date] => 1765087351
    [40] => 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":1765090037,"compaign_read_start_time":1765090091,"compaign_read_complete_time":1765090102,"compaign_send_start_time":1765090142,"compaign_send_complete_time":1765090160}
    [action_time] => {"api_allot_time":1765090037,"compaign_read_start_time":1765090091,"compaign_read_complete_time":1765090102,"compaign_send_start_time":1765090142,"compaign_send_complete_time":1765090160}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81809_07122025_121506PM_648
    [common_name] => u607_81809_07122025_121506PM_648
    [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_68997
    [temp_group_table] => contacts_temp_group_68997
    [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] => 1765090381
    [last_credit_update_time] => 1765090381
    [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 : 81809
\compaign_type : Rans per 26.10405 
ans sms 4893
dnd sms 1006

require answer perrequire answer per : 1015

user answer per : 169
below is the redis data 846 /n/r
only no answer and busy will be convert, total number require 846 /n/r
UPDATE voice_compaign_detail_81809 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 618 UPDATE voice_compaign_detail_81809 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 618 Total Failed : 1213 no_answer_count : 405 Busy count :312 congestion_count : 144 failed_count : 352UPDATE voice_compaign_detail_81809 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 405 UPDATE voice_compaign_detail_81809 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 312 UPDATE voice_compaign_detail_81809 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 144 UPDATE voice_compaign_detail_81809 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 352 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='522', `user_busy_sms`='930', `user_congestion_sms`='144', `user_failed_sms`='1268', `user_hangup_sms`='0', `user_no_answer_sms`='1023', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='1006' WHERE `compaign_id`=81809 LIMIT 1 


Time Diff : 0.055

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764831302'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764831361'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764831421'  
Array
(
    [0] => 81853
    [compaign_id] => 81853
    [1] => u607
    [user_id] => u607
    [2] => 69024,
    [group_ids] => 69024,
    [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] => 1765090307
    [start_date] => 1765090307
    [9] => 0
    [end_date] => 0
    [10] => 1494
    [total_sms] => 1494
    [11] => 1494
    [sent_sms] => 1494
    [12] => 0
    [duplicate_sms] => 0
    [13] => 200
    [answered_sms] => 200
    [14] => 87
    [busy_sms] => 87
    [15] => 0
    [congestion_sms] => 0
    [16] => 181
    [failed_sms] => 181
    [17] => 0
    [hangup_sms] => 0
    [18] => 139
    [no_answer_sms] => 139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 601
    [cutting_sms] => 601
    [22] => 286
    [dnd_sms] => 286
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 200
    [user_answered_sms] => 200
    [27] => 87
    [user_busy_sms] => 87
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 181
    [user_failed_sms] => 181
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 139
    [user_no_answer_sms] => 139
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 286
    [user_dnd_sms] => 286
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u607
    [created_by] => u607
    [38] => 0
    [isScheduled] => 0
    [39] => 1765090307
    [create_date] => 1765090307
    [40] => 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":1765090323,"compaign_read_start_time":1765090325,"compaign_read_complete_time":1765090329,"compaign_send_start_time":1765090382,"compaign_send_complete_time":1765090385}
    [action_time] => {"api_allot_time":1765090323,"compaign_read_start_time":1765090325,"compaign_read_complete_time":1765090329,"compaign_send_start_time":1765090382,"compaign_send_complete_time":1765090385}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81853_07122025_122202PM_440
    [common_name] => u607_81853_07122025_122202PM_440
    [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_69024
    [temp_group_table] => contacts_temp_group_69024
    [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] => 1765090504
    [reschedule_last_check_time] => 1765090504
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765090621
    [last_credit_update_time] => 1765090621
    [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":1765093500,"2":1765097100}
    [rt_time] => {"1":1765093500,"2":1765097100}
    [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 : 81853
\compaign_type : Rans per 27.4996 
ans sms 1494
dnd sms 286

require answer perrequire answer per : 333

user answer per : 200
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_81853 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 96 UPDATE voice_compaign_detail_81853 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 96 Total Failed : 457 no_answer_count : 153 Busy count :118 congestion_count : 55 failed_count : 131UPDATE voice_compaign_detail_81853 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 153 UPDATE voice_compaign_detail_81853 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 118 UPDATE voice_compaign_detail_81853 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 55 UPDATE voice_compaign_detail_81853 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`='333', `user_busy_sms`='254', `user_congestion_sms`='55', `user_failed_sms`='264', `user_hangup_sms`='0', `user_no_answer_sms`='302', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='286' WHERE `compaign_id`=81853 LIMIT 1 


Time Diff : 0.142

Array
(
    [0] => 81854
    [compaign_id] => 81854
    [1] => u86
    [user_id] => u86
    [2] => 69025,
    [group_ids] => 69025,
    [3] => 
    [sender_id] => 
    [4] => ADVOCATE.mp3
    [filename] => ADVOCATE.mp3
    [5] => 24
    [duration] => 24
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765090333
    [start_date] => 1765090333
    [9] => 0
    [end_date] => 0
    [10] => 662
    [total_sms] => 662
    [11] => 662
    [sent_sms] => 662
    [12] => 0
    [duplicate_sms] => 0
    [13] => 24
    [answered_sms] => 24
    [14] => 37
    [busy_sms] => 37
    [15] => 0
    [congestion_sms] => 0
    [16] => 106
    [failed_sms] => 106
    [17] => 0
    [hangup_sms] => 0
    [18] => 33
    [no_answer_sms] => 33
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 159
    [cutting_sms] => 159
    [22] => 303
    [dnd_sms] => 303
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 24
    [user_answered_sms] => 24
    [27] => 37
    [user_busy_sms] => 37
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 106
    [user_failed_sms] => 106
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 33
    [user_no_answer_sms] => 33
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 303
    [user_dnd_sms] => 303
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u86
    [created_by] => u86
    [38] => 0
    [isScheduled] => 0
    [39] => 1765090333
    [create_date] => 1765090333
    [40] => 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":1765090338,"compaign_read_start_time":1765090340,"compaign_read_complete_time":1765090341,"compaign_send_start_time":1765090382,"compaign_send_complete_time":1765090383}
    [action_time] => {"api_allot_time":1765090338,"compaign_read_start_time":1765090340,"compaign_read_complete_time":1765090341,"compaign_send_start_time":1765090382,"compaign_send_complete_time":1765090383}
    [50] => 0
    [compaign_file] => 0
    [51] => u86_81854_07122025_122218PM_989
    [common_name] => u86_81854_07122025_122218PM_989
    [52] => 1765088082_u86_voice.wav
    [voice_file] => 1765088082_u86_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_69025
    [temp_group_table] => contacts_temp_group_69025
    [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] => 1765090621
    [last_credit_update_time] => 1765090621
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 161
    [user_voice_plan_id] => 161
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.19
    [pulse_rate] => 0.19
    [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,u86
    [uphierarchy] => admin,sr3,u86
    [113] => 
    [extra_params_json] => 
)


Compaign : 81854
\compaign_type : Rans per 25.61498 
ans sms 662
dnd sms 303

require answer perrequire answer per : 92

user answer per : 24
below is the redis data 68 /n/r
only no answer and busy will be convert, total number require 68 /n/r
UPDATE voice_compaign_detail_81854 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 48 UPDATE voice_compaign_detail_81854 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 48 Total Failed : 99 no_answer_count : 34 Busy count :26 congestion_count : 12 failed_count : 27UPDATE voice_compaign_detail_81854 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 34 UPDATE voice_compaign_detail_81854 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 26 UPDATE voice_compaign_detail_81854 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 12 UPDATE voice_compaign_detail_81854 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`='92', `user_busy_sms`='74', `user_congestion_sms`='12', `user_failed_sms`='97', `user_hangup_sms`='0', `user_no_answer_sms`='84', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='303' WHERE `compaign_id`=81854 LIMIT 1 


Time Diff : 0.32

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764831481'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764831541'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764831602'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764831661'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764831722'  
Array
(
    [0] => 81856
    [compaign_id] => 81856
    [1] => u607
    [user_id] => u607
    [2] => 69026,
    [group_ids] => 69026,
    [3] => 
    [sender_id] => 
    [4] => k.srinivas_mirdoddi.mp3
    [filename] => k.srinivas_mirdoddi.mp3
    [5] => 31
    [duration] => 31
    [6] => 2
    [credits_per_sms] => 2
    [7] => 30
    [user_pulse] => 30
    [8] => 1765090616
    [start_date] => 1765090616
    [9] => 0
    [end_date] => 0
    [10] => 2029
    [total_sms] => 2029
    [11] => 2029
    [sent_sms] => 2029
    [12] => 0
    [duplicate_sms] => 0
    [13] => 172
    [answered_sms] => 172
    [14] => 139
    [busy_sms] => 139
    [15] => 0
    [congestion_sms] => 0
    [16] => 515
    [failed_sms] => 515
    [17] => 0
    [hangup_sms] => 0
    [18] => 163
    [no_answer_sms] => 163
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 877
    [cutting_sms] => 877
    [22] => 163
    [dnd_sms] => 163
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 172
    [user_answered_sms] => 172
    [27] => 139
    [user_busy_sms] => 139
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 515
    [user_failed_sms] => 515
    [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] => 163
    [user_dnd_sms] => 163
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u607
    [created_by] => u607
    [38] => 0
    [isScheduled] => 0
    [39] => 1765090615
    [create_date] => 1765090615
    [40] => 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":1765090622,"compaign_read_start_time":1765090625,"compaign_read_complete_time":1765090628,"compaign_send_start_time":1765090681,"compaign_send_complete_time":1765090689}
    [action_time] => {"api_allot_time":1765090622,"compaign_read_start_time":1765090625,"compaign_read_complete_time":1765090628,"compaign_send_start_time":1765090681,"compaign_send_complete_time":1765090689}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81856_07122025_122702PM_418
    [common_name] => u607_81856_07122025_122702PM_418
    [52] => 1765090615_u607_voice.wav
    [voice_file] => 1765090615_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_69026
    [temp_group_table] => contacts_temp_group_69026
    [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] => 1765090804
    [reschedule_last_check_time] => 1765090804
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765090922
    [last_credit_update_time] => 1765090922
    [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":1765094400,"2":1765098000}
    [rt_time] => {"1":1765094400,"2":1765098000}
    [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 : 81856
\compaign_type : Rans per 30.58387 
ans sms 2029
dnd sms 163

require answer perrequire answer per : 571

user answer per : 172
below is the redis data 399 /n/r
only no answer and busy will be convert, total number require 399 /n/r
UPDATE voice_compaign_detail_81856 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 280 UPDATE voice_compaign_detail_81856 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 280 Total Failed : 535 no_answer_count : 179 Busy count :138 congestion_count : 64 failed_count : 154UPDATE voice_compaign_detail_81856 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 179 UPDATE voice_compaign_detail_81856 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 138 UPDATE voice_compaign_detail_81856 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 64 UPDATE voice_compaign_detail_81856 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 154 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='474', `user_busy_sms`='418', `user_congestion_sms`='64', `user_failed_sms`='451', `user_hangup_sms`='0', `user_no_answer_sms`='459', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='163' WHERE `compaign_id`=81856 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>'1764831781'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764831841'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764831902'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764831961'  
Array
(
    [0] => 81819
    [compaign_id] => 81819
    [1] => u607
    [user_id] => u607
    [2] => 69000,
    [group_ids] => 69000,
    [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] => 1765090800
    [start_date] => 1765090800
    [9] => 0
    [end_date] => 0
    [10] => 1793
    [total_sms] => 1793
    [11] => 1793
    [sent_sms] => 1793
    [12] => 0
    [duplicate_sms] => 0
    [13] => 92
    [answered_sms] => 92
    [14] => 59
    [busy_sms] => 59
    [15] => 0
    [congestion_sms] => 0
    [16] => 472
    [failed_sms] => 472
    [17] => 0
    [hangup_sms] => 0
    [18] => 76
    [no_answer_sms] => 76
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 698
    [cutting_sms] => 698
    [22] => 396
    [dnd_sms] => 396
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 92
    [user_answered_sms] => 92
    [27] => 59
    [user_busy_sms] => 59
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 472
    [user_failed_sms] => 472
    [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] => 396
    [user_dnd_sms] => 396
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u607
    [created_by] => u607
    [38] => 1
    [isScheduled] => 1
    [39] => 1765087935
    [create_date] => 1765087935
    [40] => 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":1765090807,"compaign_read_start_time":1765090808,"compaign_read_complete_time":1765090812,"compaign_send_start_time":1765090862,"compaign_send_complete_time":1765090865}
    [action_time] => {"api_allot_time":1765090807,"compaign_read_start_time":1765090808,"compaign_read_complete_time":1765090812,"compaign_send_start_time":1765090862,"compaign_send_complete_time":1765090865}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81819_07122025_123006PM_861
    [common_name] => u607_81819_07122025_123006PM_861
    [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_69000
    [temp_group_table] => contacts_temp_group_69000
    [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] => 1765091102
    [last_credit_update_time] => 1765091102
    [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 : 81819
\compaign_type : Rans per 28.50508 
ans sms 1793
dnd sms 396

require answer perrequire answer per : 399

user answer per : 92
below is the redis data 307 /n/r
only no answer and busy will be convert, total number require 307 /n/r
UPDATE voice_compaign_detail_81819 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 225 UPDATE voice_compaign_detail_81819 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 225 Total Failed : 425 no_answer_count : 142 Busy count :110 congestion_count : 51 failed_count : 122UPDATE voice_compaign_detail_81819 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 142 UPDATE voice_compaign_detail_81819 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 110 UPDATE voice_compaign_detail_81819 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 51 UPDATE voice_compaign_detail_81819 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`='227', `user_busy_sms`='335', `user_congestion_sms`='51', `user_failed_sms`='417', `user_hangup_sms`='0', `user_no_answer_sms`='367', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='396' WHERE `compaign_id`=81819 LIMIT 1 


Time Diff : 0.151

Array
(
    [0] => 81845
    [compaign_id] => 81845
    [1] => u61
    [user_id] => u61
    [2] => 69019,
    [group_ids] => 69019,
    [3] => 
    [sender_id] => 
    [4] => Follow 10 Dec.mp3
    [filename] => Follow 10 Dec.mp3
    [5] => 27
    [duration] => 27
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765090800
    [start_date] => 1765090800
    [9] => 0
    [end_date] => 0
    [10] => 674
    [total_sms] => 674
    [11] => 674
    [sent_sms] => 674
    [12] => 0
    [duplicate_sms] => 0
    [13] => 71
    [answered_sms] => 71
    [14] => 52
    [busy_sms] => 52
    [15] => 0
    [congestion_sms] => 0
    [16] => 167
    [failed_sms] => 167
    [17] => 0
    [hangup_sms] => 0
    [18] => 95
    [no_answer_sms] => 95
    [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] => 71
    [user_answered_sms] => 71
    [27] => 52
    [user_busy_sms] => 52
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 167
    [user_failed_sms] => 167
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 95
    [user_no_answer_sms] => 95
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u61
    [created_by] => u61
    [38] => 1
    [isScheduled] => 1
    [39] => 1765089724
    [create_date] => 1765089724
    [40] => 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":1765090807,"compaign_read_start_time":1765090814,"compaign_read_complete_time":1765090815,"compaign_send_start_time":1765090862,"compaign_send_complete_time":1765090864}
    [action_time] => {"api_allot_time":1765090807,"compaign_read_start_time":1765090814,"compaign_read_complete_time":1765090815,"compaign_send_start_time":1765090862,"compaign_send_complete_time":1765090864}
    [50] => 0
    [compaign_file] => 0
    [51] => u61_81845_07122025_123006PM_570
    [common_name] => u61_81845_07122025_123006PM_570
    [52] => 1765087610_u61_voice.wav
    [voice_file] => 1765087610_u61_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_69019
    [temp_group_table] => contacts_temp_group_69019
    [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] => 1765091103
    [last_credit_update_time] => 1765091103
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 133
    [user_voice_plan_id] => 133
    [85] => 54
    [voice_plan_id] => 54
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.18
    [pulse_rate] => 0.18
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_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,u61
    [uphierarchy] => admin,u61
    [113] => 
    [extra_params_json] => 
)


Compaign : 81845
\compaign_type : Rans per 25.02559 
ans sms 674
dnd sms 0

require answer perrequire answer per : 169

user answer per : 71
below is the redis data 98 /n/r
only no answer and busy will be convert, total number require 98 /n/r
UPDATE voice_compaign_detail_81845 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 76 UPDATE voice_compaign_detail_81845 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 76 Total Failed : 197 no_answer_count : 66 Busy count :51 congestion_count : 24 failed_count : 56UPDATE voice_compaign_detail_81845 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 66 UPDATE voice_compaign_detail_81845 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 51 UPDATE voice_compaign_detail_81845 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 24 UPDATE voice_compaign_detail_81845 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`='169', `user_busy_sms`='140', `user_congestion_sms`='24', `user_failed_sms`='163', `user_hangup_sms`='0', `user_no_answer_sms`='178', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81845 LIMIT 1 


Time Diff : 0.369

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764832021'  
Array
(
    [0] => 81857
    [compaign_id] => 81857
    [1] => u86
    [user_id] => u86
    [2] => 69028,
    [group_ids] => 69028,
    [3] => 
    [sender_id] => 
    [4] => ADVOCATE.mp3
    [filename] => ADVOCATE.mp3
    [5] => 24
    [duration] => 24
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765090932
    [start_date] => 1765090932
    [9] => 0
    [end_date] => 0
    [10] => 570
    [total_sms] => 570
    [11] => 570
    [sent_sms] => 570
    [12] => 0
    [duplicate_sms] => 0
    [13] => 17
    [answered_sms] => 17
    [14] => 19
    [busy_sms] => 19
    [15] => 0
    [congestion_sms] => 0
    [16] => 93
    [failed_sms] => 93
    [17] => 0
    [hangup_sms] => 0
    [18] => 22
    [no_answer_sms] => 22
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 116
    [cutting_sms] => 116
    [22] => 303
    [dnd_sms] => 303
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 17
    [user_answered_sms] => 17
    [27] => 19
    [user_busy_sms] => 19
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 93
    [user_failed_sms] => 93
    [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] => 303
    [user_dnd_sms] => 303
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u86
    [created_by] => u86
    [38] => 0
    [isScheduled] => 0
    [39] => 1765090932
    [create_date] => 1765090932
    [40] => 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":1765090938,"compaign_read_start_time":1765090940,"compaign_read_complete_time":1765090941,"compaign_send_start_time":1765090981,"compaign_send_complete_time":1765090982}
    [action_time] => {"api_allot_time":1765090938,"compaign_read_start_time":1765090940,"compaign_read_complete_time":1765090941,"compaign_send_start_time":1765090981,"compaign_send_complete_time":1765090982}
    [50] => 0
    [compaign_file] => 0
    [51] => u86_81857_07122025_123218PM_989
    [common_name] => u86_81857_07122025_123218PM_989
    [52] => 1765088082_u86_voice.wav
    [voice_file] => 1765088082_u86_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_69028
    [temp_group_table] => contacts_temp_group_69028
    [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] => 1765091221
    [last_credit_update_time] => 1765091221
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 161
    [user_voice_plan_id] => 161
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.19
    [pulse_rate] => 0.19
    [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,u86
    [uphierarchy] => admin,sr3,u86
    [113] => 
    [extra_params_json] => 
)


Compaign : 81857
\compaign_type : Rans per 25.5469 
ans sms 570
dnd sms 303

require answer perrequire answer per : 69

user answer per : 17
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_81857 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 42 UPDATE voice_compaign_detail_81857 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 42 Total Failed : 73 no_answer_count : 25 Busy count :19 congestion_count : 9 failed_count : 20UPDATE voice_compaign_detail_81857 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 25 UPDATE voice_compaign_detail_81857 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 19 UPDATE voice_compaign_detail_81857 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 9 UPDATE voice_compaign_detail_81857 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`='58', `user_busy_sms`='61', `user_congestion_sms`='9', `user_failed_sms`='72', `user_hangup_sms`='0', `user_no_answer_sms`='67', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='303' WHERE `compaign_id`=81857 LIMIT 1 


Time Diff : 0.37

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


Compaign : 81650
\compaign_type : ATans per 28.56966 
ans sms 14690
dnd sms 0

require answer perrequire answer per : 4197

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='56', `user_busy_sms`='3944', `user_congestion_sms`='0', `user_failed_sms`='10244', `user_hangup_sms`='0', `user_no_answer_sms`='446', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81650 LIMIT 1 


Time Diff : 0.659

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764832441'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764832502'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764832561'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764832622'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764832681'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764832747'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764832802'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764832861'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764832921'  
Array
(
    [0] => 81862
    [compaign_id] => 81862
    [1] => u6257
    [user_id] => u6257
    [2] => 69030,
    [group_ids] => 69030,
    [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] => 1765091436
    [start_date] => 1765091436
    [9] => 0
    [end_date] => 0
    [10] => 30461
    [total_sms] => 30461
    [11] => 30461
    [sent_sms] => 30461
    [12] => 0
    [duplicate_sms] => 0
    [13] => 2166
    [answered_sms] => 2166
    [14] => 1890
    [busy_sms] => 1890
    [15] => 15
    [congestion_sms] => 15
    [16] => 926
    [failed_sms] => 926
    [17] => 0
    [hangup_sms] => 0
    [18] => 2275
    [no_answer_sms] => 2275
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 20453
    [cutting_sms] => 20453
    [22] => 2736
    [dnd_sms] => 2736
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 2166
    [user_answered_sms] => 2166
    [27] => 1890
    [user_busy_sms] => 1890
    [28] => 15
    [user_congestion_sms] => 15
    [29] => 926
    [user_failed_sms] => 926
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2275
    [user_no_answer_sms] => 2275
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 2736
    [user_dnd_sms] => 2736
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u6257
    [created_by] => u6257
    [38] => 0
    [isScheduled] => 0
    [39] => 1765091420
    [create_date] => 1765091420
    [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":1765091442,"compaign_read_start_time":1765091443,"compaign_read_complete_time":1765091523,"compaign_send_start_time":1765091582,"compaign_send_complete_time":1765091666}
    [action_time] => {"api_allot_time":1765091442,"compaign_read_start_time":1765091443,"compaign_read_complete_time":1765091523,"compaign_send_start_time":1765091582,"compaign_send_complete_time":1765091666}
    [50] => 0
    [compaign_file] => 0
    [51] => u6257_81862_07122025_124042PM_999
    [common_name] => u6257_81862_07122025_124042PM_999
    [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_69030
    [temp_group_table] => contacts_temp_group_69030
    [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] => 1765092061
    [last_credit_update_time] => 1765092061
    [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 : 81862
\compaign_type : Rans per 25.04686 
ans sms 30461
dnd sms 2736

require answer perrequire answer per : 6945

user answer per : 2166
below is the redis data 4779 UPDATE voice_compaign_detail_81862 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 4779 Total Failed : 15678 no_answer_count : 5228 Busy count :4023 congestion_count : 1861 failed_count : 4566UPDATE voice_compaign_detail_81862 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 5228 UPDATE voice_compaign_detail_81862 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 4023 UPDATE voice_compaign_detail_81862 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 1861 UPDATE voice_compaign_detail_81862 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 4566 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='6945', `user_busy_sms`='5913', `user_congestion_sms`='1872', `user_failed_sms`='5492', `user_hangup_sms`='0', `user_no_answer_sms`='7503', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='2736' WHERE `compaign_id`=81862 LIMIT 1 


Time Diff : 0.016

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764832982'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764833041'  
Array
(
    [0] => 81867
    [compaign_id] => 81867
    [1] => u6257
    [user_id] => u6257
    [2] => 69034,
    [group_ids] => 69034,
    [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] => 1765091592
    [start_date] => 1765091592
    [9] => 0
    [end_date] => 0
    [10] => 37377
    [total_sms] => 37377
    [11] => 37377
    [sent_sms] => 37377
    [12] => 0
    [duplicate_sms] => 0
    [13] => 2340
    [answered_sms] => 2340
    [14] => 2175
    [busy_sms] => 2175
    [15] => 11
    [congestion_sms] => 11
    [16] => 1165
    [failed_sms] => 1165
    [17] => 0
    [hangup_sms] => 0
    [18] => 2535
    [no_answer_sms] => 2535
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 25778
    [cutting_sms] => 25778
    [22] => 3373
    [dnd_sms] => 3373
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 2340
    [user_answered_sms] => 2340
    [27] => 2175
    [user_busy_sms] => 2175
    [28] => 11
    [user_congestion_sms] => 11
    [29] => 1165
    [user_failed_sms] => 1165
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2535
    [user_no_answer_sms] => 2535
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 3373
    [user_dnd_sms] => 3373
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u6257
    [created_by] => u6257
    [38] => 0
    [isScheduled] => 0
    [39] => 1765091573
    [create_date] => 1765091573
    [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":1765091598,"compaign_read_start_time":1765091599,"compaign_read_complete_time":1765091709,"compaign_send_start_time":1765091761,"compaign_send_complete_time":1765091852}
    [action_time] => {"api_allot_time":1765091598,"compaign_read_start_time":1765091599,"compaign_read_complete_time":1765091709,"compaign_send_start_time":1765091761,"compaign_send_complete_time":1765091852}
    [50] => 0
    [compaign_file] => 0
    [51] => u6257_81867_07122025_124318PM_684
    [common_name] => u6257_81867_07122025_124318PM_684
    [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_69034
    [temp_group_table] => contacts_temp_group_69034
    [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] => 1765092182
    [last_credit_update_time] => 1765092182
    [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 : 81867
\compaign_type : Rans per 30.7402 
ans sms 37377
dnd sms 3373

require answer perrequire answer per : 10453

user answer per : 2340
below is the redis data 8113 UPDATE voice_compaign_detail_81867 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 8113 Total Failed : 17669 no_answer_count : 5891 Busy count :4534 congestion_count : 2098 failed_count : 5146UPDATE voice_compaign_detail_81867 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 5891 UPDATE voice_compaign_detail_81867 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 4534 UPDATE voice_compaign_detail_81867 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 2098 UPDATE voice_compaign_detail_81867 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 5146 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='10453', `user_busy_sms`='6709', `user_congestion_sms`='2105', `user_failed_sms`='6311', `user_hangup_sms`='0', `user_no_answer_sms`='8426', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='3373' WHERE `compaign_id`=81867 LIMIT 1 


Time Diff : 0.01

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764833102'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764833161'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764833221'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764833282'  
Array
(
    [0] => 81865
    [compaign_id] => 81865
    [1] => u86
    [user_id] => u86
    [2] => 69031,
    [group_ids] => 69031,
    [3] => 
    [sender_id] => 
    [4] => ADVOCATE.mp3
    [filename] => ADVOCATE.mp3
    [5] => 24
    [duration] => 24
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765091533
    [start_date] => 1765091533
    [9] => 0
    [end_date] => 0
    [10] => 512
    [total_sms] => 512
    [11] => 512
    [sent_sms] => 512
    [12] => 0
    [duplicate_sms] => 0
    [13] => 13
    [answered_sms] => 13
    [14] => 9
    [busy_sms] => 9
    [15] => 0
    [congestion_sms] => 0
    [16] => 93
    [failed_sms] => 93
    [17] => 0
    [hangup_sms] => 0
    [18] => 7
    [no_answer_sms] => 7
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 87
    [cutting_sms] => 87
    [22] => 303
    [dnd_sms] => 303
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 13
    [user_answered_sms] => 13
    [27] => 9
    [user_busy_sms] => 9
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 93
    [user_failed_sms] => 93
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 7
    [user_no_answer_sms] => 7
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 303
    [user_dnd_sms] => 303
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u86
    [created_by] => u86
    [38] => 0
    [isScheduled] => 0
    [39] => 1765091533
    [create_date] => 1765091533
    [40] => 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":1765091671,"compaign_read_start_time":1765091671,"compaign_read_complete_time":1765091675,"compaign_send_start_time":1765091702,"compaign_send_complete_time":1765091710}
    [action_time] => {"api_allot_time":1765091671,"compaign_read_start_time":1765091671,"compaign_read_complete_time":1765091675,"compaign_send_start_time":1765091702,"compaign_send_complete_time":1765091710}
    [50] => 0
    [compaign_file] => 0
    [51] => u86_81865_07122025_124219PM_983
    [common_name] => u86_81865_07122025_124219PM_983
    [52] => 1765088082_u86_voice.wav
    [voice_file] => 1765088082_u86_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_69031
    [temp_group_table] => contacts_temp_group_69031
    [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] => 1765092421
    [last_credit_update_time] => 1765092421
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 161
    [user_voice_plan_id] => 161
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.19
    [pulse_rate] => 0.19
    [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,u86
    [uphierarchy] => admin,sr3,u86
    [113] => 
    [extra_params_json] => 
)


Compaign : 81865
\compaign_type : Rans per 27.83205 
ans sms 512
dnd sms 303

require answer perrequire answer per : 59

user answer per : 13
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_81865 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 35 UPDATE voice_compaign_detail_81865 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 35 Total Failed : 55 no_answer_count : 19 Busy count :15 congestion_count : 7 failed_count : 14UPDATE voice_compaign_detail_81865 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 19 UPDATE voice_compaign_detail_81865 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 15 UPDATE voice_compaign_detail_81865 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 7 UPDATE voice_compaign_detail_81865 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`='29', `user_busy_sms`='50', `user_congestion_sms`='7', `user_failed_sms`='69', `user_hangup_sms`='0', `user_no_answer_sms`='54', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='303' WHERE `compaign_id`=81865 LIMIT 1 


Time Diff : 1.191

Array
(
    [0] => 81869
    [compaign_id] => 81869
    [1] => u83
    [user_id] => u83
    [2] => 69036,
    [group_ids] => 69036,
    [3] => 
    [sender_id] => 
    [4] => eddumail.mp3
    [filename] => eddumail.mp3
    [5] => 16
    [duration] => 16
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765092124
    [start_date] => 1765092124
    [9] => 0
    [end_date] => 0
    [10] => 331
    [total_sms] => 331
    [11] => 331
    [sent_sms] => 331
    [12] => 0
    [duplicate_sms] => 0
    [13] => 27
    [answered_sms] => 27
    [14] => 23
    [busy_sms] => 23
    [15] => 0
    [congestion_sms] => 0
    [16] => 78
    [failed_sms] => 78
    [17] => 0
    [hangup_sms] => 0
    [18] => 14
    [no_answer_sms] => 14
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 73
    [cutting_sms] => 73
    [22] => 116
    [dnd_sms] => 116
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 27
    [user_answered_sms] => 27
    [27] => 23
    [user_busy_sms] => 23
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 78
    [user_failed_sms] => 78
    [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] => 116
    [user_dnd_sms] => 116
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u83
    [created_by] => u83
    [38] => 0
    [isScheduled] => 0
    [39] => 1765092124
    [create_date] => 1765092124
    [40] => 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":1765092130,"compaign_read_start_time":1765092133,"compaign_read_complete_time":1765092135,"compaign_send_start_time":1765092182,"compaign_send_complete_time":1765092183}
    [action_time] => {"api_allot_time":1765092130,"compaign_read_start_time":1765092133,"compaign_read_complete_time":1765092135,"compaign_send_start_time":1765092182,"compaign_send_complete_time":1765092183}
    [50] => 0
    [compaign_file] => 0
    [51] => u83_81869_07122025_125210PM_486
    [common_name] => u83_81869_07122025_125210PM_486
    [52] => 1765002193_u83_voice.wav
    [voice_file] => 1765002193_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_69036
    [temp_group_table] => contacts_temp_group_69036
    [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] => 1765092421
    [last_credit_update_time] => 1765092421
    [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 : 81869
\compaign_type : Rans per 25.51724 
ans sms 331
dnd sms 116

require answer perrequire answer per : 55

user answer per : 27
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_81869 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_81869 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 : 53 no_answer_count : 18 Busy count :14 congestion_count : 7 failed_count : 14UPDATE voice_compaign_detail_81869 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 18 UPDATE voice_compaign_detail_81869 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 14 UPDATE voice_compaign_detail_81869 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 7 UPDATE voice_compaign_detail_81869 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`='55', `user_busy_sms`='42', `user_congestion_sms`='7', `user_failed_sms`='68', `user_hangup_sms`='0', `user_no_answer_sms`='43', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='116' WHERE `compaign_id`=81869 LIMIT 1 


Time Diff : 0.819

Array
(
    [0] => 81870
    [compaign_id] => 81870
    [1] => u83
    [user_id] => u83
    [2] => 69037,
    [group_ids] => 69037,
    [3] => 
    [sender_id] => 
    [4] => eddumail.mp3
    [filename] => eddumail.mp3
    [5] => 16
    [duration] => 16
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765092124
    [start_date] => 1765092124
    [9] => 0
    [end_date] => 0
    [10] => 382
    [total_sms] => 382
    [11] => 382
    [sent_sms] => 382
    [12] => 0
    [duplicate_sms] => 0
    [13] => 21
    [answered_sms] => 21
    [14] => 29
    [busy_sms] => 29
    [15] => 0
    [congestion_sms] => 0
    [16] => 64
    [failed_sms] => 64
    [17] => 0
    [hangup_sms] => 0
    [18] => 38
    [no_answer_sms] => 38
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 77
    [cutting_sms] => 77
    [22] => 153
    [dnd_sms] => 153
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 21
    [user_answered_sms] => 21
    [27] => 29
    [user_busy_sms] => 29
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 64
    [user_failed_sms] => 64
    [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] => 153
    [user_dnd_sms] => 153
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u83
    [created_by] => u83
    [38] => 0
    [isScheduled] => 0
    [39] => 1765092124
    [create_date] => 1765092124
    [40] => 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":1765092130,"compaign_read_start_time":1765092136,"compaign_read_complete_time":1765092138,"compaign_send_start_time":1765092182,"compaign_send_complete_time":1765092183}
    [action_time] => {"api_allot_time":1765092130,"compaign_read_start_time":1765092136,"compaign_read_complete_time":1765092138,"compaign_send_start_time":1765092182,"compaign_send_complete_time":1765092183}
    [50] => 0
    [compaign_file] => 0
    [51] => u83_81870_07122025_125210PM_963
    [common_name] => u83_81870_07122025_125210PM_963
    [52] => 1765002193_u83_voice.wav
    [voice_file] => 1765002193_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_69037
    [temp_group_table] => contacts_temp_group_69037
    [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] => 1765092421
    [last_credit_update_time] => 1765092421
    [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 : 81870
\compaign_type : Rans per 30.25271 
ans sms 382
dnd sms 153

require answer perrequire answer per : 70

user answer per : 21
below is the redis data 49 /n/r
only no answer and busy will be convert, total number require 49 /n/r
UPDATE voice_compaign_detail_81870 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_81870 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 : 40 no_answer_count : 14 Busy count :11 congestion_count : 5 failed_count : 10UPDATE voice_compaign_detail_81870 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 14 UPDATE voice_compaign_detail_81870 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 11 UPDATE voice_compaign_detail_81870 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 5 UPDATE voice_compaign_detail_81870 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`='70', `user_busy_sms`='58', `user_congestion_sms`='5', `user_failed_sms`='35', `user_hangup_sms`='0', `user_no_answer_sms`='61', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='153' WHERE `compaign_id`=81870 LIMIT 1 


Time Diff : 0.712

Array
(
    [0] => 81871
    [compaign_id] => 81871
    [1] => u83
    [user_id] => u83
    [2] => 69038,
    [group_ids] => 69038,
    [3] => 
    [sender_id] => 
    [4] => eddumail.mp3
    [filename] => eddumail.mp3
    [5] => 16
    [duration] => 16
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765092125
    [start_date] => 1765092125
    [9] => 0
    [end_date] => 0
    [10] => 460
    [total_sms] => 460
    [11] => 460
    [sent_sms] => 460
    [12] => 0
    [duplicate_sms] => 0
    [13] => 25
    [answered_sms] => 25
    [14] => 29
    [busy_sms] => 29
    [15] => 0
    [congestion_sms] => 0
    [16] => 64
    [failed_sms] => 64
    [17] => 0
    [hangup_sms] => 0
    [18] => 41
    [no_answer_sms] => 41
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 122
    [cutting_sms] => 122
    [22] => 179
    [dnd_sms] => 179
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 25
    [user_answered_sms] => 25
    [27] => 29
    [user_busy_sms] => 29
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 64
    [user_failed_sms] => 64
    [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] => 179
    [user_dnd_sms] => 179
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u83
    [created_by] => u83
    [38] => 0
    [isScheduled] => 0
    [39] => 1765092125
    [create_date] => 1765092125
    [40] => 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":1765092132,"compaign_read_start_time":1765092139,"compaign_read_complete_time":1765092140,"compaign_send_start_time":1765092182,"compaign_send_complete_time":1765092184}
    [action_time] => {"api_allot_time":1765092132,"compaign_read_start_time":1765092139,"compaign_read_complete_time":1765092140,"compaign_send_start_time":1765092182,"compaign_send_complete_time":1765092184}
    [50] => 0
    [compaign_file] => 0
    [51] => u83_81871_07122025_125212PM_541
    [common_name] => u83_81871_07122025_125212PM_541
    [52] => 1765002193_u83_voice.wav
    [voice_file] => 1765002193_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_69038
    [temp_group_table] => contacts_temp_group_69038
    [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] => 1765092421
    [last_credit_update_time] => 1765092421
    [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 : 81871
\compaign_type : Rans per 27.97919 
ans sms 460
dnd sms 179

require answer perrequire answer per : 79

user answer per : 25
below is the redis data 54 /n/r
only no answer and busy will be convert, total number require 54 /n/r
UPDATE voice_compaign_detail_81871 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 43 UPDATE voice_compaign_detail_81871 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 43 Total Failed : 65 no_answer_count : 22 Busy count :17 congestion_count : 8 failed_count : 18UPDATE voice_compaign_detail_81871 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 22 UPDATE voice_compaign_detail_81871 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 17 UPDATE voice_compaign_detail_81871 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 8 UPDATE voice_compaign_detail_81871 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`='79', `user_busy_sms`='64', `user_congestion_sms`='8', `user_failed_sms`='53', `user_hangup_sms`='0', `user_no_answer_sms`='77', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='179' WHERE `compaign_id`=81871 LIMIT 1 


Time Diff : 0.591

Array
(
    [0] => 81872
    [compaign_id] => 81872
    [1] => u83
    [user_id] => u83
    [2] => 69035,
    [group_ids] => 69035,
    [3] => 
    [sender_id] => 
    [4] => eddumail.mp3
    [filename] => eddumail.mp3
    [5] => 16
    [duration] => 16
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765092127
    [start_date] => 1765092127
    [9] => 0
    [end_date] => 0
    [10] => 715
    [total_sms] => 715
    [11] => 715
    [sent_sms] => 715
    [12] => 0
    [duplicate_sms] => 0
    [13] => 34
    [answered_sms] => 34
    [14] => 46
    [busy_sms] => 46
    [15] => 0
    [congestion_sms] => 0
    [16] => 83
    [failed_sms] => 83
    [17] => 0
    [hangup_sms] => 0
    [18] => 65
    [no_answer_sms] => 65
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 177
    [cutting_sms] => 177
    [22] => 310
    [dnd_sms] => 310
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 34
    [user_answered_sms] => 34
    [27] => 46
    [user_busy_sms] => 46
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 83
    [user_failed_sms] => 83
    [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] => 310
    [user_dnd_sms] => 310
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u83
    [created_by] => u83
    [38] => 0
    [isScheduled] => 0
    [39] => 1765092127
    [create_date] => 1765092127
    [40] => 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":1765092134,"compaign_read_start_time":1765092142,"compaign_read_complete_time":1765092144,"compaign_send_start_time":1765092182,"compaign_send_complete_time":1765092304}
    [action_time] => {"api_allot_time":1765092134,"compaign_read_start_time":1765092142,"compaign_read_complete_time":1765092144,"compaign_send_start_time":1765092182,"compaign_send_complete_time":1765092304}
    [50] => 0
    [compaign_file] => 0
    [51] => u83_81872_07122025_125214PM_453
    [common_name] => u83_81872_07122025_125214PM_453
    [52] => 1765002193_u83_voice.wav
    [voice_file] => 1765002193_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_69035
    [temp_group_table] => contacts_temp_group_69035
    [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] => 1765092421
    [last_credit_update_time] => 1765092421
    [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 : 81872
\compaign_type : Rans per 29.63075 
ans sms 715
dnd sms 310

require answer perrequire answer per : 121

user answer per : 34
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_81872 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_81872 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 : 82 no_answer_count : 28 Busy count :22 congestion_count : 10 failed_count : 22UPDATE voice_compaign_detail_81872 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 28 UPDATE voice_compaign_detail_81872 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 22 UPDATE voice_compaign_detail_81872 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 10 UPDATE voice_compaign_detail_81872 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`='121', `user_busy_sms`='99', `user_congestion_sms`='10', `user_failed_sms`='66', `user_hangup_sms`='0', `user_no_answer_sms`='109', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='310' WHERE `compaign_id`=81872 LIMIT 1 


Time Diff : 0.214

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764833342'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764833402'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764833461'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764833522'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764833582'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764833641'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764833702'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764833762'  
Array
(
    [0] => 81846
    [compaign_id] => 81846
    [1] => u607
    [user_id] => u607
    [2] => 69018,
    [group_ids] => 69018,
    [3] => 
    [sender_id] => 
    [4] => ravi_ramakkapet.mp3
    [filename] => ravi_ramakkapet.mp3
    [5] => 28
    [duration] => 28
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765092600
    [start_date] => 1765092600
    [9] => 0
    [end_date] => 0
    [10] => 697
    [total_sms] => 697
    [11] => 697
    [sent_sms] => 697
    [12] => 0
    [duplicate_sms] => 0
    [13] => 77
    [answered_sms] => 77
    [14] => 50
    [busy_sms] => 50
    [15] => 0
    [congestion_sms] => 0
    [16] => 85
    [failed_sms] => 85
    [17] => 0
    [hangup_sms] => 0
    [18] => 80
    [no_answer_sms] => 80
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 242
    [cutting_sms] => 242
    [22] => 163
    [dnd_sms] => 163
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 77
    [user_answered_sms] => 77
    [27] => 50
    [user_busy_sms] => 50
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 85
    [user_failed_sms] => 85
    [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] => 163
    [user_dnd_sms] => 163
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u607
    [created_by] => u607
    [38] => 1
    [isScheduled] => 1
    [39] => 1765089724
    [create_date] => 1765089724
    [40] => 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":1765092606,"compaign_read_start_time":1765092608,"compaign_read_complete_time":1765092611,"compaign_send_start_time":1765092661,"compaign_send_complete_time":1765092723}
    [action_time] => {"api_allot_time":1765092606,"compaign_read_start_time":1765092608,"compaign_read_complete_time":1765092611,"compaign_send_start_time":1765092661,"compaign_send_complete_time":1765092723}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81846_07122025_010006PM_108
    [common_name] => u607_81846_07122025_010006PM_108
    [52] => 1765089265_u607_voice.wav
    [voice_file] => 1765089265_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_69018
    [temp_group_table] => contacts_temp_group_69018
    [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] => 1765092902
    [last_credit_update_time] => 1765092902
    [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 : 81846
\compaign_type : Rans per 27.71762 
ans sms 697
dnd sms 163

require answer perrequire answer per : 149

user answer per : 77
below is the redis data 72 /n/r
only no answer and busy will be convert, total number require 72 /n/r
UPDATE voice_compaign_detail_81846 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 51 UPDATE voice_compaign_detail_81846 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 51 Total Failed : 162 no_answer_count : 55 Busy count :42 congestion_count : 20 failed_count : 45UPDATE voice_compaign_detail_81846 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 55 UPDATE voice_compaign_detail_81846 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 42 UPDATE voice_compaign_detail_81846 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 20 UPDATE voice_compaign_detail_81846 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`='149', `user_busy_sms`='120', `user_congestion_sms`='20', `user_failed_sms`='108', `user_hangup_sms`='0', `user_no_answer_sms`='137', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='163' WHERE `compaign_id`=81846 LIMIT 1 


Time Diff : 0.304

Array
(
    [0] => 81852
    [compaign_id] => 81852
    [1] => u607
    [user_id] => u607
    [2] => 69022,
    [group_ids] => 69022,
    [3] => 
    [sender_id] => 
    [4] => thirupathi_raorulk.mp3
    [filename] => thirupathi_raorulk.mp3
    [5] => 14
    [duration] => 14
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765092600
    [start_date] => 1765092600
    [9] => 0
    [end_date] => 0
    [10] => 1117
    [total_sms] => 1117
    [11] => 1117
    [sent_sms] => 1117
    [12] => 0
    [duplicate_sms] => 0
    [13] => 84
    [answered_sms] => 84
    [14] => 61
    [busy_sms] => 61
    [15] => 0
    [congestion_sms] => 0
    [16] => 241
    [failed_sms] => 241
    [17] => 0
    [hangup_sms] => 0
    [18] => 82
    [no_answer_sms] => 82
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 475
    [cutting_sms] => 475
    [22] => 174
    [dnd_sms] => 174
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 84
    [user_answered_sms] => 84
    [27] => 61
    [user_busy_sms] => 61
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 241
    [user_failed_sms] => 241
    [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] => 174
    [user_dnd_sms] => 174
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u607
    [created_by] => u607
    [38] => 1
    [isScheduled] => 1
    [39] => 1765090026
    [create_date] => 1765090026
    [40] => 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":1765092606,"compaign_read_start_time":1765092611,"compaign_read_complete_time":1765092613,"compaign_send_start_time":1765092661,"compaign_send_complete_time":1765092664}
    [action_time] => {"api_allot_time":1765092606,"compaign_read_start_time":1765092611,"compaign_read_complete_time":1765092613,"compaign_send_start_time":1765092661,"compaign_send_complete_time":1765092664}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81852_07122025_010006PM_363
    [common_name] => u607_81852_07122025_010006PM_363
    [52] => 1765089531_u607_voice.wav
    [voice_file] => 1765089531_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_69022
    [temp_group_table] => contacts_temp_group_69022
    [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] => 1765092902
    [last_credit_update_time] => 1765092902
    [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 : 81852
\compaign_type : Rans per 30.26815 
ans sms 1117
dnd sms 174

require answer perrequire answer per : 286

user answer per : 84
below is the redis data 202 /n/r
only no answer and busy will be convert, total number require 202 /n/r
UPDATE voice_compaign_detail_81852 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 142 UPDATE voice_compaign_detail_81852 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 142 Total Failed : 291 no_answer_count : 98 Busy count :75 congestion_count : 35 failed_count : 83UPDATE voice_compaign_detail_81852 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 98 UPDATE voice_compaign_detail_81852 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 75 UPDATE voice_compaign_detail_81852 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 35 UPDATE voice_compaign_detail_81852 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 83 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='227', `user_busy_sms`='217', `user_congestion_sms`='35', `user_failed_sms`='224', `user_hangup_sms`='0', `user_no_answer_sms`='240', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='174' WHERE `compaign_id`=81852 LIMIT 1 


Time Diff : 0.222

Array
(
    [0] => 81864
    [compaign_id] => 81864
    [1] => u61
    [user_id] => u61
    [2] => 69032,
    [group_ids] => 69032,
    [3] => 
    [sender_id] => 
    [4] => Follow 10 Dec.mp3
    [filename] => Follow 10 Dec.mp3
    [5] => 27
    [duration] => 27
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765092600
    [start_date] => 1765092600
    [9] => 0
    [end_date] => 0
    [10] => 505
    [total_sms] => 505
    [11] => 505
    [sent_sms] => 505
    [12] => 0
    [duplicate_sms] => 0
    [13] => 46
    [answered_sms] => 46
    [14] => 35
    [busy_sms] => 35
    [15] => 0
    [congestion_sms] => 0
    [16] => 153
    [failed_sms] => 153
    [17] => 0
    [hangup_sms] => 0
    [18] => 69
    [no_answer_sms] => 69
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 202
    [cutting_sms] => 202
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 46
    [user_answered_sms] => 46
    [27] => 35
    [user_busy_sms] => 35
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 153
    [user_failed_sms] => 153
    [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] => u61
    [created_by] => u61
    [38] => 1
    [isScheduled] => 1
    [39] => 1765091533
    [create_date] => 1765091533
    [40] => 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":1765092607,"compaign_read_start_time":1765092614,"compaign_read_complete_time":1765092615,"compaign_send_start_time":1765092662,"compaign_send_complete_time":1765092724}
    [action_time] => {"api_allot_time":1765092607,"compaign_read_start_time":1765092614,"compaign_read_complete_time":1765092615,"compaign_send_start_time":1765092662,"compaign_send_complete_time":1765092724}
    [50] => 0
    [compaign_file] => 0
    [51] => u61_81864_07122025_010006PM_618
    [common_name] => u61_81864_07122025_010006PM_618
    [52] => 1765087610_u61_voice.wav
    [voice_file] => 1765087610_u61_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_69032
    [temp_group_table] => contacts_temp_group_69032
    [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] => 1765092902
    [last_credit_update_time] => 1765092902
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 133
    [user_voice_plan_id] => 133
    [85] => 54
    [voice_plan_id] => 54
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.18
    [pulse_rate] => 0.18
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_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,u61
    [uphierarchy] => admin,u61
    [113] => 
    [extra_params_json] => 
)


Compaign : 81864
\compaign_type : Rans per 26.46749 
ans sms 505
dnd sms 0

require answer perrequire answer per : 134

user answer per : 46
below is the redis data 88 /n/r
only no answer and busy will be convert, total number require 88 /n/r
UPDATE voice_compaign_detail_81864 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_81864 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 : 124 no_answer_count : 42 Busy count :32 congestion_count : 15 failed_count : 35UPDATE voice_compaign_detail_81864 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 42 UPDATE voice_compaign_detail_81864 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 32 UPDATE voice_compaign_detail_81864 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 15 UPDATE voice_compaign_detail_81864 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`='134', `user_busy_sms`='104', `user_congestion_sms`='15', `user_failed_sms`='132', `user_hangup_sms`='0', `user_no_answer_sms`='120', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81864 LIMIT 1 


Time Diff : 0.374

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764833823'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764833881'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764833941'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764834001'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764834062'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764834121'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764834181'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764834241'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764834301'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764834362'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764834421'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764834482'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764834541'  
Array
(
    [0] => 81877
    [compaign_id] => 81877
    [1] => u607
    [user_id] => u607
    [2] => 69044,
    [group_ids] => 69044,
    [3] => 
    [sender_id] => 
    [4] => babureddy_somaram.mp3
    [filename] => babureddy_somaram.mp3
    [5] => 19
    [duration] => 19
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765093396
    [start_date] => 1765093396
    [9] => 0
    [end_date] => 0
    [10] => 2027
    [total_sms] => 2027
    [11] => 2027
    [sent_sms] => 2027
    [12] => 0
    [duplicate_sms] => 0
    [13] => 176
    [answered_sms] => 176
    [14] => 78
    [busy_sms] => 78
    [15] => 0
    [congestion_sms] => 0
    [16] => 430
    [failed_sms] => 430
    [17] => 0
    [hangup_sms] => 0
    [18] => 158
    [no_answer_sms] => 158
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 767
    [cutting_sms] => 767
    [22] => 418
    [dnd_sms] => 418
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 176
    [user_answered_sms] => 176
    [27] => 78
    [user_busy_sms] => 78
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 430
    [user_failed_sms] => 430
    [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] => 418
    [user_dnd_sms] => 418
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u607
    [created_by] => u607
    [38] => 0
    [isScheduled] => 0
    [39] => 1765093395
    [create_date] => 1765093395
    [40] => 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":1765093402,"compaign_read_start_time":1765093403,"compaign_read_complete_time":1765093408,"compaign_send_start_time":1765093442,"compaign_send_complete_time":1765093446}
    [action_time] => {"api_allot_time":1765093402,"compaign_read_start_time":1765093403,"compaign_read_complete_time":1765093408,"compaign_send_start_time":1765093442,"compaign_send_complete_time":1765093446}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81877_07122025_011322PM_985
    [common_name] => u607_81877_07122025_011322PM_985
    [52] => 1765093395_u607_voice.wav
    [voice_file] => 1765093395_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_69044
    [temp_group_table] => contacts_temp_group_69044
    [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] => 1765093503
    [reschedule_last_check_time] => 1765093503
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765093682
    [last_credit_update_time] => 1765093682
    [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":1765096200,"2":1765099800}
    [rt_time] => {"1":1765096200,"2":1765099800}
    [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 : 81877
\compaign_type : Rans per 25.90994 
ans sms 2027
dnd sms 418

require answer perrequire answer per : 417

user answer per : 176
below is the redis data 241 /n/r
only no answer and busy will be convert, total number require 241 /n/r
UPDATE voice_compaign_detail_81877 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 169 UPDATE voice_compaign_detail_81877 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 169 Total Failed : 536 no_answer_count : 179 Busy count :138 congestion_count : 64 failed_count : 155UPDATE voice_compaign_detail_81877 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 179 UPDATE voice_compaign_detail_81877 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 138 UPDATE voice_compaign_detail_81877 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 64 UPDATE voice_compaign_detail_81877 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`='412', `user_busy_sms`='307', `user_congestion_sms`='64', `user_failed_sms`='478', `user_hangup_sms`='0', `user_no_answer_sms`='348', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='418' WHERE `compaign_id`=81877 LIMIT 1 


Time Diff : 0.122

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764834601'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764834662'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764834721'  
Array
(
    [0] => 81858
    [compaign_id] => 81858
    [1] => u607
    [user_id] => u607
    [2] => 69027,
    [group_ids] => 69027,
    [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] => 1765093500
    [start_date] => 1765093500
    [9] => 0
    [end_date] => 0
    [10] => 1161
    [total_sms] => 1161
    [11] => 1161
    [sent_sms] => 1161
    [12] => 0
    [duplicate_sms] => 0
    [13] => 127
    [answered_sms] => 127
    [14] => 73
    [busy_sms] => 73
    [15] => 0
    [congestion_sms] => 0
    [16] => 144
    [failed_sms] => 144
    [17] => 0
    [hangup_sms] => 0
    [18] => 114
    [no_answer_sms] => 114
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 417
    [cutting_sms] => 417
    [22] => 286
    [dnd_sms] => 286
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 127
    [user_answered_sms] => 127
    [27] => 73
    [user_busy_sms] => 73
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 144
    [user_failed_sms] => 144
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 114
    [user_no_answer_sms] => 114
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 286
    [user_dnd_sms] => 286
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u607
    [created_by] => u607
    [38] => 1
    [isScheduled] => 1
    [39] => 1765090934
    [create_date] => 1765090934
    [40] => 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":1765093635,"compaign_read_start_time":1765093636,"compaign_read_complete_time":1765093638,"compaign_send_start_time":1765093682,"compaign_send_complete_time":1765093693}
    [action_time] => {"api_allot_time":1765093635,"compaign_read_start_time":1765093636,"compaign_read_complete_time":1765093638,"compaign_send_start_time":1765093682,"compaign_send_complete_time":1765093693}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81858_07122025_011505PM_802
    [common_name] => u607_81858_07122025_011505PM_802
    [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_69027
    [temp_group_table] => contacts_temp_group_69027
    [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] => 1765093921
    [last_credit_update_time] => 1765093921
    [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 : 81858
\compaign_type : Rans per 25.80135 
ans sms 1161
dnd sms 286

require answer perrequire answer per : 226

user answer per : 127
below is the redis data 99 /n/r
only no answer and busy will be convert, total number require 99 /n/r
UPDATE voice_compaign_detail_81858 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 78 UPDATE voice_compaign_detail_81858 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 78 Total Failed : 302 no_answer_count : 101 Busy count :78 congestion_count : 36 failed_count : 87UPDATE voice_compaign_detail_81858 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 101 UPDATE voice_compaign_detail_81858 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 78 UPDATE voice_compaign_detail_81858 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 36 UPDATE voice_compaign_detail_81858 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`='226', `user_busy_sms`='189', `user_congestion_sms`='36', `user_failed_sms`='190', `user_hangup_sms`='0', `user_no_answer_sms`='234', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='286' WHERE `compaign_id`=81858 LIMIT 1 


Time Diff : 0.182

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


Compaign : 81650
\compaign_type : ATans per 29.11387 
ans sms 17847
dnd sms 0

require answer perrequire answer per : 5196

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='76', `user_busy_sms`='5113', `user_congestion_sms`='0', `user_failed_sms`='12084', `user_hangup_sms`='0', `user_no_answer_sms`='574', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81650 LIMIT 1 


Time Diff : 0.714

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764835503'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764835565'  
Array
(
    [0] => 81313
    [compaign_id] => 81313
    [1] => sr31
    [user_id] => sr31
    [2] => 68585,
    [group_ids] => 68585,
    [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] => 1765094400
    [start_date] => 1765094400
    [9] => 0
    [end_date] => 0
    [10] => 169
    [total_sms] => 169
    [11] => 169
    [sent_sms] => 169
    [12] => 0
    [duplicate_sms] => 0
    [13] => 20
    [answered_sms] => 20
    [14] => 22
    [busy_sms] => 22
    [15] => 0
    [congestion_sms] => 0
    [16] => 12
    [failed_sms] => 12
    [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] => 69
    [dnd_sms] => 69
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 20
    [user_answered_sms] => 20
    [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] => 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] => 1765001602
    [create_date] => 1765001602
    [40] => 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":1765094406,"compaign_read_start_time":1765094408,"compaign_read_complete_time":1765094408,"compaign_send_start_time":1765094462,"compaign_send_complete_time":1765094466}
    [action_time] => {"api_allot_time":1765094406,"compaign_read_start_time":1765094408,"compaign_read_complete_time":1765094408,"compaign_send_start_time":1765094462,"compaign_send_complete_time":1765094466}
    [50] => 0
    [compaign_file] => 0
    [51] => sr31_81313_07122025_013005PM_132
    [common_name] => sr31_81313_07122025_013005PM_132
    [52] => 1765001602_sr31_voice.wav
    [voice_file] => 1765001602_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_68585
    [temp_group_table] => contacts_temp_group_68585
    [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] => 1765094705
    [reschedule_last_check_time] => 1765094705
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765094704
    [last_credit_update_time] => 1765094704
    [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":1765095300,"2":1765096200}
    [rt_time] => {"1":1765095300,"2":1765096200}
    [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 : 81313
\compaign_type : Rans per 30.14174 
ans sms 169
dnd sms 69

require answer perrequire answer per : 31

user answer per : 20
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_81313 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_81313 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 : 7 no_answer_count : 3 Busy count :2 congestion_count : 1 failed_count : 1UPDATE voice_compaign_detail_81313 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 3 UPDATE voice_compaign_detail_81313 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 2 UPDATE voice_compaign_detail_81313 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 1 UPDATE voice_compaign_detail_81313 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`='31', `user_busy_sms`='30', `user_congestion_sms`='1', `user_failed_sms`='5', `user_hangup_sms`='0', `user_no_answer_sms`='33', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='69' WHERE `compaign_id`=81313 LIMIT 1 


Time Diff : 1.479

Array
(
    [0] => 81861
    [compaign_id] => 81861
    [1] => u607
    [user_id] => u607
    [2] => 69029,
    [group_ids] => 69029,
    [3] => 
    [sender_id] => 
    [4] => k.srinivas_mirdoddi.mp3
    [filename] => k.srinivas_mirdoddi.mp3
    [5] => 31
    [duration] => 31
    [6] => 2
    [credits_per_sms] => 2
    [7] => 30
    [user_pulse] => 30
    [8] => 1765094400
    [start_date] => 1765094400
    [9] => 0
    [end_date] => 0
    [10] => 1555
    [total_sms] => 1555
    [11] => 1555
    [sent_sms] => 1555
    [12] => 0
    [duplicate_sms] => 0
    [13] => 114
    [answered_sms] => 114
    [14] => 75
    [busy_sms] => 75
    [15] => 0
    [congestion_sms] => 0
    [16] => 466
    [failed_sms] => 466
    [17] => 0
    [hangup_sms] => 0
    [18] => 77
    [no_answer_sms] => 77
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 660
    [cutting_sms] => 660
    [22] => 163
    [dnd_sms] => 163
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 114
    [user_answered_sms] => 114
    [27] => 75
    [user_busy_sms] => 75
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 466
    [user_failed_sms] => 466
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 77
    [user_no_answer_sms] => 77
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 163
    [user_dnd_sms] => 163
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u607
    [created_by] => u607
    [38] => 1
    [isScheduled] => 1
    [39] => 1765091227
    [create_date] => 1765091227
    [40] => 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":1765094406,"compaign_read_start_time":1765094411,"compaign_read_complete_time":1765094413,"compaign_send_start_time":1765094462,"compaign_send_complete_time":1765094468}
    [action_time] => {"api_allot_time":1765094406,"compaign_read_start_time":1765094411,"compaign_read_complete_time":1765094413,"compaign_send_start_time":1765094462,"compaign_send_complete_time":1765094468}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81861_07122025_013005PM_278
    [common_name] => u607_81861_07122025_013005PM_278
    [52] => 1765090615_u607_voice.wav
    [voice_file] => 1765090615_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_69029
    [temp_group_table] => contacts_temp_group_69029
    [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] => 1765094704
    [last_credit_update_time] => 1765094704
    [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 : 81861
\compaign_type : Rans per 27.38807 
ans sms 1555
dnd sms 163

require answer perrequire answer per : 382

user answer per : 114
below is the redis data 268 /n/r
only no answer and busy will be convert, total number require 268 /n/r
UPDATE voice_compaign_detail_81861 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 196 UPDATE voice_compaign_detail_81861 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 196 Total Failed : 428 no_answer_count : 143 Busy count :110 congestion_count : 51 failed_count : 124UPDATE voice_compaign_detail_81861 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 143 UPDATE voice_compaign_detail_81861 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 110 UPDATE voice_compaign_detail_81861 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 51 UPDATE voice_compaign_detail_81861 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`='266', `user_busy_sms`='306', `user_congestion_sms`='51', `user_failed_sms`='430', `user_hangup_sms`='0', `user_no_answer_sms`='339', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='163' WHERE `compaign_id`=81861 LIMIT 1 


Time Diff : 0.161

Array
(
    [0] => 81874
    [compaign_id] => 81874
    [1] => u61
    [user_id] => u61
    [2] => 69043,
    [group_ids] => 69043,
    [3] => 
    [sender_id] => 
    [4] => Follow 10 Dec.mp3
    [filename] => Follow 10 Dec.mp3
    [5] => 27
    [duration] => 27
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765094400
    [start_date] => 1765094400
    [9] => 0
    [end_date] => 0
    [10] => 371
    [total_sms] => 371
    [11] => 371
    [sent_sms] => 371
    [12] => 0
    [duplicate_sms] => 0
    [13] => 29
    [answered_sms] => 29
    [14] => 16
    [busy_sms] => 16
    [15] => 0
    [congestion_sms] => 0
    [16] => 152
    [failed_sms] => 152
    [17] => 0
    [hangup_sms] => 0
    [18] => 30
    [no_answer_sms] => 30
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 144
    [cutting_sms] => 144
    [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] => 16
    [user_busy_sms] => 16
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 152
    [user_failed_sms] => 152
    [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] => u61
    [created_by] => u61
    [38] => 1
    [isScheduled] => 1
    [39] => 1765093323
    [create_date] => 1765093323
    [40] => 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":1765094406,"compaign_read_start_time":1765094414,"compaign_read_complete_time":1765094414,"compaign_send_start_time":1765094462,"compaign_send_complete_time":1765094524}
    [action_time] => {"api_allot_time":1765094406,"compaign_read_start_time":1765094414,"compaign_read_complete_time":1765094414,"compaign_send_start_time":1765094462,"compaign_send_complete_time":1765094524}
    [50] => 0
    [compaign_file] => 0
    [51] => u61_81874_07122025_013005PM_682
    [common_name] => u61_81874_07122025_013005PM_682
    [52] => 1765087610_u61_voice.wav
    [voice_file] => 1765087610_u61_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_69043
    [temp_group_table] => contacts_temp_group_69043
    [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] => 1765094704
    [last_credit_update_time] => 1765094704
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 133
    [user_voice_plan_id] => 133
    [85] => 54
    [voice_plan_id] => 54
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.18
    [pulse_rate] => 0.18
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_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,u61
    [uphierarchy] => admin,u61
    [113] => 
    [extra_params_json] => 
)


Compaign : 81874
\compaign_type : Rans per 26.13494 
ans sms 371
dnd sms 0

require answer perrequire answer per : 97

user answer per : 29
below is the redis data 68 /n/r
only no answer and busy will be convert, total number require 68 /n/r
UPDATE voice_compaign_detail_81874 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 48 UPDATE voice_compaign_detail_81874 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 48 Total Failed : 92 no_answer_count : 31 Busy count :24 congestion_count : 11 failed_count : 26UPDATE voice_compaign_detail_81874 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 31 UPDATE voice_compaign_detail_81874 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 24 UPDATE voice_compaign_detail_81874 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 11 UPDATE voice_compaign_detail_81874 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`='75', `user_busy_sms`='72', `user_congestion_sms`='11', `user_failed_sms`='134', `user_hangup_sms`='0', `user_no_answer_sms`='79', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81874 LIMIT 1 


Time Diff : 0.512

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


Compaign : 81650
\compaign_type : ATans per 25.65366 
ans sms 17999
dnd sms 0

require answer perrequire answer per : 4618

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='76', `user_busy_sms`='5178', `user_congestion_sms`='0', `user_failed_sms`='12165', `user_hangup_sms`='0', `user_no_answer_sms`='580', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81650 LIMIT 1 


Time Diff : 0.718

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764835681'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764835742'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764835801'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764835861'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764835923'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764835981'  
Array
(
    [0] => 81885
    [compaign_id] => 81885
    [1] => u29695
    [user_id] => u29695
    [2] => 69046,
    [group_ids] => 69046,
    [3] => 
    [sender_id] => 
    [4] => NDP Mahipal CV.mp3(2)
    [filename] => NDP Mahipal CV.mp3(2)
    [5] => 23
    [duration] => 23
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765094841
    [start_date] => 1765094841
    [9] => 0
    [end_date] => 0
    [10] => 6068
    [total_sms] => 6068
    [11] => 6068
    [sent_sms] => 6068
    [12] => 0
    [duplicate_sms] => 0
    [13] => 739
    [answered_sms] => 739
    [14] => 385
    [busy_sms] => 385
    [15] => 0
    [congestion_sms] => 0
    [16] => 1375
    [failed_sms] => 1375
    [17] => 0
    [hangup_sms] => 0
    [18] => 646
    [no_answer_sms] => 646
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2923
    [cutting_sms] => 2923
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 739
    [user_answered_sms] => 739
    [27] => 385
    [user_busy_sms] => 385
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1375
    [user_failed_sms] => 1375
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 646
    [user_no_answer_sms] => 646
    [32] => 0
    [user_timeout_duration_sms] => 0
    [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] => 1765094841
    [create_date] => 1765094841
    [40] => 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":1765094847,"compaign_read_start_time":1765094848,"compaign_read_complete_time":1765094858,"compaign_send_start_time":1765094881,"compaign_send_complete_time":1765094896}
    [action_time] => {"api_allot_time":1765094847,"compaign_read_start_time":1765094848,"compaign_read_complete_time":1765094858,"compaign_send_start_time":1765094881,"compaign_send_complete_time":1765094896}
    [50] => 0
    [compaign_file] => 0
    [51] => u29695_81885_07122025_013726PM_685
    [common_name] => u29695_81885_07122025_013726PM_685
    [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_69046
    [temp_group_table] => contacts_temp_group_69046
    [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] => 1765095123
    [last_credit_update_time] => 1765095123
    [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 : 81885
\compaign_type : Rans per 25.67873 
ans sms 6068
dnd sms 0

require answer perrequire answer per : 1559

user answer per : 739
below is the redis data 820 UPDATE voice_compaign_detail_81885 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 820 Total Failed : 2103 no_answer_count : 702 Busy count :540 congestion_count : 250 failed_count : 611UPDATE voice_compaign_detail_81885 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 702 UPDATE voice_compaign_detail_81885 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 540 UPDATE voice_compaign_detail_81885 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 250 UPDATE voice_compaign_detail_81885 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 611 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='1559', `user_busy_sms`='925', `user_congestion_sms`='250', `user_failed_sms`='1986', `user_hangup_sms`='0', `user_no_answer_sms`='1348', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81885 LIMIT 1 


Time Diff : 0.041

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764836044'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764836102'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764836162'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764836222'  
Array
(
    [0] => 81890
    [compaign_id] => 81890
    [1] => u83
    [user_id] => u83
    [2] => 69054,
    [group_ids] => 69054,
    [3] => 
    [sender_id] => 
    [4] => eddumail.mp3
    [filename] => eddumail.mp3
    [5] => 16
    [duration] => 16
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765095126
    [start_date] => 1765095126
    [9] => 0
    [end_date] => 0
    [10] => 276
    [total_sms] => 276
    [11] => 276
    [sent_sms] => 276
    [12] => 0
    [duplicate_sms] => 0
    [13] => 8
    [answered_sms] => 8
    [14] => 17
    [busy_sms] => 17
    [15] => 0
    [congestion_sms] => 0
    [16] => 68
    [failed_sms] => 68
    [17] => 0
    [hangup_sms] => 0
    [18] => 10
    [no_answer_sms] => 10
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 57
    [cutting_sms] => 57
    [22] => 116
    [dnd_sms] => 116
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 8
    [user_answered_sms] => 8
    [27] => 17
    [user_busy_sms] => 17
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 68
    [user_failed_sms] => 68
    [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] => 116
    [user_dnd_sms] => 116
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u83
    [created_by] => u83
    [38] => 0
    [isScheduled] => 0
    [39] => 1765095126
    [create_date] => 1765095126
    [40] => 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":1765095133,"compaign_read_start_time":1765095136,"compaign_read_complete_time":1765095136,"compaign_send_start_time":1765095181,"compaign_send_complete_time":1765095182}
    [action_time] => {"api_allot_time":1765095133,"compaign_read_start_time":1765095136,"compaign_read_complete_time":1765095136,"compaign_send_start_time":1765095181,"compaign_send_complete_time":1765095182}
    [50] => 0
    [compaign_file] => 0
    [51] => u83_81890_07122025_014212PM_782
    [common_name] => u83_81890_07122025_014212PM_782
    [52] => 1765002193_u83_voice.wav
    [voice_file] => 1765002193_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_69054
    [temp_group_table] => contacts_temp_group_69054
    [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] => 1765095362
    [last_credit_update_time] => 1765095362
    [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 : 81890
\compaign_type : Rans per 29.13792 
ans sms 276
dnd sms 116

require answer perrequire answer per : 47

user answer per : 8
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_81890 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_81890 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 : 32 no_answer_count : 11 Busy count :9 congestion_count : 4 failed_count : 8UPDATE voice_compaign_detail_81890 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 11 UPDATE voice_compaign_detail_81890 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 9 UPDATE voice_compaign_detail_81890 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 4 UPDATE voice_compaign_detail_81890 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`='35', `user_busy_sms`='37', `user_congestion_sms`='4', `user_failed_sms`='45', `user_hangup_sms`='0', `user_no_answer_sms`='39', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='116' WHERE `compaign_id`=81890 LIMIT 1 


Time Diff : 0.674

Array
(
    [0] => 81891
    [compaign_id] => 81891
    [1] => u83
    [user_id] => u83
    [2] => 69050,
    [group_ids] => 69050,
    [3] => 
    [sender_id] => 
    [4] => eddumail.mp3
    [filename] => eddumail.mp3
    [5] => 16
    [duration] => 16
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765095126
    [start_date] => 1765095126
    [9] => 0
    [end_date] => 0
    [10] => 312
    [total_sms] => 312
    [11] => 312
    [sent_sms] => 312
    [12] => 0
    [duplicate_sms] => 0
    [13] => 6
    [answered_sms] => 6
    [14] => 11
    [busy_sms] => 11
    [15] => 0
    [congestion_sms] => 0
    [16] => 67
    [failed_sms] => 67
    [17] => 0
    [hangup_sms] => 0
    [18] => 23
    [no_answer_sms] => 23
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 52
    [cutting_sms] => 52
    [22] => 153
    [dnd_sms] => 153
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 6
    [user_answered_sms] => 6
    [27] => 11
    [user_busy_sms] => 11
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 67
    [user_failed_sms] => 67
    [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] => 153
    [user_dnd_sms] => 153
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u83
    [created_by] => u83
    [38] => 0
    [isScheduled] => 0
    [39] => 1765095126
    [create_date] => 1765095126
    [40] => 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":1765095133,"compaign_read_start_time":1765095139,"compaign_read_complete_time":1765095140,"compaign_send_start_time":1765095181,"compaign_send_complete_time":1765095182}
    [action_time] => {"api_allot_time":1765095133,"compaign_read_start_time":1765095139,"compaign_read_complete_time":1765095140,"compaign_send_start_time":1765095181,"compaign_send_complete_time":1765095182}
    [50] => 0
    [compaign_file] => 0
    [51] => u83_81891_07122025_014212PM_513
    [common_name] => u83_81891_07122025_014212PM_513
    [52] => 1765002193_u83_voice.wav
    [voice_file] => 1765002193_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_69050
    [temp_group_table] => contacts_temp_group_69050
    [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] => 1765095363
    [last_credit_update_time] => 1765095363
    [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 : 81891
\compaign_type : Rans per 29.5949 
ans sms 312
dnd sms 153

require answer perrequire answer per : 48

user answer per : 6
below is the redis data 42 /n/r
only no answer and busy will be convert, total number require 42 /n/r
UPDATE voice_compaign_detail_81891 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_81891 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 : 25 no_answer_count : 9 Busy count :7 congestion_count : 3 failed_count : 6UPDATE voice_compaign_detail_81891 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 9 UPDATE voice_compaign_detail_81891 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 7 UPDATE voice_compaign_detail_81891 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 3 UPDATE voice_compaign_detail_81891 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`='38', `user_congestion_sms`='3', `user_failed_sms`='38', `user_hangup_sms`='0', `user_no_answer_sms`='40', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='153' WHERE `compaign_id`=81891 LIMIT 1 


Time Diff : 0.596

Array
(
    [0] => 81892
    [compaign_id] => 81892
    [1] => u83
    [user_id] => u83
    [2] => 69056,
    [group_ids] => 69056,
    [3] => 
    [sender_id] => 
    [4] => eddumail.mp3
    [filename] => eddumail.mp3
    [5] => 16
    [duration] => 16
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765095127
    [start_date] => 1765095127
    [9] => 0
    [end_date] => 0
    [10] => 381
    [total_sms] => 381
    [11] => 381
    [sent_sms] => 381
    [12] => 0
    [duplicate_sms] => 0
    [13] => 10
    [answered_sms] => 10
    [14] => 21
    [busy_sms] => 21
    [15] => 0
    [congestion_sms] => 0
    [16] => 63
    [failed_sms] => 63
    [17] => 0
    [hangup_sms] => 0
    [18] => 30
    [no_answer_sms] => 30
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 78
    [cutting_sms] => 78
    [22] => 179
    [dnd_sms] => 179
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 10
    [user_answered_sms] => 10
    [27] => 21
    [user_busy_sms] => 21
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 63
    [user_failed_sms] => 63
    [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] => 179
    [user_dnd_sms] => 179
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u83
    [created_by] => u83
    [38] => 0
    [isScheduled] => 0
    [39] => 1765095127
    [create_date] => 1765095127
    [40] => 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":1765095133,"compaign_read_start_time":1765095142,"compaign_read_complete_time":1765095143,"compaign_send_start_time":1765095181,"compaign_send_complete_time":1765095182}
    [action_time] => {"api_allot_time":1765095133,"compaign_read_start_time":1765095142,"compaign_read_complete_time":1765095143,"compaign_send_start_time":1765095181,"compaign_send_complete_time":1765095182}
    [50] => 0
    [compaign_file] => 0
    [51] => u83_81892_07122025_014212PM_707
    [common_name] => u83_81892_07122025_014212PM_707
    [52] => 1765002193_u83_voice.wav
    [voice_file] => 1765002193_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_69056
    [temp_group_table] => contacts_temp_group_69056
    [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] => 1765095363
    [last_credit_update_time] => 1765095363
    [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 : 81892
\compaign_type : Rans per 27.138 
ans sms 381
dnd sms 179

require answer perrequire answer per : 55

user answer per : 10
below is the redis data 45 /n/r
only no answer and busy will be convert, total number require 45 /n/r
UPDATE voice_compaign_detail_81892 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 35 UPDATE voice_compaign_detail_81892 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 35 Total Failed : 42 no_answer_count : 15 Busy count :11 congestion_count : 5 failed_count : 11UPDATE voice_compaign_detail_81892 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 15 UPDATE voice_compaign_detail_81892 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 11 UPDATE voice_compaign_detail_81892 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 5 UPDATE voice_compaign_detail_81892 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`='55', `user_busy_sms`='47', `user_congestion_sms`='5', `user_failed_sms`='40', `user_hangup_sms`='0', `user_no_answer_sms`='55', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='179' WHERE `compaign_id`=81892 LIMIT 1 


Time Diff : 0.488

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764836281'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764836342'  
Array
(
    [0] => 81896
    [compaign_id] => 81896
    [1] => u29717
    [user_id] => u29717
    [2] => 69059,
    [group_ids] => 69059,
    [3] => 
    [sender_id] => 
    [4] => kf.mp3
    [filename] => kf.mp3
    [5] => 40
    [duration] => 40
    [6] => 2
    [credits_per_sms] => 2
    [7] => 30
    [user_pulse] => 30
    [8] => 1765095212
    [start_date] => 1765095212
    [9] => 0
    [end_date] => 0
    [10] => 127
    [total_sms] => 127
    [11] => 127
    [sent_sms] => 127
    [12] => 0
    [duplicate_sms] => 0
    [13] => 38
    [answered_sms] => 38
    [14] => 12
    [busy_sms] => 12
    [15] => 0
    [congestion_sms] => 0
    [16] => 25
    [failed_sms] => 25
    [17] => 0
    [hangup_sms] => 0
    [18] => 36
    [no_answer_sms] => 36
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 16
    [cutting_sms] => 16
    [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] => 12
    [user_busy_sms] => 12
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 25
    [user_failed_sms] => 25
    [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] => u29717
    [created_by] => u29717
    [38] => 0
    [isScheduled] => 0
    [39] => 1765095212
    [create_date] => 1765095212
    [40] => 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":1765095218,"compaign_read_start_time":1765095220,"compaign_read_complete_time":1765095221,"compaign_send_start_time":1765095244,"compaign_send_complete_time":1765095245}
    [action_time] => {"api_allot_time":1765095218,"compaign_read_start_time":1765095220,"compaign_read_complete_time":1765095221,"compaign_send_start_time":1765095244,"compaign_send_complete_time":1765095245}
    [50] => 0
    [compaign_file] => 0
    [51] => u29717_81896_07122025_014337PM_664
    [common_name] => u29717_81896_07122025_014337PM_664
    [52] => 1765095212_u29717_voice.wav
    [voice_file] => 1765095212_u29717_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_69059
    [temp_group_table] => contacts_temp_group_69059
    [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] => 1765095481
    [last_credit_update_time] => 1765095481
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1927
    [user_voice_plan_id] => 1927
    [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] => 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,sr27,sr74,u29717
    [uphierarchy] => admin,sr27,sr74,u29717
    [113] => 
    [extra_params_json] => 
)


Compaign : 81896
\compaign_type : Rans per 26.02121 
ans sms 127
dnd sms 0

require answer perrequire answer per : 34

user answer per : 38
Total Failed : 16 no_answer_count : 6 Busy count :5 congestion_count : 2 failed_count : 3UPDATE voice_compaign_detail_81896 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 6 UPDATE voice_compaign_detail_81896 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 5 UPDATE voice_compaign_detail_81896 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 2 UPDATE voice_compaign_detail_81896 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`='38', `user_busy_sms`='17', `user_congestion_sms`='2', `user_failed_sms`='28', `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`=81896 LIMIT 1 


Time Diff : 2.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>'1764836401'  
Array
(
    [0] => 81893
    [compaign_id] => 81893
    [1] => u83
    [user_id] => u83
    [2] => 69055,
    [group_ids] => 69055,
    [3] => 
    [sender_id] => 
    [4] => eddumail.mp3
    [filename] => eddumail.mp3
    [5] => 16
    [duration] => 16
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765095127
    [start_date] => 1765095127
    [9] => 0
    [end_date] => 0
    [10] => 594
    [total_sms] => 594
    [11] => 594
    [sent_sms] => 594
    [12] => 0
    [duplicate_sms] => 0
    [13] => 17
    [answered_sms] => 17
    [14] => 29
    [busy_sms] => 29
    [15] => 0
    [congestion_sms] => 0
    [16] => 68
    [failed_sms] => 68
    [17] => 0
    [hangup_sms] => 0
    [18] => 41
    [no_answer_sms] => 41
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 129
    [cutting_sms] => 129
    [22] => 310
    [dnd_sms] => 310
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 17
    [user_answered_sms] => 17
    [27] => 29
    [user_busy_sms] => 29
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 68
    [user_failed_sms] => 68
    [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] => 310
    [user_dnd_sms] => 310
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u83
    [created_by] => u83
    [38] => 0
    [isScheduled] => 0
    [39] => 1765095127
    [create_date] => 1765095127
    [40] => 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":1765095261,"compaign_read_start_time":1765095264,"compaign_read_complete_time":1765095265,"compaign_send_start_time":1765095302,"compaign_send_complete_time":1765095303}
    [action_time] => {"api_allot_time":1765095261,"compaign_read_start_time":1765095264,"compaign_read_complete_time":1765095265,"compaign_send_start_time":1765095302,"compaign_send_complete_time":1765095303}
    [50] => 0
    [compaign_file] => 0
    [51] => u83_81893_07122025_014212PM_732
    [common_name] => u83_81893_07122025_014212PM_732
    [52] => 1765002193_u83_voice.wav
    [voice_file] => 1765002193_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_69055
    [temp_group_table] => contacts_temp_group_69055
    [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] => 1765095542
    [last_credit_update_time] => 1765095542
    [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 : 81893
\compaign_type : Rans per 27.20737 
ans sms 594
dnd sms 310

require answer perrequire answer per : 78

user answer per : 17
below is the redis data 61 /n/r
only no answer and busy will be convert, total number require 61 /n/r
UPDATE voice_compaign_detail_81893 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 46 UPDATE voice_compaign_detail_81893 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 46 Total Failed : 68 no_answer_count : 23 Busy count :18 congestion_count : 9 failed_count : 18UPDATE voice_compaign_detail_81893 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 23 UPDATE voice_compaign_detail_81893 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 18 UPDATE voice_compaign_detail_81893 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 9 UPDATE voice_compaign_detail_81893 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`='78', `user_busy_sms`='69', `user_congestion_sms`='9', `user_failed_sms`='55', `user_hangup_sms`='0', `user_no_answer_sms`='73', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='310' WHERE `compaign_id`=81893 LIMIT 1 


Time Diff : 0.458

Array
(
    [0] => 81888
    [compaign_id] => 81888
    [1] => sr31
    [user_id] => sr31
    [2] => 69052,
    [group_ids] => 69052,
    [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] => 1765095300
    [start_date] => 1765095300
    [9] => 0
    [end_date] => 0
    [10] => 138
    [total_sms] => 138
    [11] => 138
    [sent_sms] => 138
    [12] => 0
    [duplicate_sms] => 0
    [13] => 10
    [answered_sms] => 10
    [14] => 21
    [busy_sms] => 21
    [15] => 0
    [congestion_sms] => 0
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 18
    [no_answer_sms] => 18
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 8
    [cutting_sms] => 8
    [22] => 69
    [dnd_sms] => 69
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 10
    [user_answered_sms] => 10
    [27] => 21
    [user_busy_sms] => 21
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 12
    [user_failed_sms] => 12
    [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] => 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] => 1765095125
    [create_date] => 1765095125
    [40] => 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":1765095306,"compaign_read_start_time":1765095308,"compaign_read_complete_time":1765095308,"compaign_send_start_time":1765095362,"compaign_send_complete_time":1765095368}
    [action_time] => {"api_allot_time":1765095306,"compaign_read_start_time":1765095308,"compaign_read_complete_time":1765095308,"compaign_send_start_time":1765095362,"compaign_send_complete_time":1765095368}
    [50] => 0
    [compaign_file] => 0
    [51] => sr31_81888_07122025_014506PM_120
    [common_name] => sr31_81888_07122025_014506PM_120
    [52] => 1765001602_sr31_voice.wav
    [voice_file] => 1765001602_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_69052
    [temp_group_table] => contacts_temp_group_69052
    [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] => 1765095601
    [last_credit_update_time] => 1765095601
    [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 : 81888
\compaign_type : Rans per 25.65122 
ans sms 138
dnd sms 69

require answer perrequire answer per : 18

user answer per : 10
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_81888 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_81888 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 : 5 no_answer_count : 2 Busy count :2 congestion_count : 1 failed_count : 0UPDATE voice_compaign_detail_81888 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 2 UPDATE voice_compaign_detail_81888 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 2 UPDATE voice_compaign_detail_81888 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`='18', `user_busy_sms`='25', `user_congestion_sms`='1', `user_failed_sms`='1', `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`=81888 LIMIT 1 


Time Diff : 1.536

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


Compaign : 81650
\compaign_type : ATans per 29.81842 
ans sms 19255
dnd sms 0

require answer perrequire answer per : 5742

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='85', `user_busy_sms`='5654', `user_congestion_sms`='0', `user_failed_sms`='12882', `user_hangup_sms`='0', `user_no_answer_sms`='634', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81650 LIMIT 1 


Time Diff : 0.737

Array
(
    [0] => 81898
    [compaign_id] => 81898
    [1] => u29717
    [user_id] => u29717
    [2] => 69062,
    [group_ids] => 69062,
    [3] => 
    [sender_id] => 
    [4] => kf.mp3
    [filename] => kf.mp3
    [5] => 40
    [duration] => 40
    [6] => 2
    [credits_per_sms] => 2
    [7] => 30
    [user_pulse] => 30
    [8] => 1765095722
    [start_date] => 1765095722
    [9] => 0
    [end_date] => 0
    [10] => 89
    [total_sms] => 89
    [11] => 89
    [sent_sms] => 89
    [12] => 0
    [duplicate_sms] => 0
    [13] => 20
    [answered_sms] => 20
    [14] => 11
    [busy_sms] => 11
    [15] => 0
    [congestion_sms] => 0
    [16] => 33
    [failed_sms] => 33
    [17] => 0
    [hangup_sms] => 0
    [18] => 25
    [no_answer_sms] => 25
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 20
    [user_answered_sms] => 20
    [27] => 11
    [user_busy_sms] => 11
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 33
    [user_failed_sms] => 33
    [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] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29717
    [created_by] => u29717
    [38] => 0
    [isScheduled] => 0
    [39] => 1765095722
    [create_date] => 1765095722
    [40] => 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":1765095728,"compaign_read_start_time":1765095730,"compaign_read_complete_time":1765095730,"compaign_send_start_time":1765095782,"compaign_send_complete_time":1765095783}
    [action_time] => {"api_allot_time":1765095728,"compaign_read_start_time":1765095730,"compaign_read_complete_time":1765095730,"compaign_send_start_time":1765095782,"compaign_send_complete_time":1765095783}
    [50] => 0
    [compaign_file] => 0
    [51] => u29717_81898_07122025_015207PM_246
    [common_name] => u29717_81898_07122025_015207PM_246
    [52] => 1765095212_u29717_voice.wav
    [voice_file] => 1765095212_u29717_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_69062
    [temp_group_table] => contacts_temp_group_69062
    [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] => 1765096022
    [last_credit_update_time] => 1765096022
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1927
    [user_voice_plan_id] => 1927
    [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] => 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,sr27,sr74,u29717
    [uphierarchy] => admin,sr27,sr74,u29717
    [113] => 
    [extra_params_json] => 
)


Compaign : 81898
\compaign_type : Rans per 29.06872 
ans sms 89
dnd sms 0

require answer perrequire answer per : 26

user answer per : 20
below is the redis data 6 UPDATE voice_compaign_detail_81898 SET user_report='D' WHERE (api_id= -2 or 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`='20', `user_busy_sms`='11', `user_congestion_sms`='0', `user_failed_sms`='33', `user_hangup_sms`='0', `user_no_answer_sms`='25', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81898 LIMIT 1 


Time Diff : 2.775

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764836942'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764837002'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764837061'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764837122'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764837182'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764837241'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764837302'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764837362'  
Array
(
    [0] => 81875
    [compaign_id] => 81875
    [1] => u607
    [user_id] => u607
    [2] => 69041,
    [group_ids] => 69041,
    [3] => 
    [sender_id] => 
    [4] => ravi_ramakkapet.mp3
    [filename] => ravi_ramakkapet.mp3
    [5] => 28
    [duration] => 28
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765096200
    [start_date] => 1765096200
    [9] => 0
    [end_date] => 0
    [10] => 548
    [total_sms] => 548
    [11] => 548
    [sent_sms] => 548
    [12] => 0
    [duplicate_sms] => 0
    [13] => 45
    [answered_sms] => 45
    [14] => 39
    [busy_sms] => 39
    [15] => 0
    [congestion_sms] => 0
    [16] => 78
    [failed_sms] => 78
    [17] => 0
    [hangup_sms] => 0
    [18] => 49
    [no_answer_sms] => 49
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 174
    [cutting_sms] => 174
    [22] => 163
    [dnd_sms] => 163
    [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] => 78
    [user_failed_sms] => 78
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 49
    [user_no_answer_sms] => 49
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 163
    [user_dnd_sms] => 163
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u607
    [created_by] => u607
    [38] => 1
    [isScheduled] => 1
    [39] => 1765093324
    [create_date] => 1765093324
    [40] => 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":1765096207,"compaign_read_start_time":1765096208,"compaign_read_complete_time":1765096209,"compaign_send_start_time":1765096262,"compaign_send_complete_time":1765096266}
    [action_time] => {"api_allot_time":1765096207,"compaign_read_start_time":1765096208,"compaign_read_complete_time":1765096209,"compaign_send_start_time":1765096262,"compaign_send_complete_time":1765096266}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81875_07122025_020006PM_521
    [common_name] => u607_81875_07122025_020006PM_521
    [52] => 1765089265_u607_voice.wav
    [voice_file] => 1765089265_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_69041
    [temp_group_table] => contacts_temp_group_69041
    [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] => 1765096502
    [last_credit_update_time] => 1765096502
    [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 : 81875
\compaign_type : Rans per 29.6167 
ans sms 548
dnd sms 163

require answer perrequire answer per : 115

user answer per : 45
below is the redis data 70 /n/r
only no answer and busy will be convert, total number require 70 /n/r
UPDATE voice_compaign_detail_81875 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_81875 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 : 96 no_answer_count : 33 Busy count :25 congestion_count : 12 failed_count : 26UPDATE voice_compaign_detail_81875 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 33 UPDATE voice_compaign_detail_81875 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 25 UPDATE voice_compaign_detail_81875 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 12 UPDATE voice_compaign_detail_81875 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`='115', `user_busy_sms`='83', `user_congestion_sms`='12', `user_failed_sms`='78', `user_hangup_sms`='0', `user_no_answer_sms`='97', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='163' WHERE `compaign_id`=81875 LIMIT 1 


Time Diff : 0.449

Array
(
    [0] => 81876
    [compaign_id] => 81876
    [1] => u607
    [user_id] => u607
    [2] => 69042,
    [group_ids] => 69042,
    [3] => 
    [sender_id] => 
    [4] => thirupathi_raorulk.mp3
    [filename] => thirupathi_raorulk.mp3
    [5] => 14
    [duration] => 14
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765096200
    [start_date] => 1765096200
    [9] => 0
    [end_date] => 0
    [10] => 890
    [total_sms] => 890
    [11] => 890
    [sent_sms] => 890
    [12] => 0
    [duplicate_sms] => 0
    [13] => 45
    [answered_sms] => 45
    [14] => 35
    [busy_sms] => 35
    [15] => 0
    [congestion_sms] => 0
    [16] => 252
    [failed_sms] => 252
    [17] => 0
    [hangup_sms] => 0
    [18] => 48
    [no_answer_sms] => 48
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 336
    [cutting_sms] => 336
    [22] => 174
    [dnd_sms] => 174
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 45
    [user_answered_sms] => 45
    [27] => 35
    [user_busy_sms] => 35
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 252
    [user_failed_sms] => 252
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 48
    [user_no_answer_sms] => 48
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 174
    [user_dnd_sms] => 174
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u607
    [created_by] => u607
    [38] => 1
    [isScheduled] => 1
    [39] => 1765093334
    [create_date] => 1765093334
    [40] => 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":1765096207,"compaign_read_start_time":1765096211,"compaign_read_complete_time":1765096212,"compaign_send_start_time":1765096262,"compaign_send_complete_time":1765096267}
    [action_time] => {"api_allot_time":1765096207,"compaign_read_start_time":1765096211,"compaign_read_complete_time":1765096212,"compaign_send_start_time":1765096262,"compaign_send_complete_time":1765096267}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81876_07122025_020006PM_711
    [common_name] => u607_81876_07122025_020006PM_711
    [52] => 1765089531_u607_voice.wav
    [voice_file] => 1765089531_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_69042
    [temp_group_table] => contacts_temp_group_69042
    [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] => 1765096502
    [last_credit_update_time] => 1765096502
    [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 : 81876
\compaign_type : Rans per 28.65538 
ans sms 890
dnd sms 174

require answer perrequire answer per : 206

user answer per : 45
below is the redis data 161 /n/r
only no answer and busy will be convert, total number require 161 /n/r
UPDATE voice_compaign_detail_81876 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 128 UPDATE voice_compaign_detail_81876 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 128 Total Failed : 194 no_answer_count : 65 Busy count :50 congestion_count : 24 failed_count : 55UPDATE voice_compaign_detail_81876 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 65 UPDATE voice_compaign_detail_81876 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 50 UPDATE voice_compaign_detail_81876 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 24 UPDATE voice_compaign_detail_81876 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`='128', `user_busy_sms`='178', `user_congestion_sms`='24', `user_failed_sms`='193', `user_hangup_sms`='0', `user_no_answer_sms`='193', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='174' WHERE `compaign_id`=81876 LIMIT 1 


Time Diff : 0.276

Array
(
    [0] => 81880
    [compaign_id] => 81880
    [1] => u607
    [user_id] => u607
    [2] => 69045,
    [group_ids] => 69045,
    [3] => 
    [sender_id] => 
    [4] => babureddy_somaram.mp3
    [filename] => babureddy_somaram.mp3
    [5] => 19
    [duration] => 19
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765096200
    [start_date] => 1765096200
    [9] => 0
    [end_date] => 0
    [10] => 1615
    [total_sms] => 1615
    [11] => 1615
    [sent_sms] => 1615
    [12] => 0
    [duplicate_sms] => 0
    [13] => 101
    [answered_sms] => 101
    [14] => 49
    [busy_sms] => 49
    [15] => 1
    [congestion_sms] => 1
    [16] => 387
    [failed_sms] => 387
    [17] => 0
    [hangup_sms] => 0
    [18] => 86
    [no_answer_sms] => 86
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 573
    [cutting_sms] => 573
    [22] => 418
    [dnd_sms] => 418
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 101
    [user_answered_sms] => 101
    [27] => 49
    [user_busy_sms] => 49
    [28] => 1
    [user_congestion_sms] => 1
    [29] => 387
    [user_failed_sms] => 387
    [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] => 418
    [user_dnd_sms] => 418
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u607
    [created_by] => u607
    [38] => 1
    [isScheduled] => 1
    [39] => 1765093936
    [create_date] => 1765093936
    [40] => 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":1765096207,"compaign_read_start_time":1765096214,"compaign_read_complete_time":1765096217,"compaign_send_start_time":1765096262,"compaign_send_complete_time":1765096268}
    [action_time] => {"api_allot_time":1765096207,"compaign_read_start_time":1765096214,"compaign_read_complete_time":1765096217,"compaign_send_start_time":1765096262,"compaign_send_complete_time":1765096268}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81880_07122025_020006PM_932
    [common_name] => u607_81880_07122025_020006PM_932
    [52] => 1765093395_u607_voice.wav
    [voice_file] => 1765093395_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_69045
    [temp_group_table] => contacts_temp_group_69045
    [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] => 1765096502
    [last_credit_update_time] => 1765096502
    [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 : 81880
\compaign_type : Rans per 25.51254 
ans sms 1615
dnd sms 418

require answer perrequire answer per : 306

user answer per : 101
below is the redis data 205 /n/r
only no answer and busy will be convert, total number require 205 /n/r
UPDATE voice_compaign_detail_81880 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 158 UPDATE voice_compaign_detail_81880 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 158 Total Failed : 385 no_answer_count : 129 Busy count :99 congestion_count : 46 failed_count : 111UPDATE voice_compaign_detail_81880 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 129 UPDATE voice_compaign_detail_81880 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 99 UPDATE voice_compaign_detail_81880 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 46 UPDATE voice_compaign_detail_81880 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`='236', `user_busy_sms`='257', `user_congestion_sms`='47', `user_failed_sms`='370', `user_hangup_sms`='0', `user_no_answer_sms`='287', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='418' WHERE `compaign_id`=81880 LIMIT 1 


Time Diff : 0.153

Array
(
    [0] => 81889
    [compaign_id] => 81889
    [1] => u61
    [user_id] => u61
    [2] => 69051,
    [group_ids] => 69051,
    [3] => 
    [sender_id] => 
    [4] => Follow 10 Dec.mp3
    [filename] => Follow 10 Dec.mp3
    [5] => 27
    [duration] => 27
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765096200
    [start_date] => 1765096200
    [9] => 0
    [end_date] => 0
    [10] => 296
    [total_sms] => 296
    [11] => 296
    [sent_sms] => 296
    [12] => 0
    [duplicate_sms] => 0
    [13] => 7
    [answered_sms] => 7
    [14] => 5
    [busy_sms] => 5
    [15] => 0
    [congestion_sms] => 0
    [16] => 168
    [failed_sms] => 168
    [17] => 0
    [hangup_sms] => 0
    [18] => 15
    [no_answer_sms] => 15
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 101
    [cutting_sms] => 101
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 7
    [user_answered_sms] => 7
    [27] => 5
    [user_busy_sms] => 5
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 168
    [user_failed_sms] => 168
    [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] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u61
    [created_by] => u61
    [38] => 1
    [isScheduled] => 1
    [39] => 1765095126
    [create_date] => 1765095126
    [40] => 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":1765096207,"compaign_read_start_time":1765096217,"compaign_read_complete_time":1765096217,"compaign_send_start_time":1765096262,"compaign_send_complete_time":1765096266}
    [action_time] => {"api_allot_time":1765096207,"compaign_read_start_time":1765096217,"compaign_read_complete_time":1765096217,"compaign_send_start_time":1765096262,"compaign_send_complete_time":1765096266}
    [50] => 0
    [compaign_file] => 0
    [51] => u61_81889_07122025_020006PM_310
    [common_name] => u61_81889_07122025_020006PM_310
    [52] => 1765087610_u61_voice.wav
    [voice_file] => 1765087610_u61_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_69051
    [temp_group_table] => contacts_temp_group_69051
    [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] => 1765096502
    [last_credit_update_time] => 1765096502
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 133
    [user_voice_plan_id] => 133
    [85] => 54
    [voice_plan_id] => 54
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.18
    [pulse_rate] => 0.18
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_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,u61
    [uphierarchy] => admin,u61
    [113] => 
    [extra_params_json] => 
)


Compaign : 81889
\compaign_type : Rans per 30.28141 
ans sms 296
dnd sms 0

require answer perrequire answer per : 90

user answer per : 7
below is the redis data 83 /n/r
only no answer and busy will be convert, total number require 83 /n/r
UPDATE voice_compaign_detail_81889 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_81889 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 : 57 no_answer_count : 20 Busy count :15 congestion_count : 7 failed_count : 15UPDATE voice_compaign_detail_81889 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 20 UPDATE voice_compaign_detail_81889 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 15 UPDATE voice_compaign_detail_81889 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 7 UPDATE voice_compaign_detail_81889 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`='27', `user_busy_sms`='76', `user_congestion_sms`='7', `user_failed_sms`='105', `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`=81889 LIMIT 1 


Time Diff : 0.828

Array
(
    [0] => 81899
    [compaign_id] => 81899
    [1] => sr31
    [user_id] => sr31
    [2] => 69063,
    [group_ids] => 69063,
    [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] => 1765096200
    [start_date] => 1765096200
    [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] => 15
    [failed_sms] => 15
    [17] => 0
    [hangup_sms] => 0
    [18] => 12
    [no_answer_sms] => 12
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 3
    [cutting_sms] => 3
    [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] => 15
    [user_failed_sms] => 15
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 12
    [user_no_answer_sms] => 12
    [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] => 1765095722
    [create_date] => 1765095722
    [40] => 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":1765096207,"compaign_read_start_time":1765096220,"compaign_read_complete_time":1765096220,"compaign_send_start_time":1765096262,"compaign_send_complete_time":1765096266}
    [action_time] => {"api_allot_time":1765096207,"compaign_read_start_time":1765096220,"compaign_read_complete_time":1765096220,"compaign_send_start_time":1765096262,"compaign_send_complete_time":1765096266}
    [50] => 0
    [compaign_file] => 0
    [51] => sr31_81899_07122025_020006PM_367
    [common_name] => sr31_81899_07122025_020006PM_367
    [52] => 1765001602_sr31_voice.wav
    [voice_file] => 1765001602_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_69063
    [temp_group_table] => contacts_temp_group_69063
    [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] => 1765096502
    [last_credit_update_time] => 1765096502
    [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 : 81899
\compaign_type : Rans per 29.01619 
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_81899 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_81899 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_81899 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 1 UPDATE voice_compaign_detail_81899 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 1 UPDATE voice_compaign_detail_81899 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`='17', `user_congestion_sms`='0', `user_failed_sms`='3', `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`=81899 LIMIT 1 


Time Diff : 2.058

Array
(
    [0] => 81900
    [compaign_id] => 81900
    [1] => u29722
    [user_id] => u29722
    [2] => 69065,
    [group_ids] => 69065,
    [3] => 
    [sender_id] => 
    [4] => Kathhera Gurthu Utnur.mp3
    [filename] => Kathhera Gurthu Utnur.mp3
    [5] => 24
    [duration] => 24
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765096201
    [start_date] => 1765096201
    [9] => 0
    [end_date] => 0
    [10] => 77
    [total_sms] => 77
    [11] => 77
    [sent_sms] => 77
    [12] => 0
    [duplicate_sms] => 0
    [13] => 31
    [answered_sms] => 31
    [14] => 9
    [busy_sms] => 9
    [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] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 31
    [user_answered_sms] => 31
    [27] => 9
    [user_busy_sms] => 9
    [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] => 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] => 1765096201
    [create_date] => 1765096201
    [40] => 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":1765096207,"compaign_read_start_time":1765096223,"compaign_read_complete_time":1765096223,"compaign_send_start_time":1765096262,"compaign_send_complete_time":1765096266}
    [action_time] => {"api_allot_time":1765096207,"compaign_read_start_time":1765096223,"compaign_read_complete_time":1765096223,"compaign_send_start_time":1765096262,"compaign_send_complete_time":1765096266}
    [50] => 0
    [compaign_file] => 0
    [51] => u29722_81900_07122025_020006PM_583
    [common_name] => u29722_81900_07122025_020006PM_583
    [52] => 1765094642_u29722_voice.wav
    [voice_file] => 1765094642_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_69065
    [temp_group_table] => contacts_temp_group_69065
    [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] => 1765096503
    [last_credit_update_time] => 1765096503
    [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 : 81900
\compaign_type : Rans per 25.02377 
ans sms 77
dnd sms 0

require answer perrequire answer per : 20

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='31', `user_busy_sms`='9', `user_congestion_sms`='0', `user_failed_sms`='16', `user_hangup_sms`='0', `user_no_answer_sms`='21', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81900 LIMIT 1 


Time Diff : 3.208

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764837421'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764837481'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764837541'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764837601'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764837661'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764837722'  
Array
(
    [0] => 81911
    [compaign_id] => 81911
    [1] => u83
    [user_id] => u83
    [2] => 69074,
    [group_ids] => 69074,
    [3] => 
    [sender_id] => 
    [4] => eddumail.mp3
    [filename] => eddumail.mp3
    [5] => 16
    [duration] => 16
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765096623
    [start_date] => 1765096623
    [9] => 0
    [end_date] => 0
    [10] => 241
    [total_sms] => 241
    [11] => 241
    [sent_sms] => 241
    [12] => 0
    [duplicate_sms] => 0
    [13] => 5
    [answered_sms] => 5
    [14] => 13
    [busy_sms] => 13
    [15] => 0
    [congestion_sms] => 0
    [16] => 68
    [failed_sms] => 68
    [17] => 0
    [hangup_sms] => 0
    [18] => 8
    [no_answer_sms] => 8
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 31
    [cutting_sms] => 31
    [22] => 116
    [dnd_sms] => 116
    [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] => 68
    [user_failed_sms] => 68
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 8
    [user_no_answer_sms] => 8
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 116
    [user_dnd_sms] => 116
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u83
    [created_by] => u83
    [38] => 0
    [isScheduled] => 0
    [39] => 1765096623
    [create_date] => 1765096623
    [40] => 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":1765096630,"compaign_read_start_time":1765096630,"compaign_read_complete_time":1765096631,"compaign_send_start_time":1765096681,"compaign_send_complete_time":1765096682}
    [action_time] => {"api_allot_time":1765096630,"compaign_read_start_time":1765096630,"compaign_read_complete_time":1765096631,"compaign_send_start_time":1765096681,"compaign_send_complete_time":1765096682}
    [50] => 0
    [compaign_file] => 0
    [51] => u83_81911_07122025_020709PM_808
    [common_name] => u83_81911_07122025_020709PM_808
    [52] => 1765002193_u83_voice.wav
    [voice_file] => 1765002193_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_69074
    [temp_group_table] => contacts_temp_group_69074
    [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] => 1765096921
    [last_credit_update_time] => 1765096921
    [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 : 81911
\compaign_type : Rans per 26.95822 
ans sms 241
dnd sms 116

require answer perrequire answer per : 34

user answer per : 5
below is the redis data 29 /n/r
only no answer and busy will be convert, total number require 29 /n/r
UPDATE voice_compaign_detail_81911 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_81911 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 : 15 no_answer_count : 6 Busy count :4 congestion_count : 2 failed_count : 3UPDATE voice_compaign_detail_81911 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 6 UPDATE voice_compaign_detail_81911 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 4 UPDATE voice_compaign_detail_81911 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 2 UPDATE voice_compaign_detail_81911 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`='26', `user_busy_sms`='28', `user_congestion_sms`='2', `user_failed_sms`='39', `user_hangup_sms`='0', `user_no_answer_sms`='30', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='116' WHERE `compaign_id`=81911 LIMIT 1 


Time Diff : 0.759

Array
(
    [0] => 81912
    [compaign_id] => 81912
    [1] => u83
    [user_id] => u83
    [2] => 69075,
    [group_ids] => 69075,
    [3] => 
    [sender_id] => 
    [4] => eddumail.mp3
    [filename] => eddumail.mp3
    [5] => 16
    [duration] => 16
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765096623
    [start_date] => 1765096623
    [9] => 0
    [end_date] => 0
    [10] => 272
    [total_sms] => 272
    [11] => 272
    [sent_sms] => 272
    [12] => 0
    [duplicate_sms] => 0
    [13] => 4
    [answered_sms] => 4
    [14] => 7
    [busy_sms] => 7
    [15] => 0
    [congestion_sms] => 0
    [16] => 62
    [failed_sms] => 62
    [17] => 0
    [hangup_sms] => 0
    [18] => 9
    [no_answer_sms] => 9
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 37
    [cutting_sms] => 37
    [22] => 153
    [dnd_sms] => 153
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 4
    [user_answered_sms] => 4
    [27] => 7
    [user_busy_sms] => 7
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 62
    [user_failed_sms] => 62
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 9
    [user_no_answer_sms] => 9
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 153
    [user_dnd_sms] => 153
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u83
    [created_by] => u83
    [38] => 0
    [isScheduled] => 0
    [39] => 1765096623
    [create_date] => 1765096623
    [40] => 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":1765096630,"compaign_read_start_time":1765096634,"compaign_read_complete_time":1765096636,"compaign_send_start_time":1765096681,"compaign_send_complete_time":1765096682}
    [action_time] => {"api_allot_time":1765096630,"compaign_read_start_time":1765096634,"compaign_read_complete_time":1765096636,"compaign_send_start_time":1765096681,"compaign_send_complete_time":1765096682}
    [50] => 0
    [compaign_file] => 0
    [51] => u83_81912_07122025_020709PM_538
    [common_name] => u83_81912_07122025_020709PM_538
    [52] => 1765002193_u83_voice.wav
    [voice_file] => 1765002193_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_69075
    [temp_group_table] => contacts_temp_group_69075
    [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] => 1765096921
    [last_credit_update_time] => 1765096921
    [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 : 81912
\compaign_type : Rans per 25.16401 
ans sms 272
dnd sms 153

require answer perrequire answer per : 30

user answer per : 4
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_81912 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_81912 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 : 21 no_answer_count : 8 Busy count :6 congestion_count : 3 failed_count : 4UPDATE voice_compaign_detail_81912 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 8 UPDATE voice_compaign_detail_81912 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 6 UPDATE voice_compaign_detail_81912 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 3 UPDATE voice_compaign_detail_81912 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`='20', `user_busy_sms`='27', `user_congestion_sms`='3', `user_failed_sms`='40', `user_hangup_sms`='0', `user_no_answer_sms`='29', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='153' WHERE `compaign_id`=81912 LIMIT 1 


Time Diff : 0.676

Array
(
    [0] => 81913
    [compaign_id] => 81913
    [1] => u83
    [user_id] => u83
    [2] => 69076,
    [group_ids] => 69076,
    [3] => 
    [sender_id] => 
    [4] => eddumail.mp3
    [filename] => eddumail.mp3
    [5] => 16
    [duration] => 16
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765096623
    [start_date] => 1765096623
    [9] => 0
    [end_date] => 0
    [10] => 326
    [total_sms] => 326
    [11] => 326
    [sent_sms] => 326
    [12] => 0
    [duplicate_sms] => 0
    [13] => 7
    [answered_sms] => 7
    [14] => 6
    [busy_sms] => 6
    [15] => 0
    [congestion_sms] => 0
    [16] => 56
    [failed_sms] => 56
    [17] => 0
    [hangup_sms] => 0
    [18] => 19
    [no_answer_sms] => 19
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 59
    [cutting_sms] => 59
    [22] => 179
    [dnd_sms] => 179
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 7
    [user_answered_sms] => 7
    [27] => 6
    [user_busy_sms] => 6
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 56
    [user_failed_sms] => 56
    [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] => 179
    [user_dnd_sms] => 179
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u83
    [created_by] => u83
    [38] => 0
    [isScheduled] => 0
    [39] => 1765096623
    [create_date] => 1765096623
    [40] => 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":1765096630,"compaign_read_start_time":1765096637,"compaign_read_complete_time":1765096638,"compaign_send_start_time":1765096682,"compaign_send_complete_time":1765096682}
    [action_time] => {"api_allot_time":1765096630,"compaign_read_start_time":1765096637,"compaign_read_complete_time":1765096638,"compaign_send_start_time":1765096682,"compaign_send_complete_time":1765096682}
    [50] => 0
    [compaign_file] => 0
    [51] => u83_81913_07122025_020709PM_136
    [common_name] => u83_81913_07122025_020709PM_136
    [52] => 1765002193_u83_voice.wav
    [voice_file] => 1765002193_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_69076
    [temp_group_table] => contacts_temp_group_69076
    [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] => 1765096921
    [last_credit_update_time] => 1765096921
    [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 : 81913
\compaign_type : Rans per 30.23418 
ans sms 326
dnd sms 179

require answer perrequire answer per : 45

user answer per : 7
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_81913 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_81913 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 : 31 no_answer_count : 11 Busy count :8 congestion_count : 4 failed_count : 8UPDATE voice_compaign_detail_81913 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 11 UPDATE voice_compaign_detail_81913 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 8 UPDATE voice_compaign_detail_81913 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 4 UPDATE voice_compaign_detail_81913 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`='32', `user_busy_sms`='37', `user_congestion_sms`='4', `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`='179' WHERE `compaign_id`=81913 LIMIT 1 


Time Diff : 0.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>'1764837781'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764837841'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764837902'  
Array
(
    [0] => 81914
    [compaign_id] => 81914
    [1] => u29695
    [user_id] => u29695
    [2] => 69077,
    [group_ids] => 69077,
    [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] => 1765096708
    [start_date] => 1765096708
    [9] => 0
    [end_date] => 0
    [10] => 51
    [total_sms] => 51
    [11] => 51
    [sent_sms] => 51
    [12] => 0
    [duplicate_sms] => 0
    [13] => 1
    [answered_sms] => 1
    [14] => 9
    [busy_sms] => 9
    [15] => 0
    [congestion_sms] => 0
    [16] => 41
    [failed_sms] => 41
    [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] => 1
    [user_answered_sms] => 1
    [27] => 9
    [user_busy_sms] => 9
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 41
    [user_failed_sms] => 41
    [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] => u29695
    [created_by] => u29695
    [38] => 0
    [isScheduled] => 0
    [39] => 1765096708
    [create_date] => 1765096708
    [40] => 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":1765096714,"compaign_read_start_time":1765096714,"compaign_read_complete_time":1765096714,"compaign_send_start_time":1765096742,"compaign_send_complete_time":1765096742}
    [action_time] => {"api_allot_time":1765096714,"compaign_read_start_time":1765096714,"compaign_read_complete_time":1765096714,"compaign_send_start_time":1765096742,"compaign_send_complete_time":1765096742}
    [50] => 0
    [compaign_file] => 0
    [51] => u29695_81914_07122025_020833PM_466
    [common_name] => u29695_81914_07122025_020833PM_466
    [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_69077
    [temp_group_table] => contacts_temp_group_69077
    [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] => 1765097041
    [last_credit_update_time] => 1765097041
    [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 : 81914
\compaign_type : Rans per 30.5239 
ans sms 51
dnd sms 0

require answer perrequire answer per : 16

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='1', `user_busy_sms`='9', `user_congestion_sms`='0', `user_failed_sms`='41', `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`=81914 LIMIT 1 


Time Diff : 5.98

Array
(
    [0] => 81915
    [compaign_id] => 81915
    [1] => u29695
    [user_id] => u29695
    [2] => 69078,
    [group_ids] => 69078,
    [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] => 1765096712
    [start_date] => 1765096712
    [9] => 0
    [end_date] => 0
    [10] => 51
    [total_sms] => 51
    [11] => 51
    [sent_sms] => 51
    [12] => 0
    [duplicate_sms] => 0
    [13] => 14
    [answered_sms] => 14
    [14] => 5
    [busy_sms] => 5
    [15] => 0
    [congestion_sms] => 0
    [16] => 14
    [failed_sms] => 14
    [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] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 5
    [user_busy_sms] => 5
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 14
    [user_failed_sms] => 14
    [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] => 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] => 1765096712
    [create_date] => 1765096712
    [40] => 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":1765096718,"compaign_read_start_time":1765096720,"compaign_read_complete_time":1765096720,"compaign_send_start_time":1765096742,"compaign_send_complete_time":1765096742}
    [action_time] => {"api_allot_time":1765096718,"compaign_read_start_time":1765096720,"compaign_read_complete_time":1765096720,"compaign_send_start_time":1765096742,"compaign_send_complete_time":1765096742}
    [50] => 0
    [compaign_file] => 0
    [51] => u29695_81915_07122025_020837PM_709
    [common_name] => u29695_81915_07122025_020837PM_709
    [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_69078
    [temp_group_table] => contacts_temp_group_69078
    [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] => 1765097042
    [last_credit_update_time] => 1765097042
    [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 : 81915
\compaign_type : Rans per 28.66587 
ans sms 51
dnd sms 0

require answer perrequire answer per : 15

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


 Blank User Record End

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


Time Diff : 6

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764837961'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764838022'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764838081'  
Array
(
    [0] => 81918
    [compaign_id] => 81918
    [1] => u83
    [user_id] => u83
    [2] => 69079,
    [group_ids] => 69079,
    [3] => 
    [sender_id] => 
    [4] => eddumail.mp3
    [filename] => eddumail.mp3
    [5] => 16
    [duration] => 16
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765096924
    [start_date] => 1765096924
    [9] => 0
    [end_date] => 0
    [10] => 516
    [total_sms] => 516
    [11] => 516
    [sent_sms] => 516
    [12] => 0
    [duplicate_sms] => 0
    [13] => 11
    [answered_sms] => 11
    [14] => 17
    [busy_sms] => 17
    [15] => 0
    [congestion_sms] => 0
    [16] => 73
    [failed_sms] => 73
    [17] => 0
    [hangup_sms] => 0
    [18] => 23
    [no_answer_sms] => 23
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 82
    [cutting_sms] => 82
    [22] => 310
    [dnd_sms] => 310
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 11
    [user_answered_sms] => 11
    [27] => 17
    [user_busy_sms] => 17
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 73
    [user_failed_sms] => 73
    [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] => 310
    [user_dnd_sms] => 310
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u83
    [created_by] => u83
    [38] => 0
    [isScheduled] => 0
    [39] => 1765096924
    [create_date] => 1765096924
    [40] => 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":1765096930,"compaign_read_start_time":1765096934,"compaign_read_complete_time":1765096935,"compaign_send_start_time":1765096981,"compaign_send_complete_time":1765096982}
    [action_time] => {"api_allot_time":1765096930,"compaign_read_start_time":1765096934,"compaign_read_complete_time":1765096935,"compaign_send_start_time":1765096981,"compaign_send_complete_time":1765096982}
    [50] => 0
    [compaign_file] => 0
    [51] => u83_81918_07122025_021209PM_486
    [common_name] => u83_81918_07122025_021209PM_486
    [52] => 1765002193_u83_voice.wav
    [voice_file] => 1765002193_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_69079
    [temp_group_table] => contacts_temp_group_69079
    [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] => 1765097222
    [last_credit_update_time] => 1765097222
    [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 : 81918
\compaign_type : Rans per 27.86874 
ans sms 516
dnd sms 310

require answer perrequire answer per : 58

user answer per : 11
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_81918 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 33 UPDATE voice_compaign_detail_81918 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 33 Total Failed : 49 no_answer_count : 17 Busy count :13 congestion_count : 6 failed_count : 13UPDATE voice_compaign_detail_81918 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 17 UPDATE voice_compaign_detail_81918 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 13 UPDATE voice_compaign_detail_81918 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 6 UPDATE voice_compaign_detail_81918 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`='51', `user_busy_sms`='46', `user_congestion_sms`='6', `user_failed_sms`='53', `user_hangup_sms`='0', `user_no_answer_sms`='50', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='310' WHERE `compaign_id`=81918 LIMIT 1 


Time Diff : 0.525

Array
(
    [0] => 81920
    [compaign_id] => 81920
    [1] => u83
    [user_id] => u83
    [2] => 69082,
    [group_ids] => 69082,
    [3] => 
    [sender_id] => 
    [4] => cheriyal_sarpanch.mp3
    [filename] => cheriyal_sarpanch.mp3
    [5] => 19
    [duration] => 19
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765096927
    [start_date] => 1765096927
    [9] => 0
    [end_date] => 0
    [10] => 849
    [total_sms] => 849
    [11] => 849
    [sent_sms] => 849
    [12] => 0
    [duplicate_sms] => 0
    [13] => 142
    [answered_sms] => 142
    [14] => 43
    [busy_sms] => 43
    [15] => 0
    [congestion_sms] => 0
    [16] => 75
    [failed_sms] => 75
    [17] => 0
    [hangup_sms] => 0
    [18] => 127
    [no_answer_sms] => 127
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 313
    [cutting_sms] => 313
    [22] => 149
    [dnd_sms] => 149
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 142
    [user_answered_sms] => 142
    [27] => 43
    [user_busy_sms] => 43
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 75
    [user_failed_sms] => 75
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 127
    [user_no_answer_sms] => 127
    [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] => u83
    [created_by] => u83
    [38] => 0
    [isScheduled] => 0
    [39] => 1765096926
    [create_date] => 1765096926
    [40] => 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":1765096934,"compaign_read_start_time":1765096937,"compaign_read_complete_time":1765096939,"compaign_send_start_time":1765096981,"compaign_send_complete_time":1765096983}
    [action_time] => {"api_allot_time":1765096934,"compaign_read_start_time":1765096937,"compaign_read_complete_time":1765096939,"compaign_send_start_time":1765096981,"compaign_send_complete_time":1765096983}
    [50] => 0
    [compaign_file] => 0
    [51] => u83_81920_07122025_021213PM_269
    [common_name] => u83_81920_07122025_021213PM_269
    [52] => 1765002393_u83_voice.wav
    [voice_file] => 1765002393_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_69082
    [temp_group_table] => contacts_temp_group_69082
    [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] => 1765097222
    [last_credit_update_time] => 1765097222
    [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 : 81920
\compaign_type : Rans per 28.39113 
ans sms 849
dnd sms 149

require answer perrequire answer per : 199

user answer per : 142
below is the redis data 57 /n/r
only no answer and busy will be convert, total number require 57 /n/r
UPDATE voice_compaign_detail_81920 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_81920 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 : 247 no_answer_count : 83 Busy count :64 congestion_count : 30 failed_count : 70UPDATE voice_compaign_detail_81920 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 83 UPDATE voice_compaign_detail_81920 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 64 UPDATE voice_compaign_detail_81920 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 30 UPDATE voice_compaign_detail_81920 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`='199', `user_busy_sms`='134', `user_congestion_sms`='30', `user_failed_sms`='123', `user_hangup_sms`='0', `user_no_answer_sms`='214', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='149' WHERE `compaign_id`=81920 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>'1764838141'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764838202'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764838262'  
Array
(
    [0] => 81881
    [compaign_id] => 81881
    [1] => u607
    [user_id] => u607
    [2] => 69047,
    [group_ids] => 69047,
    [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] => 1765097100
    [start_date] => 1765097100
    [9] => 0
    [end_date] => 0
    [10] => 935
    [total_sms] => 935
    [11] => 935
    [sent_sms] => 935
    [12] => 0
    [duplicate_sms] => 0
    [13] => 75
    [answered_sms] => 75
    [14] => 55
    [busy_sms] => 55
    [15] => 0
    [congestion_sms] => 0
    [16] => 131
    [failed_sms] => 131
    [17] => 0
    [hangup_sms] => 0
    [18] => 66
    [no_answer_sms] => 66
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 322
    [cutting_sms] => 322
    [22] => 286
    [dnd_sms] => 286
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 75
    [user_answered_sms] => 75
    [27] => 55
    [user_busy_sms] => 55
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 131
    [user_failed_sms] => 131
    [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] => 286
    [user_dnd_sms] => 286
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u607
    [created_by] => u607
    [38] => 1
    [isScheduled] => 1
    [39] => 1765094226
    [create_date] => 1765094226
    [40] => 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":1765097107,"compaign_read_start_time":1765097108,"compaign_read_complete_time":1765097111,"compaign_send_start_time":1765097162,"compaign_send_complete_time":1765097164}
    [action_time] => {"api_allot_time":1765097107,"compaign_read_start_time":1765097108,"compaign_read_complete_time":1765097111,"compaign_send_start_time":1765097162,"compaign_send_complete_time":1765097164}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81881_07122025_021506PM_665
    [common_name] => u607_81881_07122025_021506PM_665
    [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_69047
    [temp_group_table] => contacts_temp_group_69047
    [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] => 1765097402
    [last_credit_update_time] => 1765097402
    [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 : 81881
\compaign_type : Rans per 29.90701 
ans sms 935
dnd sms 286

require answer perrequire answer per : 195

user answer per : 75
below is the redis data 120 /n/r
only no answer and busy will be convert, total number require 120 /n/r
UPDATE voice_compaign_detail_81881 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 96 UPDATE voice_compaign_detail_81881 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 96 Total Failed : 186 no_answer_count : 63 Busy count :48 congestion_count : 23 failed_count : 52UPDATE voice_compaign_detail_81881 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 63 UPDATE voice_compaign_detail_81881 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 48 UPDATE voice_compaign_detail_81881 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 23 UPDATE voice_compaign_detail_81881 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 52 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='195', `user_busy_sms`='144', `user_congestion_sms`='23', `user_failed_sms`='127', `user_hangup_sms`='0', `user_no_answer_sms`='160', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='286' WHERE `compaign_id`=81881 LIMIT 1 


Time Diff : 0.291

Array
(
    [0] => 81922
    [compaign_id] => 81922
    [1] => u83
    [user_id] => u83
    [2] => 69084,
    [group_ids] => 69084,
    [3] => 
    [sender_id] => 
    [4] => eddumail.mp3
    [filename] => eddumail.mp3
    [5] => 16
    [duration] => 16
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765097227
    [start_date] => 1765097227
    [9] => 0
    [end_date] => 0
    [10] => 215
    [total_sms] => 215
    [11] => 215
    [sent_sms] => 215
    [12] => 0
    [duplicate_sms] => 0
    [13] => 2
    [answered_sms] => 2
    [14] => 4
    [busy_sms] => 4
    [15] => 0
    [congestion_sms] => 0
    [16] => 65
    [failed_sms] => 65
    [17] => 0
    [hangup_sms] => 0
    [18] => 2
    [no_answer_sms] => 2
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 26
    [cutting_sms] => 26
    [22] => 116
    [dnd_sms] => 116
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 2
    [user_answered_sms] => 2
    [27] => 4
    [user_busy_sms] => 4
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 65
    [user_failed_sms] => 65
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2
    [user_no_answer_sms] => 2
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 116
    [user_dnd_sms] => 116
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u83
    [created_by] => u83
    [38] => 0
    [isScheduled] => 0
    [39] => 1765097227
    [create_date] => 1765097227
    [40] => 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":1765097232,"compaign_read_start_time":1765097234,"compaign_read_complete_time":1765097234,"compaign_send_start_time":1765097281,"compaign_send_complete_time":1765097282}
    [action_time] => {"api_allot_time":1765097232,"compaign_read_start_time":1765097234,"compaign_read_complete_time":1765097234,"compaign_send_start_time":1765097281,"compaign_send_complete_time":1765097282}
    [50] => 0
    [compaign_file] => 0
    [51] => u83_81922_07122025_021712PM_378
    [common_name] => u83_81922_07122025_021712PM_378
    [52] => 1765002193_u83_voice.wav
    [voice_file] => 1765002193_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_69084
    [temp_group_table] => contacts_temp_group_69084
    [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] => 1765097462
    [last_credit_update_time] => 1765097462
    [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 : 81922
\compaign_type : Rans per 27.31247 
ans sms 215
dnd sms 116

require answer perrequire answer per : 28

user answer per : 2
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_81922 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_81922 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 : 16 no_answer_count : 6 Busy count :5 congestion_count : 2 failed_count : 3UPDATE voice_compaign_detail_81922 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 6 UPDATE voice_compaign_detail_81922 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 5 UPDATE voice_compaign_detail_81922 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 2 UPDATE voice_compaign_detail_81922 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`='8', `user_busy_sms`='26', `user_congestion_sms`='2', `user_failed_sms`='36', `user_hangup_sms`='0', `user_no_answer_sms`='27', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='116' WHERE `compaign_id`=81922 LIMIT 1 


Time Diff : 0.707

Array
(
    [0] => 81923
    [compaign_id] => 81923
    [1] => u83
    [user_id] => u83
    [2] => 69083,
    [group_ids] => 69083,
    [3] => 
    [sender_id] => 
    [4] => eddumail.mp3
    [filename] => eddumail.mp3
    [5] => 16
    [duration] => 16
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765097228
    [start_date] => 1765097228
    [9] => 0
    [end_date] => 0
    [10] => 252
    [total_sms] => 252
    [11] => 252
    [sent_sms] => 252
    [12] => 0
    [duplicate_sms] => 0
    [13] => 4
    [answered_sms] => 4
    [14] => 7
    [busy_sms] => 7
    [15] => 0
    [congestion_sms] => 0
    [16] => 60
    [failed_sms] => 60
    [17] => 0
    [hangup_sms] => 0
    [18] => 5
    [no_answer_sms] => 5
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 23
    [cutting_sms] => 23
    [22] => 153
    [dnd_sms] => 153
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 4
    [user_answered_sms] => 4
    [27] => 7
    [user_busy_sms] => 7
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 60
    [user_failed_sms] => 60
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 5
    [user_no_answer_sms] => 5
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 153
    [user_dnd_sms] => 153
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u83
    [created_by] => u83
    [38] => 0
    [isScheduled] => 0
    [39] => 1765097228
    [create_date] => 1765097228
    [40] => 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":1765097234,"compaign_read_start_time":1765097237,"compaign_read_complete_time":1765097237,"compaign_send_start_time":1765097281,"compaign_send_complete_time":1765097282}
    [action_time] => {"api_allot_time":1765097234,"compaign_read_start_time":1765097237,"compaign_read_complete_time":1765097237,"compaign_send_start_time":1765097281,"compaign_send_complete_time":1765097282}
    [50] => 0
    [compaign_file] => 0
    [51] => u83_81923_07122025_021714PM_282
    [common_name] => u83_81923_07122025_021714PM_282
    [52] => 1765002193_u83_voice.wav
    [voice_file] => 1765002193_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_69083
    [temp_group_table] => contacts_temp_group_69083
    [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] => 1765097462
    [last_credit_update_time] => 1765097462
    [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 : 81923
\compaign_type : Rans per 25.43066 
ans sms 252
dnd sms 153

require answer perrequire answer per : 26

user answer per : 4
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_81923 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_81923 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 : 11 no_answer_count : 4 Busy count :3 congestion_count : 2 failed_count : 2UPDATE voice_compaign_detail_81923 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 4 UPDATE voice_compaign_detail_81923 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 3 UPDATE voice_compaign_detail_81923 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 2 UPDATE voice_compaign_detail_81923 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`='16', `user_busy_sms`='19', `user_congestion_sms`='2', `user_failed_sms`='42', `user_hangup_sms`='0', `user_no_answer_sms`='20', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='153' WHERE `compaign_id`=81923 LIMIT 1 


Time Diff : 0.599

Array
(
    [0] => 81924
    [compaign_id] => 81924
    [1] => u83
    [user_id] => u83
    [2] => 69085,
    [group_ids] => 69085,
    [3] => 
    [sender_id] => 
    [4] => eddumail.mp3
    [filename] => eddumail.mp3
    [5] => 16
    [duration] => 16
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765097228
    [start_date] => 1765097228
    [9] => 0
    [end_date] => 0
    [10] => 294
    [total_sms] => 294
    [11] => 294
    [sent_sms] => 294
    [12] => 0
    [duplicate_sms] => 0
    [13] => 4
    [answered_sms] => 4
    [14] => 12
    [busy_sms] => 12
    [15] => 0
    [congestion_sms] => 0
    [16] => 54
    [failed_sms] => 54
    [17] => 0
    [hangup_sms] => 0
    [18] => 7
    [no_answer_sms] => 7
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 38
    [cutting_sms] => 38
    [22] => 179
    [dnd_sms] => 179
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 4
    [user_answered_sms] => 4
    [27] => 12
    [user_busy_sms] => 12
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 54
    [user_failed_sms] => 54
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 7
    [user_no_answer_sms] => 7
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 179
    [user_dnd_sms] => 179
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u83
    [created_by] => u83
    [38] => 0
    [isScheduled] => 0
    [39] => 1765097228
    [create_date] => 1765097228
    [40] => 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":1765097234,"compaign_read_start_time":1765097240,"compaign_read_complete_time":1765097240,"compaign_send_start_time":1765097281,"compaign_send_complete_time":1765097282}
    [action_time] => {"api_allot_time":1765097234,"compaign_read_start_time":1765097240,"compaign_read_complete_time":1765097240,"compaign_send_start_time":1765097281,"compaign_send_complete_time":1765097282}
    [50] => 0
    [compaign_file] => 0
    [51] => u83_81924_07122025_021714PM_833
    [common_name] => u83_81924_07122025_021714PM_833
    [52] => 1765002193_u83_voice.wav
    [voice_file] => 1765002193_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_69085
    [temp_group_table] => contacts_temp_group_69085
    [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] => 1765097462
    [last_credit_update_time] => 1765097462
    [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 : 81924
\compaign_type : Rans per 29.04581 
ans sms 294
dnd sms 179

require answer perrequire answer per : 34

user answer per : 4
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_81924 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 23 UPDATE voice_compaign_detail_81924 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 23 Total Failed : 18 no_answer_count : 7 Busy count :5 congestion_count : 3 failed_count : 3UPDATE voice_compaign_detail_81924 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 7 UPDATE voice_compaign_detail_81924 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 5 UPDATE voice_compaign_detail_81924 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 3 UPDATE voice_compaign_detail_81924 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`='23', `user_busy_sms`='28', `user_congestion_sms`='3', `user_failed_sms`='31', `user_hangup_sms`='0', `user_no_answer_sms`='30', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='179' WHERE `compaign_id`=81924 LIMIT 1 


Time Diff : 0.517

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


Compaign : 81650
\compaign_type : ATans per 28.15453 
ans sms 20871
dnd sms 0

require answer perrequire answer per : 5877

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='95', `user_busy_sms`='6273', `user_congestion_sms`='0', `user_failed_sms`='13807', `user_hangup_sms`='0', `user_no_answer_sms`='696', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81650 LIMIT 1 


Time Diff : 0.749

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764838381'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764838442'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764838501'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764838562'  
Array
(
    [0] => 81930
    [compaign_id] => 81930
    [1] => u29720
    [user_id] => u29720
    [2] => 69087,
    [group_ids] => 69087,
    [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] => 1765097484
    [start_date] => 1765097484
    [9] => 0
    [end_date] => 0
    [10] => 1661
    [total_sms] => 1661
    [11] => 1661
    [sent_sms] => 1661
    [12] => 0
    [duplicate_sms] => 0
    [13] => 217
    [answered_sms] => 217
    [14] => 129
    [busy_sms] => 129
    [15] => 0
    [congestion_sms] => 0
    [16] => 178
    [failed_sms] => 178
    [17] => 0
    [hangup_sms] => 0
    [18] => 186
    [no_answer_sms] => 186
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 576
    [cutting_sms] => 576
    [22] => 375
    [dnd_sms] => 375
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 217
    [user_answered_sms] => 217
    [27] => 129
    [user_busy_sms] => 129
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 178
    [user_failed_sms] => 178
    [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] => 0
    [isScheduled] => 0
    [39] => 1765097483
    [create_date] => 1765097483
    [40] => 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":1765097491,"compaign_read_start_time":1765097492,"compaign_read_complete_time":1765097495,"compaign_send_start_time":1765097522,"compaign_send_complete_time":1765097525}
    [action_time] => {"api_allot_time":1765097491,"compaign_read_start_time":1765097492,"compaign_read_complete_time":1765097495,"compaign_send_start_time":1765097522,"compaign_send_complete_time":1765097525}
    [50] => 0
    [compaign_file] => 0
    [51] => u29720_81930_07122025_022130PM_278
    [common_name] => u29720_81930_07122025_022130PM_278
    [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_69087
    [temp_group_table] => contacts_temp_group_69087
    [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] => 1765097703
    [reschedule_last_check_time] => 1765097703
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765097761
    [last_credit_update_time] => 1765097761
    [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 : 81930
\compaign_type : Rans per 26.19512 
ans sms 1661
dnd sms 375

require answer perrequire answer per : 337

user answer per : 217
below is the redis data 120 UPDATE voice_compaign_detail_81930 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 120 Total Failed : 456 no_answer_count : 153 Busy count :118 congestion_count : 55 failed_count : 130UPDATE voice_compaign_detail_81930 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 153 UPDATE voice_compaign_detail_81930 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 118 UPDATE voice_compaign_detail_81930 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 55 UPDATE voice_compaign_detail_81930 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 130 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='337', `user_busy_sms`='247', `user_congestion_sms`='55', `user_failed_sms`='308', `user_hangup_sms`='0', `user_no_answer_sms`='339', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='375' WHERE `compaign_id`=81930 LIMIT 1 


Time Diff : 0.128

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764838621'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764838681'  
Array
(
    [0] => 81931
    [compaign_id] => 81931
    [1] => u29720
    [user_id] => u29720
    [2] => 69088,
    [group_ids] => 69088,
    [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] => 1765097529
    [start_date] => 1765097529
    [9] => 0
    [end_date] => 0
    [10] => 1640
    [total_sms] => 1640
    [11] => 1640
    [sent_sms] => 1640
    [12] => 0
    [duplicate_sms] => 0
    [13] => 206
    [answered_sms] => 206
    [14] => 111
    [busy_sms] => 111
    [15] => 0
    [congestion_sms] => 0
    [16] => 229
    [failed_sms] => 229
    [17] => 0
    [hangup_sms] => 0
    [18] => 126
    [no_answer_sms] => 126
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 669
    [cutting_sms] => 669
    [22] => 299
    [dnd_sms] => 299
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 206
    [user_answered_sms] => 206
    [27] => 111
    [user_busy_sms] => 111
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 229
    [user_failed_sms] => 229
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 126
    [user_no_answer_sms] => 126
    [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] => 1765097528
    [create_date] => 1765097528
    [40] => 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":1765097536,"compaign_read_start_time":1765097536,"compaign_read_complete_time":1765097539,"compaign_send_start_time":1765097582,"compaign_send_complete_time":1765097589}
    [action_time] => {"api_allot_time":1765097536,"compaign_read_start_time":1765097536,"compaign_read_complete_time":1765097539,"compaign_send_start_time":1765097582,"compaign_send_complete_time":1765097589}
    [50] => 0
    [compaign_file] => 0
    [51] => u29720_81931_07122025_022215PM_807
    [common_name] => u29720_81931_07122025_022215PM_807
    [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_69088
    [temp_group_table] => contacts_temp_group_69088
    [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] => 1765097703
    [reschedule_last_check_time] => 1765097703
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765097821
    [last_credit_update_time] => 1765097821
    [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 : 81931
\compaign_type : Rans per 26.01444 
ans sms 1640
dnd sms 299

require answer perrequire answer per : 349

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='349', `user_busy_sms`='246', `user_congestion_sms`='63', `user_failed_sms`='381', `user_hangup_sms`='0', `user_no_answer_sms`='302', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='299' WHERE `compaign_id`=81931 LIMIT 1 


Time Diff : 0.165

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764838741'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764838802'  
Array
(
    [0] => 81932
    [compaign_id] => 81932
    [1] => u29722
    [user_id] => u29722
    [2] => 69089,
    [group_ids] => 69089,
    [3] => 
    [sender_id] => 
    [4] => Ranjith Chityal.mp3
    [filename] => Ranjith Chityal.mp3
    [5] => 18
    [duration] => 18
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765097678
    [start_date] => 1765097678
    [9] => 0
    [end_date] => 0
    [10] => 554
    [total_sms] => 554
    [11] => 554
    [sent_sms] => 554
    [12] => 0
    [duplicate_sms] => 0
    [13] => 69
    [answered_sms] => 69
    [14] => 20
    [busy_sms] => 20
    [15] => 0
    [congestion_sms] => 0
    [16] => 185
    [failed_sms] => 185
    [17] => 0
    [hangup_sms] => 0
    [18] => 45
    [no_answer_sms] => 45
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 235
    [cutting_sms] => 235
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 69
    [user_answered_sms] => 69
    [27] => 20
    [user_busy_sms] => 20
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 185
    [user_failed_sms] => 185
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 45
    [user_no_answer_sms] => 45
    [32] => 0
    [user_timeout_duration_sms] => 0
    [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] => 1765097677
    [create_date] => 1765097677
    [40] => 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":1765097684,"compaign_read_start_time":1765097687,"compaign_read_complete_time":1765097687,"compaign_send_start_time":1765097701,"compaign_send_complete_time":1765097703}
    [action_time] => {"api_allot_time":1765097684,"compaign_read_start_time":1765097687,"compaign_read_complete_time":1765097687,"compaign_send_start_time":1765097701,"compaign_send_complete_time":1765097703}
    [50] => 0
    [compaign_file] => 0
    [51] => u29722_81932_07122025_022444PM_666
    [common_name] => u29722_81932_07122025_022444PM_666
    [52] => 1765097677_u29722_voice.wav
    [voice_file] => 1765097677_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_69089
    [temp_group_table] => contacts_temp_group_69089
    [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] => 1765097941
    [last_credit_update_time] => 1765097941
    [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 : 81932
\compaign_type : Rans per 30.97445 
ans sms 554
dnd sms 0

require answer perrequire answer per : 172

user answer per : 69
below is the redis data 103 UPDATE voice_compaign_detail_81932 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 103 Total Failed : 132 no_answer_count : 45 Busy count :34 congestion_count : 16 failed_count : 37UPDATE voice_compaign_detail_81932 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 45 UPDATE voice_compaign_detail_81932 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 34 UPDATE voice_compaign_detail_81932 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 16 UPDATE voice_compaign_detail_81932 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`='172', `user_busy_sms`='54', `user_congestion_sms`='16', `user_failed_sms`='222', `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`=81932 LIMIT 1 


Time Diff : 0.442

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764838861'  
Array
(
    [0] => 81933
    [compaign_id] => 81933
    [1] => u29722
    [user_id] => u29722
    [2] => 69090,
    [group_ids] => 69090,
    [3] => 
    [sender_id] => 
    [4] => Kathhera Gurthu Utnur.mp3
    [filename] => Kathhera Gurthu Utnur.mp3
    [5] => 24
    [duration] => 24
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765097798
    [start_date] => 1765097798
    [9] => 0
    [end_date] => 0
    [10] => 442
    [total_sms] => 442
    [11] => 442
    [sent_sms] => 442
    [12] => 0
    [duplicate_sms] => 0
    [13] => 81
    [answered_sms] => 81
    [14] => 22
    [busy_sms] => 22
    [15] => 0
    [congestion_sms] => 0
    [16] => 131
    [failed_sms] => 131
    [17] => 0
    [hangup_sms] => 0
    [18] => 24
    [no_answer_sms] => 24
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 184
    [cutting_sms] => 184
    [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] => 22
    [user_busy_sms] => 22
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 131
    [user_failed_sms] => 131
    [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] => 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] => 1765097798
    [create_date] => 1765097798
    [40] => 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":1765097804,"compaign_read_start_time":1765097807,"compaign_read_complete_time":1765097807,"compaign_send_start_time":1765097821,"compaign_send_complete_time":1765097831}
    [action_time] => {"api_allot_time":1765097804,"compaign_read_start_time":1765097807,"compaign_read_complete_time":1765097807,"compaign_send_start_time":1765097821,"compaign_send_complete_time":1765097831}
    [50] => 0
    [compaign_file] => 0
    [51] => u29722_81933_07122025_022644PM_224
    [common_name] => u29722_81933_07122025_022644PM_224
    [52] => 1765094642_u29722_voice.wav
    [voice_file] => 1765094642_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_69090
    [temp_group_table] => contacts_temp_group_69090
    [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] => 1765098002
    [last_credit_update_time] => 1765098002
    [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 : 81933
\compaign_type : Rans per 27.73594 
ans sms 442
dnd sms 0

require answer perrequire answer per : 123

user answer per : 81
below is the redis data 42 UPDATE voice_compaign_detail_81933 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 42 Total Failed : 142 no_answer_count : 48 Busy count :37 congestion_count : 17 failed_count : 40UPDATE voice_compaign_detail_81933 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 48 UPDATE voice_compaign_detail_81933 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 37 UPDATE voice_compaign_detail_81933 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 17 UPDATE voice_compaign_detail_81933 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 40 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='123', `user_busy_sms`='59', `user_congestion_sms`='17', `user_failed_sms`='171', `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`=81933 LIMIT 1 


Time Diff : 0.477

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764838922'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764838981'  
Array
(
    [0] => 81934
    [compaign_id] => 81934
    [1] => u607
    [user_id] => u607
    [2] => 69091,
    [group_ids] => 69091,
    [3] => 
    [sender_id] => 
    [4] => Vasu Kaka.mp3
    [filename] => Vasu Kaka.mp3
    [5] => 26
    [duration] => 26
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765097921
    [start_date] => 1765097921
    [9] => 0
    [end_date] => 0
    [10] => 1616
    [total_sms] => 1616
    [11] => 1616
    [sent_sms] => 1616
    [12] => 0
    [duplicate_sms] => 0
    [13] => 194
    [answered_sms] => 194
    [14] => 108
    [busy_sms] => 108
    [15] => 0
    [congestion_sms] => 0
    [16] => 260
    [failed_sms] => 260
    [17] => 0
    [hangup_sms] => 0
    [18] => 207
    [no_answer_sms] => 207
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 622
    [cutting_sms] => 622
    [22] => 225
    [dnd_sms] => 225
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 194
    [user_answered_sms] => 194
    [27] => 108
    [user_busy_sms] => 108
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 260
    [user_failed_sms] => 260
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 207
    [user_no_answer_sms] => 207
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 225
    [user_dnd_sms] => 225
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u607
    [created_by] => u607
    [38] => 0
    [isScheduled] => 0
    [39] => 1765097921
    [create_date] => 1765097921
    [40] => 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":1765097928,"compaign_read_start_time":1765097929,"compaign_read_complete_time":1765097933,"compaign_send_start_time":1765097942,"compaign_send_complete_time":1765097945}
    [action_time] => {"api_allot_time":1765097928,"compaign_read_start_time":1765097929,"compaign_read_complete_time":1765097933,"compaign_send_start_time":1765097942,"compaign_send_complete_time":1765097945}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81934_07122025_022848PM_793
    [common_name] => u607_81934_07122025_022848PM_793
    [52] => 1765097921_u607_voice.wav
    [voice_file] => 1765097921_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_69091
    [temp_group_table] => contacts_temp_group_69091
    [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] => 1765098003
    [reschedule_last_check_time] => 1765098003
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765098122
    [last_credit_update_time] => 1765098122
    [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":1765101600,"2":1765105200}
    [rt_time] => {"1":1765101600,"2":1765105200}
    [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 : 81934
\compaign_type : Rans per 29.80349 
ans sms 1616
dnd sms 225

require answer perrequire answer per : 415

user answer per : 194
below is the redis data 221 /n/r
only no answer and busy will be convert, total number require 221 /n/r
UPDATE voice_compaign_detail_81934 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 164 UPDATE voice_compaign_detail_81934 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 164 Total Failed : 399 no_answer_count : 134 Busy count :103 congestion_count : 48 failed_count : 114UPDATE voice_compaign_detail_81934 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 134 UPDATE voice_compaign_detail_81934 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 103 UPDATE voice_compaign_detail_81934 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 48 UPDATE voice_compaign_detail_81934 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`='415', `user_busy_sms`='297', `user_congestion_sms`='48', `user_failed_sms`='269', `user_hangup_sms`='0', `user_no_answer_sms`='362', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='225' WHERE `compaign_id`=81934 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>'1764839042'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764839101'  
Array
(
    [0] => 81894
    [compaign_id] => 81894
    [1] => u607
    [user_id] => u607
    [2] => 69053,
    [group_ids] => 69053,
    [3] => 
    [sender_id] => 
    [4] => k.srinivas_mirdoddi.mp3
    [filename] => k.srinivas_mirdoddi.mp3
    [5] => 31
    [duration] => 31
    [6] => 2
    [credits_per_sms] => 2
    [7] => 30
    [user_pulse] => 30
    [8] => 1765098000
    [start_date] => 1765098000
    [9] => 0
    [end_date] => 0
    [10] => 1289
    [total_sms] => 1289
    [11] => 1289
    [sent_sms] => 1289
    [12] => 0
    [duplicate_sms] => 0
    [13] => 56
    [answered_sms] => 56
    [14] => 64
    [busy_sms] => 64
    [15] => 0
    [congestion_sms] => 0
    [16] => 404
    [failed_sms] => 404
    [17] => 0
    [hangup_sms] => 0
    [18] => 52
    [no_answer_sms] => 52
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 550
    [cutting_sms] => 550
    [22] => 163
    [dnd_sms] => 163
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 56
    [user_answered_sms] => 56
    [27] => 64
    [user_busy_sms] => 64
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 404
    [user_failed_sms] => 404
    [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] => 163
    [user_dnd_sms] => 163
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u607
    [created_by] => u607
    [38] => 1
    [isScheduled] => 1
    [39] => 1765095130
    [create_date] => 1765095130
    [40] => 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":1765098007,"compaign_read_start_time":1765098008,"compaign_read_complete_time":1765098011,"compaign_send_start_time":1765098062,"compaign_send_complete_time":1765098074}
    [action_time] => {"api_allot_time":1765098007,"compaign_read_start_time":1765098008,"compaign_read_complete_time":1765098011,"compaign_send_start_time":1765098062,"compaign_send_complete_time":1765098074}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81894_07122025_023006PM_299
    [common_name] => u607_81894_07122025_023006PM_299
    [52] => 1765090615_u607_voice.wav
    [voice_file] => 1765090615_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_69053
    [temp_group_table] => contacts_temp_group_69053
    [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] => 1765098242
    [last_credit_update_time] => 1765098242
    [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 : 81894
\compaign_type : Rans per 25.52428 
ans sms 1289
dnd sms 163

require answer perrequire answer per : 288

user answer per : 56
below is the redis data 232 /n/r
only no answer and busy will be convert, total number require 232 /n/r
UPDATE voice_compaign_detail_81894 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 181 UPDATE voice_compaign_detail_81894 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 181 Total Failed : 335 no_answer_count : 112 Busy count :86 congestion_count : 40 failed_count : 97UPDATE voice_compaign_detail_81894 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 112 UPDATE voice_compaign_detail_81894 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 86 UPDATE voice_compaign_detail_81894 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 40 UPDATE voice_compaign_detail_81894 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`='172', `user_busy_sms`='267', `user_congestion_sms`='40', `user_failed_sms`='354', `user_hangup_sms`='0', `user_no_answer_sms`='293', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='163' WHERE `compaign_id`=81894 LIMIT 1 


Time Diff : 0.164

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764839161'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764839222'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764839281'  
Array
(
    [0] => 81941
    [compaign_id] => 81941
    [1] => u29720
    [user_id] => u29720
    [2] => 69092,
    [group_ids] => 69092,
    [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] => 1765098127
    [start_date] => 1765098127
    [9] => 0
    [end_date] => 0
    [10] => 1291
    [total_sms] => 1291
    [11] => 1291
    [sent_sms] => 1291
    [12] => 0
    [duplicate_sms] => 0
    [13] => 109
    [answered_sms] => 109
    [14] => 98
    [busy_sms] => 98
    [15] => 1
    [congestion_sms] => 1
    [16] => 206
    [failed_sms] => 206
    [17] => 0
    [hangup_sms] => 0
    [18] => 92
    [no_answer_sms] => 92
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 486
    [cutting_sms] => 486
    [22] => 299
    [dnd_sms] => 299
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 109
    [user_answered_sms] => 109
    [27] => 98
    [user_busy_sms] => 98
    [28] => 1
    [user_congestion_sms] => 1
    [29] => 206
    [user_failed_sms] => 206
    [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] => 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] => 1765098127
    [create_date] => 1765098127
    [40] => 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":1765098133,"compaign_read_start_time":1765098143,"compaign_read_complete_time":1765098147,"compaign_send_start_time":1765098182,"compaign_send_complete_time":1765098185}
    [action_time] => {"api_allot_time":1765098133,"compaign_read_start_time":1765098143,"compaign_read_complete_time":1765098147,"compaign_send_start_time":1765098182,"compaign_send_complete_time":1765098185}
    [50] => 0
    [compaign_file] => 0
    [51] => u29720_81941_07122025_023212PM_954
    [common_name] => u29720_81941_07122025_023212PM_954
    [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_69092
    [temp_group_table] => contacts_temp_group_69092
    [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] => 1765098422
    [last_credit_update_time] => 1765098422
    [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 : 81941
\compaign_type : Rans per 26.02553 
ans sms 1291
dnd sms 299

require answer perrequire answer per : 259

user answer per : 109
below is the redis data 150 UPDATE voice_compaign_detail_81941 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 150 Total Failed : 336 no_answer_count : 113 Busy count :87 congestion_count : 40 failed_count : 96UPDATE voice_compaign_detail_81941 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 113 UPDATE voice_compaign_detail_81941 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 87 UPDATE voice_compaign_detail_81941 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 40 UPDATE voice_compaign_detail_81941 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 96 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='259', `user_busy_sms`='185', `user_congestion_sms`='41', `user_failed_sms`='302', `user_hangup_sms`='0', `user_no_answer_sms`='205', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='299' WHERE `compaign_id`=81941 LIMIT 1 


Time Diff : 0.209

Array
(
    [0] => 81942
    [compaign_id] => 81942
    [1] => u29720
    [user_id] => u29720
    [2] => 69094,
    [group_ids] => 69094,
    [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] => 1765098127
    [start_date] => 1765098127
    [9] => 0
    [end_date] => 0
    [10] => 1324
    [total_sms] => 1324
    [11] => 1324
    [sent_sms] => 1324
    [12] => 0
    [duplicate_sms] => 0
    [13] => 102
    [answered_sms] => 102
    [14] => 94
    [busy_sms] => 94
    [15] => 0
    [congestion_sms] => 0
    [16] => 150
    [failed_sms] => 150
    [17] => 0
    [hangup_sms] => 0
    [18] => 136
    [no_answer_sms] => 136
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 467
    [cutting_sms] => 467
    [22] => 375
    [dnd_sms] => 375
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 102
    [user_answered_sms] => 102
    [27] => 94
    [user_busy_sms] => 94
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 150
    [user_failed_sms] => 150
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 136
    [user_no_answer_sms] => 136
    [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] => 1765098127
    [create_date] => 1765098127
    [40] => 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":1765098133,"compaign_read_start_time":1765098146,"compaign_read_complete_time":1765098148,"compaign_send_start_time":1765098182,"compaign_send_complete_time":1765098185}
    [action_time] => {"api_allot_time":1765098133,"compaign_read_start_time":1765098146,"compaign_read_complete_time":1765098148,"compaign_send_start_time":1765098182,"compaign_send_complete_time":1765098185}
    [50] => 0
    [compaign_file] => 0
    [51] => u29720_81942_07122025_023212PM_433
    [common_name] => u29720_81942_07122025_023212PM_433
    [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_69094
    [temp_group_table] => contacts_temp_group_69094
    [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] => 1765098422
    [last_credit_update_time] => 1765098422
    [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 : 81942
\compaign_type : Rans per 25.50739 
ans sms 1324
dnd sms 375

require answer perrequire answer per : 243

user answer per : 102
below is the redis data 141 UPDATE voice_compaign_detail_81942 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 141 Total Failed : 326 no_answer_count : 109 Busy count :84 congestion_count : 39 failed_count : 94UPDATE voice_compaign_detail_81942 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 109 UPDATE voice_compaign_detail_81942 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 84 UPDATE voice_compaign_detail_81942 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 39 UPDATE voice_compaign_detail_81942 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`='243', `user_busy_sms`='178', `user_congestion_sms`='39', `user_failed_sms`='244', `user_hangup_sms`='0', `user_no_answer_sms`='245', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='375' WHERE `compaign_id`=81942 LIMIT 1 


Time Diff : 0.205

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764839341'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764839402'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764839461'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764839522'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764839582'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764839641'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764839701'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764839761'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764839823'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764839882'  
Array
(
    [0] => 81949
    [compaign_id] => 81949
    [1] => u29722
    [user_id] => u29722
    [2] => 69101,
    [group_ids] => 69101,
    [3] => 
    [sender_id] => 
    [4] => Kathhera Gurthu Utnur.mp3
    [filename] => Kathhera Gurthu Utnur.mp3
    [5] => 24
    [duration] => 24
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765098727
    [start_date] => 1765098727
    [9] => 0
    [end_date] => 0
    [10] => 319
    [total_sms] => 319
    [11] => 319
    [sent_sms] => 319
    [12] => 0
    [duplicate_sms] => 0
    [13] => 44
    [answered_sms] => 44
    [14] => 16
    [busy_sms] => 16
    [15] => 0
    [congestion_sms] => 0
    [16] => 135
    [failed_sms] => 135
    [17] => 0
    [hangup_sms] => 0
    [18] => 16
    [no_answer_sms] => 16
    [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] => 44
    [user_answered_sms] => 44
    [27] => 16
    [user_busy_sms] => 16
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 135
    [user_failed_sms] => 135
    [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] => 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] => 1765098727
    [create_date] => 1765098727
    [40] => 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":1765098732,"compaign_read_start_time":1765098733,"compaign_read_complete_time":1765098734,"compaign_send_start_time":1765098782,"compaign_send_complete_time":1765098783}
    [action_time] => {"api_allot_time":1765098732,"compaign_read_start_time":1765098733,"compaign_read_complete_time":1765098734,"compaign_send_start_time":1765098782,"compaign_send_complete_time":1765098783}
    [50] => 0
    [compaign_file] => 0
    [51] => u29722_81949_07122025_024212PM_872
    [common_name] => u29722_81949_07122025_024212PM_872
    [52] => 1765094642_u29722_voice.wav
    [voice_file] => 1765094642_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_69101
    [temp_group_table] => contacts_temp_group_69101
    [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] => 1765099023
    [last_credit_update_time] => 1765099023
    [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 : 81949
\compaign_type : Rans per 30.78829 
ans sms 319
dnd sms 0

require answer perrequire answer per : 99

user answer per : 44
below is the redis data 55 UPDATE voice_compaign_detail_81949 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 55 Total Failed : 53 no_answer_count : 18 Busy count :14 congestion_count : 7 failed_count : 14UPDATE voice_compaign_detail_81949 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 18 UPDATE voice_compaign_detail_81949 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 14 UPDATE voice_compaign_detail_81949 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 7 UPDATE voice_compaign_detail_81949 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`='99', `user_busy_sms`='30', `user_congestion_sms`='7', `user_failed_sms`='149', `user_hangup_sms`='0', `user_no_answer_sms`='34', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81949 LIMIT 1 


Time Diff : 0.765

Array
(
    [0] => 81950
    [compaign_id] => 81950
    [1] => u29720
    [user_id] => u29720
    [2] => 69099,
    [group_ids] => 69099,
    [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] => 1765098730
    [start_date] => 1765098730
    [9] => 0
    [end_date] => 0
    [10] => 1032
    [total_sms] => 1032
    [11] => 1032
    [sent_sms] => 1032
    [12] => 0
    [duplicate_sms] => 0
    [13] => 45
    [answered_sms] => 45
    [14] => 69
    [busy_sms] => 69
    [15] => 0
    [congestion_sms] => 0
    [16] => 183
    [failed_sms] => 183
    [17] => 0
    [hangup_sms] => 0
    [18] => 86
    [no_answer_sms] => 86
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 350
    [cutting_sms] => 350
    [22] => 299
    [dnd_sms] => 299
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 45
    [user_answered_sms] => 45
    [27] => 69
    [user_busy_sms] => 69
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 183
    [user_failed_sms] => 183
    [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] => 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] => 1765098730
    [create_date] => 1765098730
    [40] => 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":1765098736,"compaign_read_start_time":1765098736,"compaign_read_complete_time":1765098738,"compaign_send_start_time":1765098782,"compaign_send_complete_time":1765098784}
    [action_time] => {"api_allot_time":1765098736,"compaign_read_start_time":1765098736,"compaign_read_complete_time":1765098738,"compaign_send_start_time":1765098782,"compaign_send_complete_time":1765098784}
    [50] => 0
    [compaign_file] => 0
    [51] => u29720_81950_07122025_024216PM_383
    [common_name] => u29720_81950_07122025_024216PM_383
    [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_69099
    [temp_group_table] => contacts_temp_group_69099
    [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] => 1765099023
    [last_credit_update_time] => 1765099023
    [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 : 81950
\compaign_type : Rans per 26.25946 
ans sms 1032
dnd sms 299

require answer perrequire answer per : 193

user answer per : 45
below is the redis data 148 UPDATE voice_compaign_detail_81950 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 148 Total Failed : 202 no_answer_count : 68 Busy count :52 congestion_count : 24 failed_count : 58UPDATE voice_compaign_detail_81950 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 68 UPDATE voice_compaign_detail_81950 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 52 UPDATE voice_compaign_detail_81950 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 24 UPDATE voice_compaign_detail_81950 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 58 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='193', `user_busy_sms`='121', `user_congestion_sms`='24', `user_failed_sms`='241', `user_hangup_sms`='0', `user_no_answer_sms`='154', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='299' WHERE `compaign_id`=81950 LIMIT 1 


Time Diff : 0.236

Array
(
    [0] => 81951
    [compaign_id] => 81951
    [1] => u29720
    [user_id] => u29720
    [2] => 69100,
    [group_ids] => 69100,
    [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] => 1765098730
    [start_date] => 1765098730
    [9] => 0
    [end_date] => 0
    [10] => 1081
    [total_sms] => 1081
    [11] => 1081
    [sent_sms] => 1081
    [12] => 0
    [duplicate_sms] => 0
    [13] => 62
    [answered_sms] => 62
    [14] => 81
    [busy_sms] => 81
    [15] => 0
    [congestion_sms] => 0
    [16] => 142
    [failed_sms] => 142
    [17] => 0
    [hangup_sms] => 0
    [18] => 101
    [no_answer_sms] => 101
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 320
    [cutting_sms] => 320
    [22] => 375
    [dnd_sms] => 375
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 62
    [user_answered_sms] => 62
    [27] => 81
    [user_busy_sms] => 81
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 142
    [user_failed_sms] => 142
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 101
    [user_no_answer_sms] => 101
    [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] => 1765098730
    [create_date] => 1765098730
    [40] => 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":1765098736,"compaign_read_start_time":1765098739,"compaign_read_complete_time":1765098741,"compaign_send_start_time":1765098782,"compaign_send_complete_time":1765098784}
    [action_time] => {"api_allot_time":1765098736,"compaign_read_start_time":1765098739,"compaign_read_complete_time":1765098741,"compaign_send_start_time":1765098782,"compaign_send_complete_time":1765098784}
    [50] => 0
    [compaign_file] => 0
    [51] => u29720_81951_07122025_024216PM_579
    [common_name] => u29720_81951_07122025_024216PM_579
    [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_69100
    [temp_group_table] => contacts_temp_group_69100
    [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] => 1765099023
    [last_credit_update_time] => 1765099023
    [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 : 81951
\compaign_type : Rans per 25.80565 
ans sms 1081
dnd sms 375

require answer perrequire answer per : 183

user answer per : 62
below is the redis data 121 UPDATE voice_compaign_detail_81951 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 121 Total Failed : 199 no_answer_count : 67 Busy count :52 congestion_count : 24 failed_count : 56UPDATE voice_compaign_detail_81951 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 67 UPDATE voice_compaign_detail_81951 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 52 UPDATE voice_compaign_detail_81951 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 24 UPDATE voice_compaign_detail_81951 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`='183', `user_busy_sms`='133', `user_congestion_sms`='24', `user_failed_sms`='198', `user_hangup_sms`='0', `user_no_answer_sms`='168', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='375' WHERE `compaign_id`=81951 LIMIT 1 


Time Diff : 0.227

Array
(
    [0] => 81952
    [compaign_id] => 81952
    [1] => u607
    [user_id] => u607
    [2] => 69102,
    [group_ids] => 69102,
    [3] => 
    [sender_id] => 
    [4] => LAVAYANA.mp3
    [filename] => LAVAYANA.mp3
    [5] => 28
    [duration] => 28
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765098779
    [start_date] => 1765098779
    [9] => 0
    [end_date] => 0
    [10] => 1285
    [total_sms] => 1285
    [11] => 1285
    [sent_sms] => 1285
    [12] => 0
    [duplicate_sms] => 0
    [13] => 151
    [answered_sms] => 151
    [14] => 71
    [busy_sms] => 71
    [15] => 0
    [congestion_sms] => 0
    [16] => 300
    [failed_sms] => 300
    [17] => 0
    [hangup_sms] => 0
    [18] => 94
    [no_answer_sms] => 94
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 514
    [cutting_sms] => 514
    [22] => 155
    [dnd_sms] => 155
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 151
    [user_answered_sms] => 151
    [27] => 71
    [user_busy_sms] => 71
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 300
    [user_failed_sms] => 300
    [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] => 155
    [user_dnd_sms] => 155
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u607
    [created_by] => u607
    [38] => 0
    [isScheduled] => 0
    [39] => 1765098779
    [create_date] => 1765098779
    [40] => 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":1765098784,"compaign_read_start_time":1765098785,"compaign_read_complete_time":1765098787,"compaign_send_start_time":1765098842,"compaign_send_complete_time":1765098845}
    [action_time] => {"api_allot_time":1765098784,"compaign_read_start_time":1765098785,"compaign_read_complete_time":1765098787,"compaign_send_start_time":1765098842,"compaign_send_complete_time":1765098845}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81952_07122025_024304PM_664
    [common_name] => u607_81952_07122025_024304PM_664
    [52] => 1765098778_u607_voice.wav
    [voice_file] => 1765098778_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_69102
    [temp_group_table] => contacts_temp_group_69102
    [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] => 1765098903
    [reschedule_last_check_time] => 1765098903
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765099023
    [last_credit_update_time] => 1765099023
    [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":1765102500,"2":1765106100}
    [rt_time] => {"1":1765102500,"2":1765106100}
    [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 : 81952
\compaign_type : Rans per 28.93104 
ans sms 1285
dnd sms 155

require answer perrequire answer per : 327

user answer per : 151
below is the redis data 176 /n/r
only no answer and busy will be convert, total number require 176 /n/r
UPDATE voice_compaign_detail_81952 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_81952 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 : 351 no_answer_count : 118 Busy count :91 congestion_count : 42 failed_count : 100UPDATE voice_compaign_detail_81952 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 118 UPDATE voice_compaign_detail_81952 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 91 UPDATE voice_compaign_detail_81952 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 42 UPDATE voice_compaign_detail_81952 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 100 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='316', `user_busy_sms`='232', `user_congestion_sms`='42', `user_failed_sms`='281', `user_hangup_sms`='0', `user_no_answer_sms`='259', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='155' WHERE `compaign_id`=81952 LIMIT 1 


Time Diff : 0.166

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764839941'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764840001'  
Array
(
    [0] => 81953
    [compaign_id] => 81953
    [1] => u607
    [user_id] => u607
    [2] => 69103,
    [group_ids] => 69103,
    [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] => 1765098862
    [start_date] => 1765098862
    [9] => 0
    [end_date] => 0
    [10] => 2437
    [total_sms] => 2437
    [11] => 2437
    [sent_sms] => 2437
    [12] => 0
    [duplicate_sms] => 0
    [13] => 238
    [answered_sms] => 238
    [14] => 180
    [busy_sms] => 180
    [15] => 0
    [congestion_sms] => 0
    [16] => 231
    [failed_sms] => 231
    [17] => 0
    [hangup_sms] => 0
    [18] => 293
    [no_answer_sms] => 293
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 908
    [cutting_sms] => 908
    [22] => 587
    [dnd_sms] => 587
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 238
    [user_answered_sms] => 238
    [27] => 180
    [user_busy_sms] => 180
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 231
    [user_failed_sms] => 231
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 293
    [user_no_answer_sms] => 293
    [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] => 1765098861
    [create_date] => 1765098861
    [40] => 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":1765098868,"compaign_read_start_time":1765098871,"compaign_read_complete_time":1765098875,"compaign_send_start_time":1765098902,"compaign_send_complete_time":1765098911}
    [action_time] => {"api_allot_time":1765098868,"compaign_read_start_time":1765098871,"compaign_read_complete_time":1765098875,"compaign_send_start_time":1765098902,"compaign_send_complete_time":1765098911}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81953_07122025_024427PM_847
    [common_name] => u607_81953_07122025_024427PM_847
    [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_69103
    [temp_group_table] => contacts_temp_group_69103
    [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] => 1765099141
    [last_credit_update_time] => 1765099141
    [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":1765102500}
    [rt_time] => {"1":1765102500}
    [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,sr95,u607
    [uphierarchy] => admin,sr95,u607
    [113] => 
    [extra_params_json] => 
)


Compaign : 81953
\compaign_type : Rans per 30.40375 
ans sms 2437
dnd sms 587

require answer perrequire answer per : 563

user answer per : 238
below is the redis data 325 /n/r
only no answer and busy will be convert, total number require 325 /n/r
UPDATE voice_compaign_detail_81953 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 231 UPDATE voice_compaign_detail_81953 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 231 Total Failed : 542 no_answer_count : 181 Busy count :140 congestion_count : 65 failed_count : 156UPDATE voice_compaign_detail_81953 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 181 UPDATE voice_compaign_detail_81953 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 140 UPDATE voice_compaign_detail_81953 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 65 UPDATE voice_compaign_detail_81953 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 156 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='563', `user_busy_sms`='431', `user_congestion_sms`='65', `user_failed_sms`='291', `user_hangup_sms`='0', `user_no_answer_sms`='500', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='587' WHERE `compaign_id`=81953 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>'1764840062'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764840122'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764840182'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764840241'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764840302'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764840361'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764840421'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764840482'  
Array
(
    [0] => 81959
    [compaign_id] => 81959
    [1] => u29722
    [user_id] => u29722
    [2] => 69112,
    [group_ids] => 69112,
    [3] => 
    [sender_id] => 
    [4] => Ranjith Chityal.mp3
    [filename] => Ranjith Chityal.mp3
    [5] => 18
    [duration] => 18
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765099326
    [start_date] => 1765099326
    [9] => 0
    [end_date] => 0
    [10] => 382
    [total_sms] => 382
    [11] => 382
    [sent_sms] => 382
    [12] => 0
    [duplicate_sms] => 0
    [13] => 29
    [answered_sms] => 29
    [14] => 20
    [busy_sms] => 20
    [15] => 0
    [congestion_sms] => 0
    [16] => 158
    [failed_sms] => 158
    [17] => 0
    [hangup_sms] => 0
    [18] => 27
    [no_answer_sms] => 27
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 148
    [cutting_sms] => 148
    [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] => 20
    [user_busy_sms] => 20
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 158
    [user_failed_sms] => 158
    [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] => u29722
    [created_by] => u29722
    [38] => 0
    [isScheduled] => 0
    [39] => 1765099326
    [create_date] => 1765099326
    [40] => 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":1765099333,"compaign_read_start_time":1765099333,"compaign_read_complete_time":1765099334,"compaign_send_start_time":1765099382,"compaign_send_complete_time":1765099384}
    [action_time] => {"api_allot_time":1765099333,"compaign_read_start_time":1765099333,"compaign_read_complete_time":1765099334,"compaign_send_start_time":1765099382,"compaign_send_complete_time":1765099384}
    [50] => 0
    [compaign_file] => 0
    [51] => u29722_81959_07122025_025212PM_709
    [common_name] => u29722_81959_07122025_025212PM_709
    [52] => 1765097677_u29722_voice.wav
    [voice_file] => 1765097677_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_69112
    [temp_group_table] => contacts_temp_group_69112
    [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] => 1765099621
    [last_credit_update_time] => 1765099621
    [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 : 81959
\compaign_type : Rans per 26.21147 
ans sms 382
dnd sms 0

require answer perrequire answer per : 101

user answer per : 29
below is the redis data 72 UPDATE voice_compaign_detail_81959 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 72 Total Failed : 76 no_answer_count : 26 Busy count :20 congestion_count : 10 failed_count : 20UPDATE voice_compaign_detail_81959 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 26 UPDATE voice_compaign_detail_81959 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 20 UPDATE voice_compaign_detail_81959 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 10 UPDATE voice_compaign_detail_81959 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`='101', `user_busy_sms`='40', `user_congestion_sms`='10', `user_failed_sms`='178', `user_hangup_sms`='0', `user_no_answer_sms`='53', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81959 LIMIT 1 


Time Diff : 0.639

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764840542'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764840601'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764840662'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764840722'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764840781'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764840841'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764840902'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764840961'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764841022'  
Array
(
    [0] => 81919
    [compaign_id] => 81919
    [1] => u607
    [user_id] => u607
    [2] => 69080,
    [group_ids] => 69080,
    [3] => 
    [sender_id] => 
    [4] => babureddy_somaram.mp3
    [filename] => babureddy_somaram.mp3
    [5] => 19
    [duration] => 19
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765099800
    [start_date] => 1765099800
    [9] => 0
    [end_date] => 0
    [10] => 1379
    [total_sms] => 1379
    [11] => 1379
    [sent_sms] => 1379
    [12] => 0
    [duplicate_sms] => 0
    [13] => 42
    [answered_sms] => 42
    [14] => 26
    [busy_sms] => 26
    [15] => 0
    [congestion_sms] => 0
    [16] => 387
    [failed_sms] => 387
    [17] => 0
    [hangup_sms] => 0
    [18] => 43
    [no_answer_sms] => 43
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 463
    [cutting_sms] => 463
    [22] => 418
    [dnd_sms] => 418
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 42
    [user_answered_sms] => 42
    [27] => 26
    [user_busy_sms] => 26
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 387
    [user_failed_sms] => 387
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 43
    [user_no_answer_sms] => 43
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 418
    [user_dnd_sms] => 418
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u607
    [created_by] => u607
    [38] => 1
    [isScheduled] => 1
    [39] => 1765096927
    [create_date] => 1765096927
    [40] => 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":1765099806,"compaign_read_start_time":1765099862,"compaign_read_complete_time":1765099864,"compaign_send_start_time":1765099922,"compaign_send_complete_time":1765099928}
    [action_time] => {"api_allot_time":1765099806,"compaign_read_start_time":1765099862,"compaign_read_complete_time":1765099864,"compaign_send_start_time":1765099922,"compaign_send_complete_time":1765099928}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81919_07122025_030005PM_230
    [common_name] => u607_81919_07122025_030005PM_230
    [52] => 1765093395_u607_voice.wav
    [voice_file] => 1765093395_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_69080
    [temp_group_table] => contacts_temp_group_69080
    [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] => 1765100161
    [last_credit_update_time] => 1765100161
    [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 : 81919
\compaign_type : Rans per 29.00453 
ans sms 1379
dnd sms 418

require answer perrequire answer per : 279

user answer per : 42
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_81919 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 178 UPDATE voice_compaign_detail_81919 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 178 Total Failed : 270 no_answer_count : 91 Busy count :70 congestion_count : 33 failed_count : 76UPDATE voice_compaign_detail_81919 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 91 UPDATE voice_compaign_detail_81919 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 70 UPDATE voice_compaign_detail_81919 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 33 UPDATE voice_compaign_detail_81919 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`='111', `user_busy_sms`='248', `user_congestion_sms`='33', `user_failed_sms`='300', `user_hangup_sms`='0', `user_no_answer_sms`='269', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='418' WHERE `compaign_id`=81919 LIMIT 1 


Time Diff : 0.177

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764841083'  
Array
(
    [0] => 81968
    [compaign_id] => 81968
    [1] => u83
    [user_id] => u83
    [2] => 69119,
    [group_ids] => 69119,
    [3] => 
    [sender_id] => 
    [4] => cheriyal_sarpanch.mp3
    [filename] => cheriyal_sarpanch.mp3
    [5] => 19
    [duration] => 19
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765099929
    [start_date] => 1765099929
    [9] => 0
    [end_date] => 0
    [10] => 650
    [total_sms] => 650
    [11] => 650
    [sent_sms] => 650
    [12] => 0
    [duplicate_sms] => 0
    [13] => 91
    [answered_sms] => 91
    [14] => 51
    [busy_sms] => 51
    [15] => 0
    [congestion_sms] => 0
    [16] => 65
    [failed_sms] => 65
    [17] => 0
    [hangup_sms] => 0
    [18] => 77
    [no_answer_sms] => 77
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 217
    [cutting_sms] => 217
    [22] => 149
    [dnd_sms] => 149
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 91
    [user_answered_sms] => 91
    [27] => 51
    [user_busy_sms] => 51
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 65
    [user_failed_sms] => 65
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 77
    [user_no_answer_sms] => 77
    [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] => u83
    [created_by] => u83
    [38] => 0
    [isScheduled] => 0
    [39] => 1765099929
    [create_date] => 1765099929
    [40] => 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":1765099935,"compaign_read_start_time":1765099937,"compaign_read_complete_time":1765099938,"compaign_send_start_time":1765099982,"compaign_send_complete_time":1765099983}
    [action_time] => {"api_allot_time":1765099935,"compaign_read_start_time":1765099937,"compaign_read_complete_time":1765099938,"compaign_send_start_time":1765099982,"compaign_send_complete_time":1765099983}
    [50] => 0
    [compaign_file] => 0
    [51] => u83_81968_07122025_030214PM_633
    [common_name] => u83_81968_07122025_030214PM_633
    [52] => 1765002393_u83_voice.wav
    [voice_file] => 1765002393_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_69119
    [temp_group_table] => contacts_temp_group_69119
    [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] => 1765100222
    [last_credit_update_time] => 1765100222
    [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 : 81968
\compaign_type : Rans per 27.10691 
ans sms 650
dnd sms 149

require answer perrequire answer per : 136

user answer per : 91
below is the redis data 45 /n/r
only no answer and busy will be convert, total number require 45 /n/r
UPDATE voice_compaign_detail_81968 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_81968 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 : 164 no_answer_count : 55 Busy count :43 congestion_count : 20 failed_count : 46UPDATE voice_compaign_detail_81968 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 55 UPDATE voice_compaign_detail_81968 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 43 UPDATE voice_compaign_detail_81968 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 20 UPDATE voice_compaign_detail_81968 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 46 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='136', `user_busy_sms`='105', `user_congestion_sms`='20', `user_failed_sms`='96', `user_hangup_sms`='0', `user_no_answer_sms`='144', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='149' WHERE `compaign_id`=81968 LIMIT 1 


Time Diff : 0.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>'1764841141'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764841202'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764841262'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764841321'  
Array
(
    [0] => 81969
    [compaign_id] => 81969
    [1] => u607
    [user_id] => u607
    [2] => 69120,
    [group_ids] => 69120,
    [3] => 
    [sender_id] => 
    [4] => anji reddy.mp3
    [filename] => anji reddy.mp3
    [5] => 69
    [duration] => 69
    [6] => 3
    [credits_per_sms] => 3
    [7] => 30
    [user_pulse] => 30
    [8] => 1765100167
    [start_date] => 1765100167
    [9] => 0
    [end_date] => 0
    [10] => 1898
    [total_sms] => 1898
    [11] => 1898
    [sent_sms] => 1898
    [12] => 0
    [duplicate_sms] => 0
    [13] => 217
    [answered_sms] => 217
    [14] => 179
    [busy_sms] => 179
    [15] => 0
    [congestion_sms] => 0
    [16] => 251
    [failed_sms] => 251
    [17] => 0
    [hangup_sms] => 0
    [18] => 179
    [no_answer_sms] => 179
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 872
    [cutting_sms] => 872
    [22] => 200
    [dnd_sms] => 200
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 217
    [user_answered_sms] => 217
    [27] => 179
    [user_busy_sms] => 179
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 251
    [user_failed_sms] => 251
    [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] => 200
    [user_dnd_sms] => 200
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u607
    [created_by] => u607
    [38] => 0
    [isScheduled] => 0
    [39] => 1765100166
    [create_date] => 1765100166
    [40] => 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":1765100174,"compaign_read_start_time":1765100176,"compaign_read_complete_time":1765100180,"compaign_send_start_time":1765100222,"compaign_send_complete_time":1765100226}
    [action_time] => {"api_allot_time":1765100174,"compaign_read_start_time":1765100176,"compaign_read_complete_time":1765100180,"compaign_send_start_time":1765100222,"compaign_send_complete_time":1765100226}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81969_07122025_030613PM_434
    [common_name] => u607_81969_07122025_030613PM_434
    [52] => 1765100166_u607_voice.wav
    [voice_file] => 1765100166_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_69120
    [temp_group_table] => contacts_temp_group_69120
    [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] => 1765100403
    [reschedule_last_check_time] => 1765100403
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765100462
    [last_credit_update_time] => 1765100462
    [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":1765103400,"2":1765107000}
    [rt_time] => {"1":1765103400,"2":1765107000}
    [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,sr95,u607
    [uphierarchy] => admin,sr95,u607
    [113] => 
    [extra_params_json] => 
)


Compaign : 81969
\compaign_type : Rans per 30.92248 
ans sms 1898
dnd sms 200

require answer perrequire answer per : 526

user answer per : 217
below is the redis data 309 /n/r
only no answer and busy will be convert, total number require 309 /n/r
UPDATE voice_compaign_detail_81969 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 245 UPDATE voice_compaign_detail_81969 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 245 Total Failed : 469 no_answer_count : 157 Busy count :121 congestion_count : 56 failed_count : 135UPDATE voice_compaign_detail_81969 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 157 UPDATE voice_compaign_detail_81969 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 121 UPDATE voice_compaign_detail_81969 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 56 UPDATE voice_compaign_detail_81969 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 135 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='526', `user_busy_sms`='392', `user_congestion_sms`='56', `user_failed_sms`='299', `user_hangup_sms`='0', `user_no_answer_sms`='425', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='200' WHERE `compaign_id`=81969 LIMIT 1 


Time Diff : 0.142

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764841381'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764841441'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764841501'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764841562'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764841621'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764841681'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764841741'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764841801'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764841862'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764841921'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764841982'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764842042'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764842101'  
Array
(
    [0] => 81975
    [compaign_id] => 81975
    [1] => u29720
    [user_id] => u29720
    [2] => 69124,
    [group_ids] => 69124,
    [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] => 1765100948
    [start_date] => 1765100948
    [9] => 0
    [end_date] => 0
    [10] => 370
    [total_sms] => 370
    [11] => 370
    [sent_sms] => 370
    [12] => 0
    [duplicate_sms] => 0
    [13] => 68
    [answered_sms] => 68
    [14] => 29
    [busy_sms] => 29
    [15] => 0
    [congestion_sms] => 0
    [16] => 41
    [failed_sms] => 41
    [17] => 0
    [hangup_sms] => 0
    [18] => 64
    [no_answer_sms] => 64
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 124
    [cutting_sms] => 124
    [22] => 44
    [dnd_sms] => 44
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 68
    [user_answered_sms] => 68
    [27] => 29
    [user_busy_sms] => 29
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 41
    [user_failed_sms] => 41
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 64
    [user_no_answer_sms] => 64
    [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] => 1765100948
    [create_date] => 1765100948
    [40] => 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":1765100954,"compaign_read_start_time":1765100956,"compaign_read_complete_time":1765100957,"compaign_send_start_time":1765101002,"compaign_send_complete_time":1765101003}
    [action_time] => {"api_allot_time":1765100954,"compaign_read_start_time":1765100956,"compaign_read_complete_time":1765100957,"compaign_send_start_time":1765101002,"compaign_send_complete_time":1765101003}
    [50] => 0
    [compaign_file] => 0
    [51] => u29720_81975_07122025_031913PM_676
    [common_name] => u29720_81975_07122025_031913PM_676
    [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_69124
    [temp_group_table] => contacts_temp_group_69124
    [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] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765101242
    [last_credit_update_time] => 1765101242
    [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 : 81975
\compaign_type : Rans per 26.39981 
ans sms 370
dnd sms 44

require answer perrequire answer per : 87

user answer per : 68
below is the redis data 19 UPDATE voice_compaign_detail_81975 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 19 Total Failed : 105 no_answer_count : 36 Busy count :27 congestion_count : 13 failed_count : 29UPDATE voice_compaign_detail_81975 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 36 UPDATE voice_compaign_detail_81975 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 27 UPDATE voice_compaign_detail_81975 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 13 UPDATE voice_compaign_detail_81975 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`='87', `user_busy_sms`='56', `user_congestion_sms`='13', `user_failed_sms`='70', `user_hangup_sms`='0', `user_no_answer_sms`='100', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='44' WHERE `compaign_id`=81975 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>'1764842162'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764842221'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764842281'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764842342'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764842401'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764842462'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764842521'  
Array
(
    [0] => 81983
    [compaign_id] => 81983
    [1] => u29720
    [user_id] => u29720
    [2] => 69131,
    [group_ids] => 69131,
    [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] => 1765101422
    [start_date] => 1765101422
    [9] => 0
    [end_date] => 0
    [10] => 283
    [total_sms] => 283
    [11] => 283
    [sent_sms] => 283
    [12] => 0
    [duplicate_sms] => 0
    [13] => 35
    [answered_sms] => 35
    [14] => 35
    [busy_sms] => 35
    [15] => 0
    [congestion_sms] => 0
    [16] => 45
    [failed_sms] => 45
    [17] => 0
    [hangup_sms] => 0
    [18] => 50
    [no_answer_sms] => 50
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 74
    [cutting_sms] => 74
    [22] => 44
    [dnd_sms] => 44
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 35
    [user_answered_sms] => 35
    [27] => 35
    [user_busy_sms] => 35
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 45
    [user_failed_sms] => 45
    [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] => 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] => 1765101422
    [create_date] => 1765101422
    [40] => 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":1765101428,"compaign_read_start_time":1765101430,"compaign_read_complete_time":1765101431,"compaign_send_start_time":1765101482,"compaign_send_complete_time":1765101483}
    [action_time] => {"api_allot_time":1765101428,"compaign_read_start_time":1765101430,"compaign_read_complete_time":1765101431,"compaign_send_start_time":1765101482,"compaign_send_complete_time":1765101483}
    [50] => 0
    [compaign_file] => 0
    [51] => u29720_81983_07122025_032707PM_326
    [common_name] => u29720_81983_07122025_032707PM_326
    [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_69131
    [temp_group_table] => contacts_temp_group_69131
    [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] => 1765101662
    [last_credit_update_time] => 1765101662
    [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 : 81983
\compaign_type : Rans per 30.66764 
ans sms 283
dnd sms 44

require answer perrequire answer per : 74

user answer per : 35
below is the redis data 39 UPDATE voice_compaign_detail_81983 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 39 Total Failed : 35 no_answer_count : 12 Busy count :9 congestion_count : 5 failed_count : 9UPDATE voice_compaign_detail_81983 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 12 UPDATE voice_compaign_detail_81983 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 9 UPDATE voice_compaign_detail_81983 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 5 UPDATE voice_compaign_detail_81983 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`='74', `user_busy_sms`='44', `user_congestion_sms`='5', `user_failed_sms`='54', `user_hangup_sms`='0', `user_no_answer_sms`='62', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='44' WHERE `compaign_id`=81983 LIMIT 1 


Time Diff : 0.643

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764842581'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764842642'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764842701'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764842761'  
Array
(
    [0] => 81948
    [compaign_id] => 81948
    [1] => u607
    [user_id] => u607
    [2] => 69098,
    [group_ids] => 69098,
    [3] => 
    [sender_id] => 
    [4] => Vasu Kaka.mp3
    [filename] => Vasu Kaka.mp3
    [5] => 26
    [duration] => 26
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765101600
    [start_date] => 1765101600
    [9] => 0
    [end_date] => 0
    [10] => 1201
    [total_sms] => 1201
    [11] => 1201
    [sent_sms] => 1201
    [12] => 0
    [duplicate_sms] => 0
    [13] => 95
    [answered_sms] => 95
    [14] => 67
    [busy_sms] => 67
    [15] => 0
    [congestion_sms] => 0
    [16] => 222
    [failed_sms] => 222
    [17] => 0
    [hangup_sms] => 0
    [18] => 103
    [no_answer_sms] => 103
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 489
    [cutting_sms] => 489
    [22] => 225
    [dnd_sms] => 225
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 95
    [user_answered_sms] => 95
    [27] => 67
    [user_busy_sms] => 67
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 222
    [user_failed_sms] => 222
    [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] => 225
    [user_dnd_sms] => 225
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u607
    [created_by] => u607
    [38] => 1
    [isScheduled] => 1
    [39] => 1765098427
    [create_date] => 1765098427
    [40] => 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":1765101606,"compaign_read_start_time":1765101607,"compaign_read_complete_time":1765101609,"compaign_send_start_time":1765101662,"compaign_send_complete_time":1765101664}
    [action_time] => {"api_allot_time":1765101606,"compaign_read_start_time":1765101607,"compaign_read_complete_time":1765101609,"compaign_send_start_time":1765101662,"compaign_send_complete_time":1765101664}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81948_07122025_033005PM_664
    [common_name] => u607_81948_07122025_033005PM_664
    [52] => 1765097921_u607_voice.wav
    [voice_file] => 1765097921_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_69098
    [temp_group_table] => contacts_temp_group_69098
    [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] => 1765101901
    [last_credit_update_time] => 1765101901
    [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 : 81948
\compaign_type : Rans per 26.19505 
ans sms 1201
dnd sms 225

require answer perrequire answer per : 256

user answer per : 95
below is the redis data 161 /n/r
only no answer and busy will be convert, total number require 161 /n/r
UPDATE voice_compaign_detail_81948 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 126 UPDATE voice_compaign_detail_81948 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 126 Total Failed : 317 no_answer_count : 106 Busy count :82 congestion_count : 38 failed_count : 91UPDATE voice_compaign_detail_81948 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 106 UPDATE voice_compaign_detail_81948 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 82 UPDATE voice_compaign_detail_81948 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 38 UPDATE voice_compaign_detail_81948 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 91 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='256', `user_busy_sms`='211', `user_congestion_sms`='38', `user_failed_sms`='233', `user_hangup_sms`='0', `user_no_answer_sms`='238', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='225' WHERE `compaign_id`=81948 LIMIT 1 


Time Diff : 0.226

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764842821'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764842881'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764842941'  
Array
(
    [0] => 81990
    [compaign_id] => 81990
    [1] => u179
    [user_id] => u179
    [2] => 69132,
    [group_ids] => 69132,
    [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] => 1765101788
    [start_date] => 1765101788
    [9] => 0
    [end_date] => 0
    [10] => 518
    [total_sms] => 518
    [11] => 518
    [sent_sms] => 518
    [12] => 0
    [duplicate_sms] => 0
    [13] => 88
    [answered_sms] => 88
    [14] => 75
    [busy_sms] => 75
    [15] => 0
    [congestion_sms] => 0
    [16] => 30
    [failed_sms] => 30
    [17] => 0
    [hangup_sms] => 0
    [18] => 63
    [no_answer_sms] => 63
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 185
    [cutting_sms] => 185
    [22] => 77
    [dnd_sms] => 77
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 88
    [user_answered_sms] => 88
    [27] => 75
    [user_busy_sms] => 75
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 30
    [user_failed_sms] => 30
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 63
    [user_no_answer_sms] => 63
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 77
    [user_dnd_sms] => 77
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u179
    [created_by] => u179
    [38] => 0
    [isScheduled] => 0
    [39] => 1765101788
    [create_date] => 1765101788
    [40] => 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":1765101794,"compaign_read_start_time":1765101796,"compaign_read_complete_time":1765101797,"compaign_send_start_time":1765101842,"compaign_send_complete_time":1765101844}
    [action_time] => {"api_allot_time":1765101794,"compaign_read_start_time":1765101796,"compaign_read_complete_time":1765101797,"compaign_send_start_time":1765101842,"compaign_send_complete_time":1765101844}
    [50] => 0
    [compaign_file] => 0
    [51] => u179_81990_07122025_033314PM_743
    [common_name] => u179_81990_07122025_033314PM_743
    [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_69132
    [temp_group_table] => contacts_temp_group_69132
    [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] => 1765101902
    [reschedule_last_check_time] => 1765101902
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765102081
    [last_credit_update_time] => 1765102081
    [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":1765103400,"2":1765104300,"3":1765105200}
    [rt_time] => {"1":1765103400,"2":1765104300,"3":1765105200}
    [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 : 81990
\compaign_type : Rans per 30.1 
ans sms 518
dnd sms 77

require answer perrequire answer per : 133

user answer per : 88
below is the redis data 45 /n/r
only no answer and busy will be convert, total number require 45 /n/r
UPDATE voice_compaign_detail_81990 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_81990 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 : 128 no_answer_count : 43 Busy count :33 congestion_count : 16 failed_count : 36UPDATE voice_compaign_detail_81990 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 43 UPDATE voice_compaign_detail_81990 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 33 UPDATE voice_compaign_detail_81990 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 16 UPDATE voice_compaign_detail_81990 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`='133', `user_busy_sms`='119', `user_congestion_sms`='16', `user_failed_sms`='55', `user_hangup_sms`='0', `user_no_answer_sms`='118', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='77' WHERE `compaign_id`=81990 LIMIT 1 


Time Diff : 0.523

Array
(
    [0] => 81991
    [compaign_id] => 81991
    [1] => u607
    [user_id] => u607
    [2] => 69133,
    [group_ids] => 69133,
    [3] => 
    [sender_id] => 
    [4] => laxampur.mp3
    [filename] => laxampur.mp3
    [5] => 22
    [duration] => 22
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765101840
    [start_date] => 1765101840
    [9] => 0
    [end_date] => 0
    [10] => 734
    [total_sms] => 734
    [11] => 734
    [sent_sms] => 734
    [12] => 0
    [duplicate_sms] => 0
    [13] => 54
    [answered_sms] => 54
    [14] => 31
    [busy_sms] => 31
    [15] => 0
    [congestion_sms] => 0
    [16] => 221
    [failed_sms] => 221
    [17] => 0
    [hangup_sms] => 0
    [18] => 53
    [no_answer_sms] => 53
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 313
    [cutting_sms] => 313
    [22] => 62
    [dnd_sms] => 62
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 54
    [user_answered_sms] => 54
    [27] => 31
    [user_busy_sms] => 31
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 221
    [user_failed_sms] => 221
    [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] => 62
    [user_dnd_sms] => 62
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u607
    [created_by] => u607
    [38] => 0
    [isScheduled] => 0
    [39] => 1765101840
    [create_date] => 1765101840
    [40] => 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":1765101846,"compaign_read_start_time":1765101848,"compaign_read_complete_time":1765101849,"compaign_send_start_time":1765101901,"compaign_send_complete_time":1765101903}
    [action_time] => {"api_allot_time":1765101846,"compaign_read_start_time":1765101848,"compaign_read_complete_time":1765101849,"compaign_send_start_time":1765101901,"compaign_send_complete_time":1765101903}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81991_07122025_033406PM_419
    [common_name] => u607_81991_07122025_033406PM_419
    [52] => 1765101840_u607_voice.wav
    [voice_file] => 1765101840_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_69133
    [temp_group_table] => contacts_temp_group_69133
    [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] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765102141
    [last_credit_update_time] => 1765102141
    [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":1765105200,"2":1765108800}
    [rt_time] => {"1":1765105200,"2":1765108800}
    [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 : 81991
\compaign_type : Rans per 29.05107 
ans sms 734
dnd sms 62

require answer perrequire answer per : 196

user answer per : 54
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_81991 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 107 UPDATE voice_compaign_detail_81991 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 107 Total Failed : 182 no_answer_count : 61 Busy count :47 congestion_count : 22 failed_count : 52UPDATE voice_compaign_detail_81991 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 61 UPDATE voice_compaign_detail_81991 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 47 UPDATE voice_compaign_detail_81991 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 22 UPDATE voice_compaign_detail_81991 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 52 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='138', `user_busy_sms`='154', `user_congestion_sms`='22', `user_failed_sms`='190', `user_hangup_sms`='0', `user_no_answer_sms`='168', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='62' WHERE `compaign_id`=81991 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>'1764843001'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764843061'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764843122'  
Array
(
    [0] => 81992
    [compaign_id] => 81992
    [1] => u29720
    [user_id] => u29720
    [2] => 69135,
    [group_ids] => 69135,
    [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] => 1765102022
    [start_date] => 1765102022
    [9] => 0
    [end_date] => 0
    [10] => 209
    [total_sms] => 209
    [11] => 209
    [sent_sms] => 209
    [12] => 0
    [duplicate_sms] => 0
    [13] => 15
    [answered_sms] => 15
    [14] => 30
    [busy_sms] => 30
    [15] => 0
    [congestion_sms] => 0
    [16] => 40
    [failed_sms] => 40
    [17] => 0
    [hangup_sms] => 0
    [18] => 42
    [no_answer_sms] => 42
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 38
    [cutting_sms] => 38
    [22] => 44
    [dnd_sms] => 44
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 15
    [user_answered_sms] => 15
    [27] => 30
    [user_busy_sms] => 30
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 40
    [user_failed_sms] => 40
    [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] => 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] => 1765102022
    [create_date] => 1765102022
    [40] => 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":1765102028,"compaign_read_start_time":1765102030,"compaign_read_complete_time":1765102030,"compaign_send_start_time":1765102081,"compaign_send_complete_time":1765102083}
    [action_time] => {"api_allot_time":1765102028,"compaign_read_start_time":1765102030,"compaign_read_complete_time":1765102030,"compaign_send_start_time":1765102081,"compaign_send_complete_time":1765102083}
    [50] => 0
    [compaign_file] => 0
    [51] => u29720_81992_07122025_033707PM_905
    [common_name] => u29720_81992_07122025_033707PM_905
    [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_69135
    [temp_group_table] => contacts_temp_group_69135
    [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] => 1765102322
    [last_credit_update_time] => 1765102322
    [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 : 81992
\compaign_type : Rans per 27.29899 
ans sms 209
dnd sms 44

require answer perrequire answer per : 46

user answer per : 15
below is the redis data 31 UPDATE voice_compaign_detail_81992 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 31 Total Failed : 7 no_answer_count : 3 Busy count :2 congestion_count : 1 failed_count : 1UPDATE voice_compaign_detail_81992 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 3 UPDATE voice_compaign_detail_81992 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 2 UPDATE voice_compaign_detail_81992 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 1 UPDATE voice_compaign_detail_81992 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`='46', `user_busy_sms`='32', `user_congestion_sms`='1', `user_failed_sms`='41', `user_hangup_sms`='0', `user_no_answer_sms`='45', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='44' WHERE `compaign_id`=81992 LIMIT 1 


Time Diff : 1.014

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764843181'  
Array
(
    [0] => 81993
    [compaign_id] => 81993
    [1] => u83
    [user_id] => u83
    [2] => 69136,
    [group_ids] => 69136,
    [3] => 
    [sender_id] => 
    [4] => eddumail.mp3
    [filename] => eddumail.mp3
    [5] => 16
    [duration] => 16
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765102022
    [start_date] => 1765102022
    [9] => 0
    [end_date] => 0
    [10] => 215
    [total_sms] => 215
    [11] => 215
    [sent_sms] => 215
    [12] => 0
    [duplicate_sms] => 0
    [13] => 6
    [answered_sms] => 6
    [14] => 5
    [busy_sms] => 5
    [15] => 0
    [congestion_sms] => 0
    [16] => 63
    [failed_sms] => 63
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 25
    [cutting_sms] => 25
    [22] => 116
    [dnd_sms] => 116
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 6
    [user_answered_sms] => 6
    [27] => 5
    [user_busy_sms] => 5
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 63
    [user_failed_sms] => 63
    [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] => 116
    [user_dnd_sms] => 116
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u83
    [created_by] => u83
    [38] => 0
    [isScheduled] => 0
    [39] => 1765102022
    [create_date] => 1765102022
    [40] => 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":1765102028,"compaign_read_start_time":1765102033,"compaign_read_complete_time":1765102034,"compaign_send_start_time":1765102081,"compaign_send_complete_time":1765102082}
    [action_time] => {"api_allot_time":1765102028,"compaign_read_start_time":1765102033,"compaign_read_complete_time":1765102034,"compaign_send_start_time":1765102081,"compaign_send_complete_time":1765102082}
    [50] => 0
    [compaign_file] => 0
    [51] => u83_81993_07122025_033707PM_290
    [common_name] => u83_81993_07122025_033707PM_290
    [52] => 1765002193_u83_voice.wav
    [voice_file] => 1765002193_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_69136
    [temp_group_table] => contacts_temp_group_69136
    [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] => 1765102322
    [last_credit_update_time] => 1765102322
    [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 : 81993
\compaign_type : Rans per 28.83574 
ans sms 215
dnd sms 116

require answer perrequire answer per : 29

user answer per : 6
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_81993 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_81993 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 : 16 no_answer_count : 6 Busy count :5 congestion_count : 2 failed_count : 3UPDATE voice_compaign_detail_81993 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 6 UPDATE voice_compaign_detail_81993 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 5 UPDATE voice_compaign_detail_81993 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 2 UPDATE voice_compaign_detail_81993 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`='11', `user_busy_sms`='22', `user_congestion_sms`='2', `user_failed_sms`='41', `user_hangup_sms`='0', `user_no_answer_sms`='23', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='116' WHERE `compaign_id`=81993 LIMIT 1 


Time Diff : 1.242

Array
(
    [0] => 81994
    [compaign_id] => 81994
    [1] => u83
    [user_id] => u83
    [2] => 69138,
    [group_ids] => 69138,
    [3] => 
    [sender_id] => 
    [4] => eddumail.mp3
    [filename] => eddumail.mp3
    [5] => 16
    [duration] => 16
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765102022
    [start_date] => 1765102022
    [9] => 0
    [end_date] => 0
    [10] => 236
    [total_sms] => 236
    [11] => 236
    [sent_sms] => 236
    [12] => 0
    [duplicate_sms] => 0
    [13] => 1
    [answered_sms] => 1
    [14] => 2
    [busy_sms] => 2
    [15] => 0
    [congestion_sms] => 0
    [16] => 54
    [failed_sms] => 54
    [17] => 0
    [hangup_sms] => 0
    [18] => 4
    [no_answer_sms] => 4
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 22
    [cutting_sms] => 22
    [22] => 153
    [dnd_sms] => 153
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 1
    [user_answered_sms] => 1
    [27] => 2
    [user_busy_sms] => 2
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 54
    [user_failed_sms] => 54
    [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] => 153
    [user_dnd_sms] => 153
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u83
    [created_by] => u83
    [38] => 0
    [isScheduled] => 0
    [39] => 1765102022
    [create_date] => 1765102022
    [40] => 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":1765102028,"compaign_read_start_time":1765102036,"compaign_read_complete_time":1765102036,"compaign_send_start_time":1765102081,"compaign_send_complete_time":1765102082}
    [action_time] => {"api_allot_time":1765102028,"compaign_read_start_time":1765102036,"compaign_read_complete_time":1765102036,"compaign_send_start_time":1765102081,"compaign_send_complete_time":1765102082}
    [50] => 0
    [compaign_file] => 0
    [51] => u83_81994_07122025_033707PM_311
    [common_name] => u83_81994_07122025_033707PM_311
    [52] => 1765002193_u83_voice.wav
    [voice_file] => 1765002193_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_69138
    [temp_group_table] => contacts_temp_group_69138
    [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] => 1765102322
    [last_credit_update_time] => 1765102322
    [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 : 81994
\compaign_type : Rans per 26.69397 
ans sms 236
dnd sms 153

require answer perrequire answer per : 23

user answer per : 1
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_81994 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_81994 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 : 13 no_answer_count : 5 Busy count :4 congestion_count : 2 failed_count : 2UPDATE voice_compaign_detail_81994 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 5 UPDATE voice_compaign_detail_81994 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 4 UPDATE voice_compaign_detail_81994 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 2 UPDATE voice_compaign_detail_81994 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`='7', `user_busy_sms`='21', `user_congestion_sms`='2', `user_failed_sms`='31', `user_hangup_sms`='0', `user_no_answer_sms`='22', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='153' WHERE `compaign_id`=81994 LIMIT 1 


Time Diff : 1.144

Array
(
    [0] => 81995
    [compaign_id] => 81995
    [1] => u83
    [user_id] => u83
    [2] => 69134,
    [group_ids] => 69134,
    [3] => 
    [sender_id] => 
    [4] => eddumail.mp3
    [filename] => eddumail.mp3
    [5] => 16
    [duration] => 16
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765102022
    [start_date] => 1765102022
    [9] => 0
    [end_date] => 0
    [10] => 271
    [total_sms] => 271
    [11] => 271
    [sent_sms] => 271
    [12] => 0
    [duplicate_sms] => 0
    [13] => 3
    [answered_sms] => 3
    [14] => 1
    [busy_sms] => 1
    [15] => 0
    [congestion_sms] => 0
    [16] => 48
    [failed_sms] => 48
    [17] => 0
    [hangup_sms] => 0
    [18] => 5
    [no_answer_sms] => 5
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 35
    [cutting_sms] => 35
    [22] => 179
    [dnd_sms] => 179
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 3
    [user_answered_sms] => 3
    [27] => 1
    [user_busy_sms] => 1
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 48
    [user_failed_sms] => 48
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 5
    [user_no_answer_sms] => 5
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 179
    [user_dnd_sms] => 179
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u83
    [created_by] => u83
    [38] => 0
    [isScheduled] => 0
    [39] => 1765102022
    [create_date] => 1765102022
    [40] => 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":1765102028,"compaign_read_start_time":1765102039,"compaign_read_complete_time":1765102039,"compaign_send_start_time":1765102081,"compaign_send_complete_time":1765102082}
    [action_time] => {"api_allot_time":1765102028,"compaign_read_start_time":1765102039,"compaign_read_complete_time":1765102039,"compaign_send_start_time":1765102081,"compaign_send_complete_time":1765102082}
    [50] => 0
    [compaign_file] => 0
    [51] => u83_81995_07122025_033707PM_108
    [common_name] => u83_81995_07122025_033707PM_108
    [52] => 1765002193_u83_voice.wav
    [voice_file] => 1765002193_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_69134
    [temp_group_table] => contacts_temp_group_69134
    [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] => 1765102322
    [last_credit_update_time] => 1765102322
    [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 : 81995
\compaign_type : Rans per 25.2442 
ans sms 271
dnd sms 179

require answer perrequire answer per : 24

user answer per : 3
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_81995 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_81995 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 : 22 no_answer_count : 8 Busy count :6 congestion_count : 3 failed_count : 5UPDATE voice_compaign_detail_81995 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 8 UPDATE voice_compaign_detail_81995 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 6 UPDATE voice_compaign_detail_81995 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 3 UPDATE voice_compaign_detail_81995 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`='9', `user_busy_sms`='22', `user_congestion_sms`='3', `user_failed_sms`='34', `user_hangup_sms`='0', `user_no_answer_sms`='24', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='179' WHERE `compaign_id`=81995 LIMIT 1 


Time Diff : 1

Array
(
    [0] => 81996
    [compaign_id] => 81996
    [1] => u83
    [user_id] => u83
    [2] => 69137,
    [group_ids] => 69137,
    [3] => 
    [sender_id] => 
    [4] => cheriyal_sarpanch.mp3
    [filename] => cheriyal_sarpanch.mp3
    [5] => 19
    [duration] => 19
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765102023
    [start_date] => 1765102023
    [9] => 0
    [end_date] => 0
    [10] => 514
    [total_sms] => 514
    [11] => 514
    [sent_sms] => 514
    [12] => 0
    [duplicate_sms] => 0
    [13] => 49
    [answered_sms] => 49
    [14] => 28
    [busy_sms] => 28
    [15] => 0
    [congestion_sms] => 0
    [16] => 59
    [failed_sms] => 59
    [17] => 0
    [hangup_sms] => 0
    [18] => 68
    [no_answer_sms] => 68
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 161
    [cutting_sms] => 161
    [22] => 149
    [dnd_sms] => 149
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 49
    [user_answered_sms] => 49
    [27] => 28
    [user_busy_sms] => 28
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 59
    [user_failed_sms] => 59
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 68
    [user_no_answer_sms] => 68
    [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] => u83
    [created_by] => u83
    [38] => 0
    [isScheduled] => 0
    [39] => 1765102023
    [create_date] => 1765102023
    [40] => 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":1765102030,"compaign_read_start_time":1765102042,"compaign_read_complete_time":1765102043,"compaign_send_start_time":1765102081,"compaign_send_complete_time":1765102083}
    [action_time] => {"api_allot_time":1765102030,"compaign_read_start_time":1765102042,"compaign_read_complete_time":1765102043,"compaign_send_start_time":1765102081,"compaign_send_complete_time":1765102083}
    [50] => 0
    [compaign_file] => 0
    [51] => u83_81996_07122025_033709PM_737
    [common_name] => u83_81996_07122025_033709PM_737
    [52] => 1765002393_u83_voice.wav
    [voice_file] => 1765002393_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_69137
    [temp_group_table] => contacts_temp_group_69137
    [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] => 1765102322
    [last_credit_update_time] => 1765102322
    [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 : 81996
\compaign_type : Rans per 25.15059 
ans sms 514
dnd sms 149

require answer perrequire answer per : 92

user answer per : 49
below is the redis data 43 /n/r
only no answer and busy will be convert, total number require 43 /n/r
UPDATE voice_compaign_detail_81996 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 32 UPDATE voice_compaign_detail_81996 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 32 Total Failed : 109 no_answer_count : 37 Busy count :28 congestion_count : 13 failed_count : 31UPDATE voice_compaign_detail_81996 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 37 UPDATE voice_compaign_detail_81996 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 28 UPDATE voice_compaign_detail_81996 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 13 UPDATE voice_compaign_detail_81996 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`='92', `user_busy_sms`='77', `user_congestion_sms`='13', `user_failed_sms`='78', `user_hangup_sms`='0', `user_no_answer_sms`='105', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='149' WHERE `compaign_id`=81996 LIMIT 1 


Time Diff : 0.529

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764843242'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764843302'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764843361'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764843421'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764843481'  
Array
(
    [0] => 81998
    [compaign_id] => 81998
    [1] => u83
    [user_id] => u83
    [2] => 69139,
    [group_ids] => 69139,
    [3] => 
    [sender_id] => 
    [4] => cheriyal_sarpanch.mp3
    [filename] => cheriyal_sarpanch.mp3
    [5] => 19
    [duration] => 19
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765102324
    [start_date] => 1765102324
    [9] => 0
    [end_date] => 0
    [10] => 514
    [total_sms] => 514
    [11] => 514
    [sent_sms] => 514
    [12] => 0
    [duplicate_sms] => 0
    [13] => 45
    [answered_sms] => 45
    [14] => 37
    [busy_sms] => 37
    [15] => 0
    [congestion_sms] => 0
    [16] => 60
    [failed_sms] => 60
    [17] => 0
    [hangup_sms] => 0
    [18] => 70
    [no_answer_sms] => 70
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 153
    [cutting_sms] => 153
    [22] => 149
    [dnd_sms] => 149
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 45
    [user_answered_sms] => 45
    [27] => 37
    [user_busy_sms] => 37
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 60
    [user_failed_sms] => 60
    [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] => 149
    [user_dnd_sms] => 149
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u83
    [created_by] => u83
    [38] => 0
    [isScheduled] => 0
    [39] => 1765102324
    [create_date] => 1765102324
    [40] => 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":1765102330,"compaign_read_start_time":1765102331,"compaign_read_complete_time":1765102332,"compaign_send_start_time":1765102382,"compaign_send_complete_time":1765102383}
    [action_time] => {"api_allot_time":1765102330,"compaign_read_start_time":1765102331,"compaign_read_complete_time":1765102332,"compaign_send_start_time":1765102382,"compaign_send_complete_time":1765102383}
    [50] => 0
    [compaign_file] => 0
    [51] => u83_81998_07122025_034210PM_926
    [common_name] => u83_81998_07122025_034210PM_926
    [52] => 1765002393_u83_voice.wav
    [voice_file] => 1765002393_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_69139
    [temp_group_table] => contacts_temp_group_69139
    [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] => 1765102621
    [last_credit_update_time] => 1765102621
    [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 : 81998
\compaign_type : Rans per 27.17877 
ans sms 514
dnd sms 149

require answer perrequire answer per : 100

user answer per : 45
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_81998 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_81998 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 : 97 no_answer_count : 33 Busy count :25 congestion_count : 12 failed_count : 27UPDATE voice_compaign_detail_81998 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 33 UPDATE voice_compaign_detail_81998 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 25 UPDATE voice_compaign_detail_81998 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 12 UPDATE voice_compaign_detail_81998 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`='100', `user_busy_sms`='78', `user_congestion_sms`='12', `user_failed_sms`='63', `user_hangup_sms`='0', `user_no_answer_sms`='112', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='149' WHERE `compaign_id`=81998 LIMIT 1 


Time Diff : 0.529

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764843541'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764843601'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764843667'  
Array
(
    [0] => 81960
    [compaign_id] => 81960
    [1] => u607
    [user_id] => u607
    [2] => 69111,
    [group_ids] => 69111,
    [3] => 
    [sender_id] => 
    [4] => LAVAYANA.mp3
    [filename] => LAVAYANA.mp3
    [5] => 28
    [duration] => 28
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765102500
    [start_date] => 1765102500
    [9] => 0
    [end_date] => 0
    [10] => 969
    [total_sms] => 969
    [11] => 969
    [sent_sms] => 969
    [12] => 0
    [duplicate_sms] => 0
    [13] => 65
    [answered_sms] => 65
    [14] => 45
    [busy_sms] => 45
    [15] => 0
    [congestion_sms] => 0
    [16] => 245
    [failed_sms] => 245
    [17] => 0
    [hangup_sms] => 0
    [18] => 58
    [no_answer_sms] => 58
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 401
    [cutting_sms] => 401
    [22] => 155
    [dnd_sms] => 155
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 65
    [user_answered_sms] => 65
    [27] => 45
    [user_busy_sms] => 45
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 245
    [user_failed_sms] => 245
    [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] => 155
    [user_dnd_sms] => 155
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u607
    [created_by] => u607
    [38] => 1
    [isScheduled] => 1
    [39] => 1765099328
    [create_date] => 1765099328
    [40] => 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":1765102507,"compaign_read_start_time":1765102508,"compaign_read_complete_time":1765102509,"compaign_send_start_time":1765102561,"compaign_send_complete_time":1765102563}
    [action_time] => {"api_allot_time":1765102507,"compaign_read_start_time":1765102508,"compaign_read_complete_time":1765102509,"compaign_send_start_time":1765102561,"compaign_send_complete_time":1765102563}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81960_07122025_034506PM_248
    [common_name] => u607_81960_07122025_034506PM_248
    [52] => 1765098778_u607_voice.wav
    [voice_file] => 1765098778_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_69111
    [temp_group_table] => contacts_temp_group_69111
    [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] => 1765102801
    [last_credit_update_time] => 1765102801
    [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 : 81960
\compaign_type : Rans per 30.44446 
ans sms 969
dnd sms 155

require answer perrequire answer per : 248

user answer per : 65
below is the redis data 183 /n/r
only no answer and busy will be convert, total number require 183 /n/r
UPDATE voice_compaign_detail_81960 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_81960 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 : 245 no_answer_count : 82 Busy count :63 congestion_count : 30 failed_count : 70UPDATE voice_compaign_detail_81960 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 82 UPDATE voice_compaign_detail_81960 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 63 UPDATE voice_compaign_detail_81960 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 30 UPDATE voice_compaign_detail_81960 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`='168', `user_busy_sms`='193', `user_congestion_sms`='30', `user_failed_sms`='211', `user_hangup_sms`='0', `user_no_answer_sms`='212', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='155' WHERE `compaign_id`=81960 LIMIT 1 


Time Diff : 0.286

Array
(
    [0] => 81961
    [compaign_id] => 81961
    [1] => u607
    [user_id] => u607
    [2] => 69110,
    [group_ids] => 69110,
    [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] => 1765102500
    [start_date] => 1765102500
    [9] => 0
    [end_date] => 0
    [10] => 1874
    [total_sms] => 1874
    [11] => 1874
    [sent_sms] => 1874
    [12] => 0
    [duplicate_sms] => 0
    [13] => 162
    [answered_sms] => 162
    [14] => 125
    [busy_sms] => 125
    [15] => 0
    [congestion_sms] => 0
    [16] => 215
    [failed_sms] => 215
    [17] => 0
    [hangup_sms] => 0
    [18] => 190
    [no_answer_sms] => 190
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 595
    [cutting_sms] => 595
    [22] => 587
    [dnd_sms] => 587
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 162
    [user_answered_sms] => 162
    [27] => 125
    [user_busy_sms] => 125
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 215
    [user_failed_sms] => 215
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 190
    [user_no_answer_sms] => 190
    [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] => 1765099332
    [create_date] => 1765099332
    [40] => 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":1765102507,"compaign_read_start_time":1765102511,"compaign_read_complete_time":1765102514,"compaign_send_start_time":1765102561,"compaign_send_complete_time":1765102565}
    [action_time] => {"api_allot_time":1765102507,"compaign_read_start_time":1765102511,"compaign_read_complete_time":1765102514,"compaign_send_start_time":1765102561,"compaign_send_complete_time":1765102565}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81961_07122025_034506PM_711
    [common_name] => u607_81961_07122025_034506PM_711
    [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_69110
    [temp_group_table] => contacts_temp_group_69110
    [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] => 1765102801
    [last_credit_update_time] => 1765102801
    [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":"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,sr95,u607
    [uphierarchy] => admin,sr95,u607
    [113] => 
    [extra_params_json] => 
)


Compaign : 81961
\compaign_type : Rans per 26.56907 
ans sms 1874
dnd sms 587

require answer perrequire answer per : 342

user answer per : 162
below is the redis data 180 /n/r
only no answer and busy will be convert, total number require 180 /n/r
UPDATE voice_compaign_detail_81961 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_81961 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 : 404 no_answer_count : 135 Busy count :104 congestion_count : 48 failed_count : 117UPDATE voice_compaign_detail_81961 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 135 UPDATE voice_compaign_detail_81961 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 104 UPDATE voice_compaign_detail_81961 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 48 UPDATE voice_compaign_detail_81961 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`='342', `user_busy_sms`='286', `user_congestion_sms`='48', `user_failed_sms`='263', `user_hangup_sms`='0', `user_no_answer_sms`='348', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='587' WHERE `compaign_id`=81961 LIMIT 1 


Time Diff : 0.148

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764843722'  
Array
(
    [0] => 82003
    [compaign_id] => 82003
    [1] => u29720
    [user_id] => u29720
    [2] => 69143,
    [group_ids] => 69143,
    [3] => 
    [sender_id] => 
    [4] => Gopalapur.mp3
    [filename] => Gopalapur.mp3
    [5] => 21
    [duration] => 21
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765102634
    [start_date] => 1765102634
    [9] => 0
    [end_date] => 0
    [10] => 497
    [total_sms] => 497
    [11] => 497
    [sent_sms] => 497
    [12] => 0
    [duplicate_sms] => 0
    [13] => 66
    [answered_sms] => 66
    [14] => 32
    [busy_sms] => 32
    [15] => 0
    [congestion_sms] => 0
    [16] => 69
    [failed_sms] => 69
    [17] => 0
    [hangup_sms] => 0
    [18] => 61
    [no_answer_sms] => 61
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 172
    [cutting_sms] => 172
    [22] => 97
    [dnd_sms] => 97
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 66
    [user_answered_sms] => 66
    [27] => 32
    [user_busy_sms] => 32
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 69
    [user_failed_sms] => 69
    [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] => 97
    [user_dnd_sms] => 97
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29720
    [created_by] => u29720
    [38] => 0
    [isScheduled] => 0
    [39] => 1765102634
    [create_date] => 1765102634
    [40] => 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":1765102640,"compaign_read_start_time":1765102642,"compaign_read_complete_time":1765102643,"compaign_send_start_time":1765102682,"compaign_send_complete_time":1765102687}
    [action_time] => {"api_allot_time":1765102640,"compaign_read_start_time":1765102642,"compaign_read_complete_time":1765102643,"compaign_send_start_time":1765102682,"compaign_send_complete_time":1765102687}
    [50] => 0
    [compaign_file] => 0
    [51] => u29720_82003_07122025_034720PM_398
    [common_name] => u29720_82003_07122025_034720PM_398
    [52] => 1765102634_u29720_voice.wav
    [voice_file] => 1765102634_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_69143
    [temp_group_table] => contacts_temp_group_69143
    [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] => 1765102802
    [reschedule_last_check_time] => 1765102802
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765102867
    [last_credit_update_time] => 1765102867
    [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 : 82003
\compaign_type : Rans per 26.4043 
ans sms 497
dnd sms 97

require answer perrequire answer per : 106

user answer per : 66
below is the redis data 40 UPDATE voice_compaign_detail_82003 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 40 Total Failed : 132 no_answer_count : 45 Busy count :34 congestion_count : 16 failed_count : 37UPDATE voice_compaign_detail_82003 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 45 UPDATE voice_compaign_detail_82003 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 34 UPDATE voice_compaign_detail_82003 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 16 UPDATE voice_compaign_detail_82003 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`='106', `user_busy_sms`='66', `user_congestion_sms`='16', `user_failed_sms`='106', `user_hangup_sms`='0', `user_no_answer_sms`='106', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='97' WHERE `compaign_id`=82003 LIMIT 1 


Time Diff : 0.427

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764843781'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764843841'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764843902'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764843961'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764844021'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764844082'  
Array
(
    [0] => 82004
    [compaign_id] => 82004
    [1] => u83
    [user_id] => u83
    [2] => 69144,
    [group_ids] => 69144,
    [3] => 
    [sender_id] => 
    [4] => eddumail.mp3
    [filename] => eddumail.mp3
    [5] => 16
    [duration] => 16
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765102923
    [start_date] => 1765102923
    [9] => 0
    [end_date] => 0
    [10] => 204
    [total_sms] => 204
    [11] => 204
    [sent_sms] => 204
    [12] => 0
    [duplicate_sms] => 0
    [13] => 2
    [answered_sms] => 2
    [14] => 4
    [busy_sms] => 4
    [15] => 0
    [congestion_sms] => 0
    [16] => 66
    [failed_sms] => 66
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 16
    [cutting_sms] => 16
    [22] => 116
    [dnd_sms] => 116
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 2
    [user_answered_sms] => 2
    [27] => 4
    [user_busy_sms] => 4
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 66
    [user_failed_sms] => 66
    [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] => 116
    [user_dnd_sms] => 116
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u83
    [created_by] => u83
    [38] => 0
    [isScheduled] => 0
    [39] => 1765102923
    [create_date] => 1765102923
    [40] => 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":1765102928,"compaign_read_start_time":1765102931,"compaign_read_complete_time":1765102931,"compaign_send_start_time":1765102981,"compaign_send_complete_time":1765102982}
    [action_time] => {"api_allot_time":1765102928,"compaign_read_start_time":1765102931,"compaign_read_complete_time":1765102931,"compaign_send_start_time":1765102981,"compaign_send_complete_time":1765102982}
    [50] => 0
    [compaign_file] => 0
    [51] => u83_82004_07122025_035208PM_511
    [common_name] => u83_82004_07122025_035208PM_511
    [52] => 1765002193_u83_voice.wav
    [voice_file] => 1765002193_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_69144
    [temp_group_table] => contacts_temp_group_69144
    [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] => 1765103222
    [last_credit_update_time] => 1765103222
    [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 : 82004
\compaign_type : Rans per 27.18305 
ans sms 204
dnd sms 116

require answer perrequire answer per : 24

user answer per : 2
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_82004 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_82004 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 : 10 no_answer_count : 4 Busy count :3 congestion_count : 2 failed_count : 1UPDATE voice_compaign_detail_82004 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 4 UPDATE voice_compaign_detail_82004 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 3 UPDATE voice_compaign_detail_82004 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 2 UPDATE voice_compaign_detail_82004 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`='6', `user_busy_sms`='20', `user_congestion_sms`='2', `user_failed_sms`='39', `user_hangup_sms`='0', `user_no_answer_sms`='21', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='116' WHERE `compaign_id`=82004 LIMIT 1 


Time Diff : 1.319

Array
(
    [0] => 82005
    [compaign_id] => 82005
    [1] => u83
    [user_id] => u83
    [2] => 69145,
    [group_ids] => 69145,
    [3] => 
    [sender_id] => 
    [4] => eddumail.mp3
    [filename] => eddumail.mp3
    [5] => 16
    [duration] => 16
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765102923
    [start_date] => 1765102923
    [9] => 0
    [end_date] => 0
    [10] => 229
    [total_sms] => 229
    [11] => 229
    [sent_sms] => 229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 2
    [busy_sms] => 2
    [15] => 0
    [congestion_sms] => 0
    [16] => 56
    [failed_sms] => 56
    [17] => 0
    [hangup_sms] => 0
    [18] => 1
    [no_answer_sms] => 1
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 17
    [cutting_sms] => 17
    [22] => 153
    [dnd_sms] => 153
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 2
    [user_busy_sms] => 2
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 56
    [user_failed_sms] => 56
    [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] => 153
    [user_dnd_sms] => 153
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u83
    [created_by] => u83
    [38] => 0
    [isScheduled] => 0
    [39] => 1765102923
    [create_date] => 1765102923
    [40] => 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":1765102928,"compaign_read_start_time":1765102934,"compaign_read_complete_time":1765102934,"compaign_send_start_time":1765102981,"compaign_send_complete_time":1765102982}
    [action_time] => {"api_allot_time":1765102928,"compaign_read_start_time":1765102934,"compaign_read_complete_time":1765102934,"compaign_send_start_time":1765102981,"compaign_send_complete_time":1765102982}
    [50] => 0
    [compaign_file] => 0
    [51] => u83_82005_07122025_035208PM_354
    [common_name] => u83_82005_07122025_035208PM_354
    [52] => 1765002193_u83_voice.wav
    [voice_file] => 1765002193_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_69145
    [temp_group_table] => contacts_temp_group_69145
    [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] => 1765103222
    [last_credit_update_time] => 1765103222
    [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 : 82005
\compaign_type : Rans per 27.15933 
ans sms 229
dnd sms 153

require answer perrequire answer per : 21

user answer per : 0
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_82005 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_82005 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 : 9 no_answer_count : 4 Busy count :3 congestion_count : 2 failed_count : 0UPDATE voice_compaign_detail_82005 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 4 UPDATE voice_compaign_detail_82005 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 3 UPDATE voice_compaign_detail_82005 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`='3', `user_busy_sms`='19', `user_congestion_sms`='2', `user_failed_sms`='32', `user_hangup_sms`='0', `user_no_answer_sms`='20', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='153' WHERE `compaign_id`=82005 LIMIT 1 


Time Diff : 1.183

Array
(
    [0] => 82006
    [compaign_id] => 82006
    [1] => u83
    [user_id] => u83
    [2] => 69146,
    [group_ids] => 69146,
    [3] => 
    [sender_id] => 
    [4] => eddumail.mp3
    [filename] => eddumail.mp3
    [5] => 16
    [duration] => 16
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765102923
    [start_date] => 1765102923
    [9] => 0
    [end_date] => 0
    [10] => 262
    [total_sms] => 262
    [11] => 262
    [sent_sms] => 262
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 3
    [busy_sms] => 3
    [15] => 0
    [congestion_sms] => 0
    [16] => 52
    [failed_sms] => 52
    [17] => 0
    [hangup_sms] => 0
    [18] => 2
    [no_answer_sms] => 2
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 26
    [cutting_sms] => 26
    [22] => 179
    [dnd_sms] => 179
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 0
    [user_answered_sms] => 0
    [27] => 3
    [user_busy_sms] => 3
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 52
    [user_failed_sms] => 52
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2
    [user_no_answer_sms] => 2
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 179
    [user_dnd_sms] => 179
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u83
    [created_by] => u83
    [38] => 0
    [isScheduled] => 0
    [39] => 1765102923
    [create_date] => 1765102923
    [40] => 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":1765102928,"compaign_read_start_time":1765102937,"compaign_read_complete_time":1765102937,"compaign_send_start_time":1765102981,"compaign_send_complete_time":1765102982}
    [action_time] => {"api_allot_time":1765102928,"compaign_read_start_time":1765102937,"compaign_read_complete_time":1765102937,"compaign_send_start_time":1765102981,"compaign_send_complete_time":1765102982}
    [50] => 0
    [compaign_file] => 0
    [51] => u83_82006_07122025_035208PM_720
    [common_name] => u83_82006_07122025_035208PM_720
    [52] => 1765002193_u83_voice.wav
    [voice_file] => 1765002193_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_69146
    [temp_group_table] => contacts_temp_group_69146
    [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] => 1765103222
    [last_credit_update_time] => 1765103222
    [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 : 82006
\compaign_type : Rans per 29.73401 
ans sms 262
dnd sms 179

require answer perrequire answer per : 25

user answer per : 0
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_82006 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_82006 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_82006 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 3 UPDATE voice_compaign_detail_82006 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 3 UPDATE voice_compaign_detail_82006 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 1 UPDATE voice_compaign_detail_82006 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`='5', `user_busy_sms`='23', `user_congestion_sms`='1', `user_failed_sms`='31', `user_hangup_sms`='0', `user_no_answer_sms`='23', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='179' WHERE `compaign_id`=82006 LIMIT 1 


Time Diff : 1.034

Array
(
    [0] => 82007
    [compaign_id] => 82007
    [1] => u83
    [user_id] => u83
    [2] => 69147,
    [group_ids] => 69147,
    [3] => 
    [sender_id] => 
    [4] => cheriyal_sarpanch.mp3
    [filename] => cheriyal_sarpanch.mp3
    [5] => 19
    [duration] => 19
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765102924
    [start_date] => 1765102924
    [9] => 0
    [end_date] => 0
    [10] => 414
    [total_sms] => 414
    [11] => 414
    [sent_sms] => 414
    [12] => 0
    [duplicate_sms] => 0
    [13] => 22
    [answered_sms] => 22
    [14] => 35
    [busy_sms] => 35
    [15] => 0
    [congestion_sms] => 0
    [16] => 70
    [failed_sms] => 70
    [17] => 0
    [hangup_sms] => 0
    [18] => 31
    [no_answer_sms] => 31
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 107
    [cutting_sms] => 107
    [22] => 149
    [dnd_sms] => 149
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 22
    [user_answered_sms] => 22
    [27] => 35
    [user_busy_sms] => 35
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 70
    [user_failed_sms] => 70
    [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] => 149
    [user_dnd_sms] => 149
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u83
    [created_by] => u83
    [38] => 0
    [isScheduled] => 0
    [39] => 1765102924
    [create_date] => 1765102924
    [40] => 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":1765102930,"compaign_read_start_time":1765102940,"compaign_read_complete_time":1765102941,"compaign_send_start_time":1765102981,"compaign_send_complete_time":1765102983}
    [action_time] => {"api_allot_time":1765102930,"compaign_read_start_time":1765102940,"compaign_read_complete_time":1765102941,"compaign_send_start_time":1765102981,"compaign_send_complete_time":1765102983}
    [50] => 0
    [compaign_file] => 0
    [51] => u83_82007_07122025_035210PM_741
    [common_name] => u83_82007_07122025_035210PM_741
    [52] => 1765002393_u83_voice.wav
    [voice_file] => 1765002393_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_69147
    [temp_group_table] => contacts_temp_group_69147
    [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] => 1765103222
    [last_credit_update_time] => 1765103222
    [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 : 82007
\compaign_type : Rans per 26.7736 
ans sms 414
dnd sms 149

require answer perrequire answer per : 71

user answer per : 22
below is the redis data 49 /n/r
only no answer and busy will be convert, total number require 49 /n/r
UPDATE voice_compaign_detail_82007 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 35 UPDATE voice_compaign_detail_82007 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 35 Total Failed : 69 no_answer_count : 24 Busy count :18 congestion_count : 9 failed_count : 18UPDATE voice_compaign_detail_82007 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 24 UPDATE voice_compaign_detail_82007 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 18 UPDATE voice_compaign_detail_82007 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 9 UPDATE voice_compaign_detail_82007 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`='9', `user_failed_sms`='56', `user_hangup_sms`='0', `user_no_answer_sms`='67', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='149' WHERE `compaign_id`=82007 LIMIT 1 


Time Diff : 0.652

Array
(
    [0] => 82008
    [compaign_id] => 82008
    [1] => u83
    [user_id] => u83
    [2] => 69148,
    [group_ids] => 69148,
    [3] => 
    [sender_id] => 
    [4] => cheriyal_sarpanch.mp3
    [filename] => cheriyal_sarpanch.mp3
    [5] => 19
    [duration] => 19
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765102924
    [start_date] => 1765102924
    [9] => 0
    [end_date] => 0
    [10] => 422
    [total_sms] => 422
    [11] => 422
    [sent_sms] => 422
    [12] => 0
    [duplicate_sms] => 0
    [13] => 28
    [answered_sms] => 28
    [14] => 31
    [busy_sms] => 31
    [15] => 0
    [congestion_sms] => 0
    [16] => 66
    [failed_sms] => 66
    [17] => 0
    [hangup_sms] => 0
    [18] => 36
    [no_answer_sms] => 36
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 112
    [cutting_sms] => 112
    [22] => 149
    [dnd_sms] => 149
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 28
    [user_answered_sms] => 28
    [27] => 31
    [user_busy_sms] => 31
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 66
    [user_failed_sms] => 66
    [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] => 149
    [user_dnd_sms] => 149
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u83
    [created_by] => u83
    [38] => 0
    [isScheduled] => 0
    [39] => 1765102924
    [create_date] => 1765102924
    [40] => 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":1765102930,"compaign_read_start_time":1765102943,"compaign_read_complete_time":1765102944,"compaign_send_start_time":1765102981,"compaign_send_complete_time":1765102983}
    [action_time] => {"api_allot_time":1765102930,"compaign_read_start_time":1765102943,"compaign_read_complete_time":1765102944,"compaign_send_start_time":1765102981,"compaign_send_complete_time":1765102983}
    [50] => 0
    [compaign_file] => 0
    [51] => u83_82008_07122025_035210PM_416
    [common_name] => u83_82008_07122025_035210PM_416
    [52] => 1765002393_u83_voice.wav
    [voice_file] => 1765002393_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_69148
    [temp_group_table] => contacts_temp_group_69148
    [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] => 1765103222
    [last_credit_update_time] => 1765103222
    [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 : 82008
\compaign_type : Rans per 30.89843 
ans sms 422
dnd sms 149

require answer perrequire answer per : 85

user answer per : 28
below is the redis data 57 /n/r
only no answer and busy will be convert, total number require 57 /n/r
UPDATE voice_compaign_detail_82008 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 46 UPDATE voice_compaign_detail_82008 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 46 Total Failed : 50 no_answer_count : 17 Busy count :13 congestion_count : 6 failed_count : 14UPDATE voice_compaign_detail_82008 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 17 UPDATE voice_compaign_detail_82008 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 13 UPDATE voice_compaign_detail_82008 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 6 UPDATE voice_compaign_detail_82008 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`='85', `user_busy_sms`='65', `user_congestion_sms`='6', `user_failed_sms`='50', `user_hangup_sms`='0', `user_no_answer_sms`='67', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='149' WHERE `compaign_id`=82008 LIMIT 1 


Time Diff : 0.642

Array
(
    [0] => 82009
    [compaign_id] => 82009
    [1] => u607
    [user_id] => u607
    [2] => 69149,
    [group_ids] => 69149,
    [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] => 1765102925
    [start_date] => 1765102925
    [9] => 0
    [end_date] => 0
    [10] => 740
    [total_sms] => 740
    [11] => 740
    [sent_sms] => 740
    [12] => 0
    [duplicate_sms] => 0
    [13] => 31
    [answered_sms] => 31
    [14] => 37
    [busy_sms] => 37
    [15] => 0
    [congestion_sms] => 0
    [16] => 131
    [failed_sms] => 131
    [17] => 0
    [hangup_sms] => 0
    [18] => 33
    [no_answer_sms] => 33
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 222
    [cutting_sms] => 222
    [22] => 286
    [dnd_sms] => 286
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 31
    [user_answered_sms] => 31
    [27] => 37
    [user_busy_sms] => 37
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 131
    [user_failed_sms] => 131
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 33
    [user_no_answer_sms] => 33
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 286
    [user_dnd_sms] => 286
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u607
    [created_by] => u607
    [38] => 0
    [isScheduled] => 0
    [39] => 1765102925
    [create_date] => 1765102925
    [40] => 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":1765102931,"compaign_read_start_time":1765102946,"compaign_read_complete_time":1765102947,"compaign_send_start_time":1765102982,"compaign_send_complete_time":1765102983}
    [action_time] => {"api_allot_time":1765102931,"compaign_read_start_time":1765102946,"compaign_read_complete_time":1765102947,"compaign_send_start_time":1765102982,"compaign_send_complete_time":1765102983}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_82009_07122025_035210PM_341
    [common_name] => u607_82009_07122025_035210PM_341
    [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_69149
    [temp_group_table] => contacts_temp_group_69149
    [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] => 1765103222
    [last_credit_update_time] => 1765103222
    [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 : 82009
\compaign_type : Rans per 28.16031 
ans sms 740
dnd sms 286

require answer perrequire answer per : 128

user answer per : 31
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_82009 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 74 UPDATE voice_compaign_detail_82009 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 74 Total Failed : 127 no_answer_count : 43 Busy count :33 congestion_count : 16 failed_count : 35UPDATE voice_compaign_detail_82009 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 43 UPDATE voice_compaign_detail_82009 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 33 UPDATE voice_compaign_detail_82009 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 16 UPDATE voice_compaign_detail_82009 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`='101', `user_busy_sms`='107', `user_congestion_sms`='16', `user_failed_sms`='113', `user_hangup_sms`='0', `user_no_answer_sms`='117', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='286' WHERE `compaign_id`=82009 LIMIT 1 


Time Diff : 0.366

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764844141'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764844201'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764844262'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764844321'  
Array
(
    [0] => 82012
    [compaign_id] => 82012
    [1] => u29720
    [user_id] => u29720
    [2] => 69151,
    [group_ids] => 69151,
    [3] => 
    [sender_id] => 
    [4] => Gopalapur.mp3
    [filename] => Gopalapur.mp3
    [5] => 21
    [duration] => 21
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765103223
    [start_date] => 1765103223
    [9] => 0
    [end_date] => 0
    [10] => 391
    [total_sms] => 391
    [11] => 391
    [sent_sms] => 391
    [12] => 0
    [duplicate_sms] => 0
    [13] => 36
    [answered_sms] => 36
    [14] => 32
    [busy_sms] => 32
    [15] => 0
    [congestion_sms] => 0
    [16] => 67
    [failed_sms] => 67
    [17] => 0
    [hangup_sms] => 0
    [18] => 41
    [no_answer_sms] => 41
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 118
    [cutting_sms] => 118
    [22] => 97
    [dnd_sms] => 97
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 36
    [user_answered_sms] => 36
    [27] => 32
    [user_busy_sms] => 32
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 67
    [user_failed_sms] => 67
    [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] => 97
    [user_dnd_sms] => 97
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29720
    [created_by] => u29720
    [38] => 0
    [isScheduled] => 0
    [39] => 1765103223
    [create_date] => 1765103223
    [40] => 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":1765103230,"compaign_read_start_time":1765103230,"compaign_read_complete_time":1765103231,"compaign_send_start_time":1765103282,"compaign_send_complete_time":1765103292}
    [action_time] => {"api_allot_time":1765103230,"compaign_read_start_time":1765103230,"compaign_read_complete_time":1765103231,"compaign_send_start_time":1765103282,"compaign_send_complete_time":1765103292}
    [50] => 0
    [compaign_file] => 0
    [51] => u29720_82012_07122025_035710PM_515
    [common_name] => u29720_82012_07122025_035710PM_515
    [52] => 1765102634_u29720_voice.wav
    [voice_file] => 1765102634_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_69151
    [temp_group_table] => contacts_temp_group_69151
    [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] => 1765103521
    [last_credit_update_time] => 1765103521
    [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 : 82012
\compaign_type : Rans per 28.87856 
ans sms 391
dnd sms 97

require answer perrequire answer per : 85

user answer per : 36
below is the redis data 49 UPDATE voice_compaign_detail_82012 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 49 Total Failed : 69 no_answer_count : 24 Busy count :18 congestion_count : 9 failed_count : 18UPDATE voice_compaign_detail_82012 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 24 UPDATE voice_compaign_detail_82012 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 18 UPDATE voice_compaign_detail_82012 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 9 UPDATE voice_compaign_detail_82012 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`='85', `user_busy_sms`='50', `user_congestion_sms`='9', `user_failed_sms`='85', `user_hangup_sms`='0', `user_no_answer_sms`='65', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='97' WHERE `compaign_id`=82012 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>'1764844381'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764844442'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764844501'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764844561'  
Array
(
    [0] => 81974
    [compaign_id] => 81974
    [1] => u607
    [user_id] => u607
    [2] => 69123,
    [group_ids] => 69123,
    [3] => 
    [sender_id] => 
    [4] => anji reddy.mp3
    [filename] => anji reddy.mp3
    [5] => 69
    [duration] => 69
    [6] => 3
    [credits_per_sms] => 3
    [7] => 30
    [user_pulse] => 30
    [8] => 1765103400
    [start_date] => 1765103400
    [9] => 0
    [end_date] => 0
    [10] => 1372
    [total_sms] => 1372
    [11] => 1372
    [sent_sms] => 1372
    [12] => 0
    [duplicate_sms] => 0
    [13] => 127
    [answered_sms] => 127
    [14] => 148
    [busy_sms] => 148
    [15] => 0
    [congestion_sms] => 0
    [16] => 227
    [failed_sms] => 227
    [17] => 0
    [hangup_sms] => 0
    [18] => 99
    [no_answer_sms] => 99
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 571
    [cutting_sms] => 571
    [22] => 200
    [dnd_sms] => 200
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 127
    [user_answered_sms] => 127
    [27] => 148
    [user_busy_sms] => 148
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 227
    [user_failed_sms] => 227
    [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] => 200
    [user_dnd_sms] => 200
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u607
    [created_by] => u607
    [38] => 1
    [isScheduled] => 1
    [39] => 1765100827
    [create_date] => 1765100827
    [40] => 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":1765103406,"compaign_read_start_time":1765103407,"compaign_read_complete_time":1765103409,"compaign_send_start_time":1765103462,"compaign_send_complete_time":1765103465}
    [action_time] => {"api_allot_time":1765103406,"compaign_read_start_time":1765103407,"compaign_read_complete_time":1765103409,"compaign_send_start_time":1765103462,"compaign_send_complete_time":1765103465}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81974_07122025_040005PM_255
    [common_name] => u607_81974_07122025_040005PM_255
    [52] => 1765100166_u607_voice.wav
    [voice_file] => 1765100166_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_69123
    [temp_group_table] => contacts_temp_group_69123
    [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] => 1765103701
    [last_credit_update_time] => 1765103701
    [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":"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,sr95,u607
    [uphierarchy] => admin,sr95,u607
    [113] => 
    [extra_params_json] => 
)


Compaign : 81974
\compaign_type : Rans per 30.7423 
ans sms 1372
dnd sms 200

require answer perrequire answer per : 361

user answer per : 127
below is the redis data 234 /n/r
only no answer and busy will be convert, total number require 234 /n/r
UPDATE voice_compaign_detail_81974 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 188 UPDATE voice_compaign_detail_81974 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 188 Total Failed : 303 no_answer_count : 102 Busy count :78 congestion_count : 36 failed_count : 87UPDATE voice_compaign_detail_81974 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 102 UPDATE voice_compaign_detail_81974 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 78 UPDATE voice_compaign_detail_81974 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 36 UPDATE voice_compaign_detail_81974 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`='361', `user_busy_sms`='274', `user_congestion_sms`='36', `user_failed_sms`='206', `user_hangup_sms`='0', `user_no_answer_sms`='295', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='200' WHERE `compaign_id`=81974 LIMIT 1 


Time Diff : 0.198

Array
(
    [0] => 81997
    [compaign_id] => 81997
    [1] => u179
    [user_id] => u179
    [2] => 69140,
    [group_ids] => 69140,
    [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] => 1765103400
    [start_date] => 1765103400
    [9] => 0
    [end_date] => 0
    [10] => 385
    [total_sms] => 385
    [11] => 385
    [sent_sms] => 385
    [12] => 0
    [duplicate_sms] => 0
    [13] => 54
    [answered_sms] => 54
    [14] => 65
    [busy_sms] => 65
    [15] => 0
    [congestion_sms] => 0
    [16] => 30
    [failed_sms] => 30
    [17] => 0
    [hangup_sms] => 0
    [18] => 43
    [no_answer_sms] => 43
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 116
    [cutting_sms] => 116
    [22] => 77
    [dnd_sms] => 77
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 54
    [user_answered_sms] => 54
    [27] => 65
    [user_busy_sms] => 65
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 30
    [user_failed_sms] => 30
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 43
    [user_no_answer_sms] => 43
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 77
    [user_dnd_sms] => 77
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u179
    [created_by] => u179
    [38] => 1
    [isScheduled] => 1
    [39] => 1765102324
    [create_date] => 1765102324
    [40] => 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":1765103406,"compaign_read_start_time":1765103410,"compaign_read_complete_time":1765103411,"compaign_send_start_time":1765103462,"compaign_send_complete_time":1765103463}
    [action_time] => {"api_allot_time":1765103406,"compaign_read_start_time":1765103410,"compaign_read_complete_time":1765103411,"compaign_send_start_time":1765103462,"compaign_send_complete_time":1765103463}
    [50] => 0
    [compaign_file] => 0
    [51] => u179_81997_07122025_040005PM_732
    [common_name] => u179_81997_07122025_040005PM_732
    [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_69140
    [temp_group_table] => contacts_temp_group_69140
    [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] => 1765103701
    [last_credit_update_time] => 1765103701
    [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 : 81997
\compaign_type : Rans per 30.62838 
ans sms 385
dnd sms 77

require answer perrequire answer per : 95

user answer per : 54
below is the redis data 41 /n/r
only no answer and busy will be convert, total number require 41 /n/r
UPDATE voice_compaign_detail_81997 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 33 UPDATE voice_compaign_detail_81997 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 33 Total Failed : 63 no_answer_count : 22 Busy count :17 congestion_count : 8 failed_count : 16UPDATE voice_compaign_detail_81997 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 22 UPDATE voice_compaign_detail_81997 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 17 UPDATE voice_compaign_detail_81997 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 8 UPDATE voice_compaign_detail_81997 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 16 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='95', `user_busy_sms`='92', `user_congestion_sms`='8', `user_failed_sms`='33', `user_hangup_sms`='0', `user_no_answer_sms`='80', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='77' WHERE `compaign_id`=81997 LIMIT 1 


Time Diff : 0.706

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764844622'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764844681'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764844741'  
Array
(
    [0] => 82015
    [compaign_id] => 82015
    [1] => u680
    [user_id] => u680
    [2] => 69153,
    [group_ids] => 69153,
    [3] => 
    [sender_id] => 
    [4] => srinu goud nandhigama.wav
    [filename] => srinu goud nandhigama.wav
    [5] => 23
    [duration] => 23
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765103631
    [start_date] => 1765103631
    [9] => 0
    [end_date] => 0
    [10] => 135
    [total_sms] => 135
    [11] => 135
    [sent_sms] => 135
    [12] => 0
    [duplicate_sms] => 0
    [13] => 30
    [answered_sms] => 30
    [14] => 11
    [busy_sms] => 11
    [15] => 0
    [congestion_sms] => 0
    [16] => 14
    [failed_sms] => 14
    [17] => 0
    [hangup_sms] => 0
    [18] => 34
    [no_answer_sms] => 34
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 11
    [cutting_sms] => 11
    [22] => 35
    [dnd_sms] => 35
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 30
    [user_answered_sms] => 30
    [27] => 11
    [user_busy_sms] => 11
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 14
    [user_failed_sms] => 14
    [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] => 35
    [user_dnd_sms] => 35
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u680
    [created_by] => u680
    [38] => 0
    [isScheduled] => 0
    [39] => 1765103631
    [create_date] => 1765103631
    [40] => 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":1765103642,"compaign_read_start_time":1765103645,"compaign_read_complete_time":1765103645,"compaign_send_start_time":1765103701,"compaign_send_complete_time":1765103702}
    [action_time] => {"api_allot_time":1765103642,"compaign_read_start_time":1765103645,"compaign_read_complete_time":1765103645,"compaign_send_start_time":1765103701,"compaign_send_complete_time":1765103702}
    [50] => 0
    [compaign_file] => 0
    [51] => u680_82015_07122025_040402PM_925
    [common_name] => u680_82015_07122025_040402PM_925
    [52] => 1765103629_u680_voice.wav
    [voice_file] => 1765103629_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_69153
    [temp_group_table] => contacts_temp_group_69153
    [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] => 1765103941
    [last_credit_update_time] => 1765103941
    [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 : 82015
\compaign_type : Rans per 28.90468 
ans sms 135
dnd sms 35

require answer perrequire answer per : 29

user answer per : 30
Total Failed : 11 no_answer_count : 4 Busy count :3 congestion_count : 2 failed_count : 2UPDATE voice_compaign_detail_82015 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 4 UPDATE voice_compaign_detail_82015 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 3 UPDATE voice_compaign_detail_82015 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 2 UPDATE voice_compaign_detail_82015 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`='30', `user_busy_sms`='14', `user_congestion_sms`='2', `user_failed_sms`='16', `user_hangup_sms`='0', `user_no_answer_sms`='38', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='35' WHERE `compaign_id`=82015 LIMIT 1 


Time Diff : 1.57

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764844801'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764844862'  
Array
(
    [0] => 82016
    [compaign_id] => 82016
    [1] => u680
    [user_id] => u680
    [2] => 69155,
    [group_ids] => 69155,
    [3] => 
    [sender_id] => 
    [4] => srinu goud nandhigama.wav
    [filename] => srinu goud nandhigama.wav
    [5] => 23
    [duration] => 23
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765103736
    [start_date] => 1765103736
    [9] => 0
    [end_date] => 0
    [10] => 135
    [total_sms] => 135
    [11] => 135
    [sent_sms] => 135
    [12] => 0
    [duplicate_sms] => 0
    [13] => 40
    [answered_sms] => 40
    [14] => 11
    [busy_sms] => 11
    [15] => 0
    [congestion_sms] => 0
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 24
    [no_answer_sms] => 24
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 13
    [cutting_sms] => 13
    [22] => 35
    [dnd_sms] => 35
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 40
    [user_answered_sms] => 40
    [27] => 11
    [user_busy_sms] => 11
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 12
    [user_failed_sms] => 12
    [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] => 35
    [user_dnd_sms] => 35
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u680
    [created_by] => u680
    [38] => 0
    [isScheduled] => 0
    [39] => 1765103736
    [create_date] => 1765103736
    [40] => 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":1765103742,"compaign_read_start_time":1765103743,"compaign_read_complete_time":1765103743,"compaign_send_start_time":1765103762,"compaign_send_complete_time":1765103762}
    [action_time] => {"api_allot_time":1765103742,"compaign_read_start_time":1765103743,"compaign_read_complete_time":1765103743,"compaign_send_start_time":1765103762,"compaign_send_complete_time":1765103762}
    [50] => 0
    [compaign_file] => 0
    [51] => u680_82016_07122025_040541PM_396
    [common_name] => u680_82016_07122025_040541PM_396
    [52] => 1765103736_u680_voice.wav
    [voice_file] => 1765103736_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_69155
    [temp_group_table] => contacts_temp_group_69155
    [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] => 1765104001
    [last_credit_update_time] => 1765104001
    [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 : 82016
\compaign_type : Rans per 25.64387 
ans sms 135
dnd sms 35

require answer perrequire answer per : 26

user answer per : 40
Total Failed : 13 no_answer_count : 5 Busy count :4 congestion_count : 2 failed_count : 2UPDATE voice_compaign_detail_82016 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 5 UPDATE voice_compaign_detail_82016 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 4 UPDATE voice_compaign_detail_82016 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 2 UPDATE voice_compaign_detail_82016 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`='40', `user_busy_sms`='15', `user_congestion_sms`='2', `user_failed_sms`='14', `user_hangup_sms`='0', `user_no_answer_sms`='29', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='35' WHERE `compaign_id`=82016 LIMIT 1 


Time Diff : 2.015

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764844921'  
Array
(
    [0] => 82018
    [compaign_id] => 82018
    [1] => u29720
    [user_id] => u29720
    [2] => 69158,
    [group_ids] => 69158,
    [3] => 
    [sender_id] => 
    [4] => Gopalapur.mp3
    [filename] => Gopalapur.mp3
    [5] => 21
    [duration] => 21
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765103823
    [start_date] => 1765103823
    [9] => 0
    [end_date] => 0
    [10] => 306
    [total_sms] => 306
    [11] => 306
    [sent_sms] => 306
    [12] => 0
    [duplicate_sms] => 0
    [13] => 17
    [answered_sms] => 17
    [14] => 28
    [busy_sms] => 28
    [15] => 0
    [congestion_sms] => 0
    [16] => 58
    [failed_sms] => 58
    [17] => 0
    [hangup_sms] => 0
    [18] => 27
    [no_answer_sms] => 27
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 79
    [cutting_sms] => 79
    [22] => 97
    [dnd_sms] => 97
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 17
    [user_answered_sms] => 17
    [27] => 28
    [user_busy_sms] => 28
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 58
    [user_failed_sms] => 58
    [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] => 97
    [user_dnd_sms] => 97
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29720
    [created_by] => u29720
    [38] => 0
    [isScheduled] => 0
    [39] => 1765103823
    [create_date] => 1765103823
    [40] => 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":1765103828,"compaign_read_start_time":1765103831,"compaign_read_complete_time":1765103832,"compaign_send_start_time":1765103882,"compaign_send_complete_time":1765103883}
    [action_time] => {"api_allot_time":1765103828,"compaign_read_start_time":1765103831,"compaign_read_complete_time":1765103832,"compaign_send_start_time":1765103882,"compaign_send_complete_time":1765103883}
    [50] => 0
    [compaign_file] => 0
    [51] => u29720_82018_07122025_040708PM_584
    [common_name] => u29720_82018_07122025_040708PM_584
    [52] => 1765102634_u29720_voice.wav
    [voice_file] => 1765102634_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_69158
    [temp_group_table] => contacts_temp_group_69158
    [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] => 1765104062
    [last_credit_update_time] => 1765104062
    [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 : 82018
\compaign_type : Rans per 28.49127 
ans sms 306
dnd sms 97

require answer perrequire answer per : 60

user answer per : 17
below is the redis data 43 UPDATE voice_compaign_detail_82018 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 43 Total Failed : 36 no_answer_count : 13 Busy count :10 congestion_count : 5 failed_count : 8UPDATE voice_compaign_detail_82018 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 13 UPDATE voice_compaign_detail_82018 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 10 UPDATE voice_compaign_detail_82018 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 5 UPDATE voice_compaign_detail_82018 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`='60', `user_busy_sms`='38', `user_congestion_sms`='5', `user_failed_sms`='66', `user_hangup_sms`='0', `user_no_answer_sms`='40', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='97' WHERE `compaign_id`=82018 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>'1764844982'  
Array
(
    [0] => 82019
    [compaign_id] => 82019
    [1] => u680
    [user_id] => u680
    [2] => 69159,
    [group_ids] => 69159,
    [3] => 
    [sender_id] => 
    [4] => marigudem sathema bhalaiah.wav
    [filename] => marigudem sathema bhalaiah.wav
    [5] => 43
    [duration] => 43
    [6] => 2
    [credits_per_sms] => 2
    [7] => 30
    [user_pulse] => 30
    [8] => 1765103868
    [start_date] => 1765103868
    [9] => 0
    [end_date] => 0
    [10] => 1096
    [total_sms] => 1096
    [11] => 1096
    [sent_sms] => 1096
    [12] => 0
    [duplicate_sms] => 0
    [13] => 177
    [answered_sms] => 177
    [14] => 97
    [busy_sms] => 97
    [15] => 0
    [congestion_sms] => 0
    [16] => 126
    [failed_sms] => 126
    [17] => 0
    [hangup_sms] => 0
    [18] => 133
    [no_answer_sms] => 133
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 430
    [cutting_sms] => 430
    [22] => 133
    [dnd_sms] => 133
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 177
    [user_answered_sms] => 177
    [27] => 97
    [user_busy_sms] => 97
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 126
    [user_failed_sms] => 126
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 133
    [user_no_answer_sms] => 133
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 133
    [user_dnd_sms] => 133
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u680
    [created_by] => u680
    [38] => 0
    [isScheduled] => 0
    [39] => 1765103868
    [create_date] => 1765103868
    [40] => 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":1765103882,"compaign_read_start_time":1765103885,"compaign_read_complete_time":1765103887,"compaign_send_start_time":1765103941,"compaign_send_complete_time":1765103944}
    [action_time] => {"api_allot_time":1765103882,"compaign_read_start_time":1765103885,"compaign_read_complete_time":1765103887,"compaign_send_start_time":1765103941,"compaign_send_complete_time":1765103944}
    [50] => 0
    [compaign_file] => 0
    [51] => u680_82019_07122025_040802PM_266
    [common_name] => u680_82019_07122025_040802PM_266
    [52] => 1765103868_u680_voice.wav
    [voice_file] => 1765103868_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_69159
    [temp_group_table] => contacts_temp_group_69159
    [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] => 1765104182
    [last_credit_update_time] => 1765104182
    [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 : 82019
\compaign_type : Rans per 29.3926 
ans sms 1096
dnd sms 133

require answer perrequire answer per : 284

user answer per : 177
below is the redis data 107 /n/r
only no answer and busy will be convert, total number require 107 /n/r
UPDATE voice_compaign_detail_82019 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 81 UPDATE voice_compaign_detail_82019 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 81 Total Failed : 305 no_answer_count : 102 Busy count :79 congestion_count : 37 failed_count : 87UPDATE voice_compaign_detail_82019 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 102 UPDATE voice_compaign_detail_82019 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 79 UPDATE voice_compaign_detail_82019 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 37 UPDATE voice_compaign_detail_82019 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`='284', `user_busy_sms`='205', `user_congestion_sms`='37', `user_failed_sms`='176', `user_hangup_sms`='0', `user_no_answer_sms`='261', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='133' WHERE `compaign_id`=82019 LIMIT 1 


Time Diff : 0.194

Array
(
    [0] => 82020
    [compaign_id] => 82020
    [1] => u680
    [user_id] => u680
    [2] => 69160,
    [group_ids] => 69160,
    [3] => 
    [sender_id] => 
    [4] => marigudem sathema bhalaiah.wav
    [filename] => marigudem sathema bhalaiah.wav
    [5] => 43
    [duration] => 43
    [6] => 2
    [credits_per_sms] => 2
    [7] => 30
    [user_pulse] => 30
    [8] => 1765103961
    [start_date] => 1765103961
    [9] => 0
    [end_date] => 0
    [10] => 149
    [total_sms] => 149
    [11] => 149
    [sent_sms] => 149
    [12] => 0
    [duplicate_sms] => 0
    [13] => 45
    [answered_sms] => 45
    [14] => 13
    [busy_sms] => 13
    [15] => 0
    [congestion_sms] => 0
    [16] => 26
    [failed_sms] => 26
    [17] => 0
    [hangup_sms] => 0
    [18] => 25
    [no_answer_sms] => 25
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 21
    [cutting_sms] => 21
    [22] => 19
    [dnd_sms] => 19
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 45
    [user_answered_sms] => 45
    [27] => 13
    [user_busy_sms] => 13
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 26
    [user_failed_sms] => 26
    [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] => 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] => 1765103961
    [create_date] => 1765103961
    [40] => 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":1765103967,"compaign_read_start_time":1765103968,"compaign_read_complete_time":1765103968,"compaign_send_start_time":1765104001,"compaign_send_complete_time":1765104002}
    [action_time] => {"api_allot_time":1765103967,"compaign_read_start_time":1765103968,"compaign_read_complete_time":1765103968,"compaign_send_start_time":1765104001,"compaign_send_complete_time":1765104002}
    [50] => 0
    [compaign_file] => 0
    [51] => u680_82020_07122025_040927PM_423
    [common_name] => u680_82020_07122025_040927PM_423
    [52] => 1765103961_u680_voice.wav
    [voice_file] => 1765103961_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_69160
    [temp_group_table] => contacts_temp_group_69160
    [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] => 1765104182
    [last_credit_update_time] => 1765104182
    [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 : 82020
\compaign_type : Rans per 27.31501 
ans sms 149
dnd sms 19

require answer perrequire answer per : 36

user answer per : 45
Total Failed : 21 no_answer_count : 8 Busy count :6 congestion_count : 3 failed_count : 4UPDATE voice_compaign_detail_82020 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 8 UPDATE voice_compaign_detail_82020 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 6 UPDATE voice_compaign_detail_82020 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 3 UPDATE voice_compaign_detail_82020 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`='45', `user_busy_sms`='19', `user_congestion_sms`='3', `user_failed_sms`='30', `user_hangup_sms`='0', `user_no_answer_sms`='33', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='19' WHERE `compaign_id`=82020 LIMIT 1 


Time Diff : 1.02

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764845041'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764845101'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764845162'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764845222'  
Array
(
    [0] => 82021
    [compaign_id] => 82021
    [1] => u680
    [user_id] => u680
    [2] => 69161,
    [group_ids] => 69161,
    [3] => 
    [sender_id] => 
    [4] => marigudem sathema bhalaiah.wav
    [filename] => marigudem sathema bhalaiah.wav
    [5] => 43
    [duration] => 43
    [6] => 2
    [credits_per_sms] => 2
    [7] => 30
    [user_pulse] => 30
    [8] => 1765104069
    [start_date] => 1765104069
    [9] => 0
    [end_date] => 0
    [10] => 152
    [total_sms] => 152
    [11] => 152
    [sent_sms] => 152
    [12] => 0
    [duplicate_sms] => 0
    [13] => 31
    [answered_sms] => 31
    [14] => 17
    [busy_sms] => 17
    [15] => 0
    [congestion_sms] => 0
    [16] => 26
    [failed_sms] => 26
    [17] => 0
    [hangup_sms] => 0
    [18] => 35
    [no_answer_sms] => 35
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 23
    [cutting_sms] => 23
    [22] => 20
    [dnd_sms] => 20
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 31
    [user_answered_sms] => 31
    [27] => 17
    [user_busy_sms] => 17
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 26
    [user_failed_sms] => 26
    [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] => 20
    [user_dnd_sms] => 20
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u680
    [created_by] => u680
    [38] => 0
    [isScheduled] => 0
    [39] => 1765104069
    [create_date] => 1765104069
    [40] => 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":1765104074,"compaign_read_start_time":1765104077,"compaign_read_complete_time":1765104077,"compaign_send_start_time":1765104122,"compaign_send_complete_time":1765104131}
    [action_time] => {"api_allot_time":1765104074,"compaign_read_start_time":1765104077,"compaign_read_complete_time":1765104077,"compaign_send_start_time":1765104122,"compaign_send_complete_time":1765104131}
    [50] => 0
    [compaign_file] => 0
    [51] => u680_82021_07122025_041114PM_134
    [common_name] => u680_82021_07122025_041114PM_134
    [52] => 1765104069_u680_voice.wav
    [voice_file] => 1765104069_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_69161
    [temp_group_table] => contacts_temp_group_69161
    [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] => 1765104362
    [last_credit_update_time] => 1765104362
    [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 : 82021
\compaign_type : Rans per 27.17038 
ans sms 152
dnd sms 20

require answer perrequire answer per : 36

user answer per : 31
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_82021 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_82021 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 : 18 no_answer_count : 7 Busy count :5 congestion_count : 3 failed_count : 3UPDATE voice_compaign_detail_82021 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 7 UPDATE voice_compaign_detail_82021 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 5 UPDATE voice_compaign_detail_82021 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 3 UPDATE voice_compaign_detail_82021 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`='36', `user_busy_sms`='24', `user_congestion_sms`='3', `user_failed_sms`='26', `user_hangup_sms`='0', `user_no_answer_sms`='43', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='20' WHERE `compaign_id`=82021 LIMIT 1 


Time Diff : 1.789

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764845281'  
Array
(
    [0] => 82024
    [compaign_id] => 82024
    [1] => u680
    [user_id] => u680
    [2] => 69164,
    [group_ids] => 69164,
    [3] => 
    [sender_id] => 
    [4] => marigudem sathema bhalaiah.wav
    [filename] => marigudem sathema bhalaiah.wav
    [5] => 43
    [duration] => 43
    [6] => 2
    [credits_per_sms] => 2
    [7] => 30
    [user_pulse] => 30
    [8] => 1765104166
    [start_date] => 1765104166
    [9] => 0
    [end_date] => 0
    [10] => 134
    [total_sms] => 134
    [11] => 134
    [sent_sms] => 134
    [12] => 0
    [duplicate_sms] => 0
    [13] => 16
    [answered_sms] => 16
    [14] => 21
    [busy_sms] => 21
    [15] => 0
    [congestion_sms] => 0
    [16] => 26
    [failed_sms] => 26
    [17] => 0
    [hangup_sms] => 0
    [18] => 34
    [no_answer_sms] => 34
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 17
    [cutting_sms] => 17
    [22] => 20
    [dnd_sms] => 20
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 16
    [user_answered_sms] => 16
    [27] => 21
    [user_busy_sms] => 21
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 26
    [user_failed_sms] => 26
    [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] => 20
    [user_dnd_sms] => 20
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u680
    [created_by] => u680
    [38] => 0
    [isScheduled] => 0
    [39] => 1765104165
    [create_date] => 1765104165
    [40] => 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":1765104183,"compaign_read_start_time":1765104185,"compaign_read_complete_time":1765104185,"compaign_send_start_time":1765104241,"compaign_send_complete_time":1765104242}
    [action_time] => {"api_allot_time":1765104183,"compaign_read_start_time":1765104185,"compaign_read_complete_time":1765104185,"compaign_send_start_time":1765104241,"compaign_send_complete_time":1765104242}
    [50] => 0
    [compaign_file] => 0
    [51] => u680_82024_07122025_041302PM_164
    [common_name] => u680_82024_07122025_041302PM_164
    [52] => 1765104165_u680_voice.wav
    [voice_file] => 1765104165_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_69164
    [temp_group_table] => contacts_temp_group_69164
    [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] => 1765104422
    [last_credit_update_time] => 1765104422
    [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 : 82024
\compaign_type : Rans per 25.85141 
ans sms 134
dnd sms 20

require answer perrequire answer per : 30

user answer per : 16
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_82024 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_82024 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 : 9 no_answer_count : 4 Busy count :3 congestion_count : 2 failed_count : 0UPDATE voice_compaign_detail_82024 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 4 UPDATE voice_compaign_detail_82024 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 3 UPDATE voice_compaign_detail_82024 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`='30', `user_busy_sms`='30', `user_congestion_sms`='2', `user_failed_sms`='14', `user_hangup_sms`='0', `user_no_answer_sms`='38', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='20' WHERE `compaign_id`=82024 LIMIT 1 


Time Diff : 1.575

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


Compaign : 81650
\compaign_type : ATans per 29.52409 
ans sms 28811
dnd sms 0

require answer perrequire answer per : 8507

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='145', `user_busy_sms`='9325', `user_congestion_sms`='0', `user_failed_sms`='18272', `user_hangup_sms`='0', `user_no_answer_sms`='1069', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81650 LIMIT 1 


Time Diff : 0.788

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764845462'  
Array
(
    [0] => 82026
    [compaign_id] => 82026
    [1] => u680
    [user_id] => u680
    [2] => 69165,
    [group_ids] => 69165,
    [3] => 
    [sender_id] => 
    [4] => marigudem sathema bhalaiah.wav
    [filename] => marigudem sathema bhalaiah.wav
    [5] => 43
    [duration] => 43
    [6] => 2
    [credits_per_sms] => 2
    [7] => 30
    [user_pulse] => 30
    [8] => 1765104285
    [start_date] => 1765104285
    [9] => 0
    [end_date] => 0
    [10] => 142
    [total_sms] => 142
    [11] => 142
    [sent_sms] => 142
    [12] => 0
    [duplicate_sms] => 0
    [13] => 40
    [answered_sms] => 40
    [14] => 13
    [busy_sms] => 13
    [15] => 0
    [congestion_sms] => 0
    [16] => 26
    [failed_sms] => 26
    [17] => 0
    [hangup_sms] => 0
    [18] => 27
    [no_answer_sms] => 27
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 20
    [cutting_sms] => 20
    [22] => 16
    [dnd_sms] => 16
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 40
    [user_answered_sms] => 40
    [27] => 13
    [user_busy_sms] => 13
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 26
    [user_failed_sms] => 26
    [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] => 16
    [user_dnd_sms] => 16
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u680
    [created_by] => u680
    [38] => 0
    [isScheduled] => 0
    [39] => 1765104285
    [create_date] => 1765104285
    [40] => 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":1765104302,"compaign_read_start_time":1765104304,"compaign_read_complete_time":1765104305,"compaign_send_start_time":1765104362,"compaign_send_complete_time":1765104363}
    [action_time] => {"api_allot_time":1765104302,"compaign_read_start_time":1765104304,"compaign_read_complete_time":1765104305,"compaign_send_start_time":1765104362,"compaign_send_complete_time":1765104363}
    [50] => 0
    [compaign_file] => 0
    [51] => u680_82026_07122025_041501PM_478
    [common_name] => u680_82026_07122025_041501PM_478
    [52] => 1765104285_u680_voice.wav
    [voice_file] => 1765104285_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_69165
    [temp_group_table] => contacts_temp_group_69165
    [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] => 1765104602
    [last_credit_update_time] => 1765104602
    [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 : 82026
\compaign_type : Rans per 28.73032 
ans sms 142
dnd sms 16

require answer perrequire answer per : 37

user answer per : 40
Total Failed : 20 no_answer_count : 7 Busy count :6 congestion_count : 3 failed_count : 4UPDATE voice_compaign_detail_82026 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 7 UPDATE voice_compaign_detail_82026 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 6 UPDATE voice_compaign_detail_82026 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 3 UPDATE voice_compaign_detail_82026 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`='40', `user_busy_sms`='19', `user_congestion_sms`='3', `user_failed_sms`='30', `user_hangup_sms`='0', `user_no_answer_sms`='34', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='16' WHERE `compaign_id`=82026 LIMIT 1 


Time Diff : 1.915

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764845521'  
Array
(
    [0] => 82022
    [compaign_id] => 82022
    [1] => u179
    [user_id] => u179
    [2] => 69162,
    [group_ids] => 69162,
    [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] => 1765104300
    [start_date] => 1765104300
    [9] => 0
    [end_date] => 0
    [10] => 290
    [total_sms] => 290
    [11] => 290
    [sent_sms] => 290
    [12] => 0
    [duplicate_sms] => 0
    [13] => 25
    [answered_sms] => 25
    [14] => 49
    [busy_sms] => 49
    [15] => 0
    [congestion_sms] => 0
    [16] => 34
    [failed_sms] => 34
    [17] => 0
    [hangup_sms] => 0
    [18] => 36
    [no_answer_sms] => 36
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 69
    [cutting_sms] => 69
    [22] => 77
    [dnd_sms] => 77
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 25
    [user_answered_sms] => 25
    [27] => 49
    [user_busy_sms] => 49
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34
    [user_failed_sms] => 34
    [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] => 77
    [user_dnd_sms] => 77
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u179
    [created_by] => u179
    [38] => 1
    [isScheduled] => 1
    [39] => 1765104132
    [create_date] => 1765104132
    [40] => 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":1765104306,"compaign_read_start_time":1765104362,"compaign_read_complete_time":1765104362,"compaign_send_start_time":1765104422,"compaign_send_complete_time":1765104423}
    [action_time] => {"api_allot_time":1765104306,"compaign_read_start_time":1765104362,"compaign_read_complete_time":1765104362,"compaign_send_start_time":1765104422,"compaign_send_complete_time":1765104423}
    [50] => 0
    [compaign_file] => 0
    [51] => u179_82022_07122025_041505PM_333
    [common_name] => u179_82022_07122025_041505PM_333
    [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_69162
    [temp_group_table] => contacts_temp_group_69162
    [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] => 1765104662
    [last_credit_update_time] => 1765104662
    [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 : 82022
\compaign_type : Rans per 25.85793 
ans sms 290
dnd sms 77

require answer perrequire answer per : 56

user answer per : 25
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_82022 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_82022 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 : 38 no_answer_count : 13 Busy count :10 congestion_count : 5 failed_count : 10UPDATE voice_compaign_detail_82022 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 13 UPDATE voice_compaign_detail_82022 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 10 UPDATE voice_compaign_detail_82022 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 5 UPDATE voice_compaign_detail_82022 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`='56', `user_busy_sms`='65', `user_congestion_sms`='5', `user_failed_sms`='27', `user_hangup_sms`='0', `user_no_answer_sms`='60', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='77' WHERE `compaign_id`=82022 LIMIT 1 


Time Diff : 0.931

Array
(
    [0] => 82027
    [compaign_id] => 82027
    [1] => u680
    [user_id] => u680
    [2] => 69166,
    [group_ids] => 69166,
    [3] => 
    [sender_id] => 
    [4] => marigudem sathema bhalaiah.wav
    [filename] => marigudem sathema bhalaiah.wav
    [5] => 43
    [duration] => 43
    [6] => 2
    [credits_per_sms] => 2
    [7] => 30
    [user_pulse] => 30
    [8] => 1765104364
    [start_date] => 1765104364
    [9] => 0
    [end_date] => 0
    [10] => 161
    [total_sms] => 161
    [11] => 161
    [sent_sms] => 161
    [12] => 0
    [duplicate_sms] => 0
    [13] => 32
    [answered_sms] => 32
    [14] => 21
    [busy_sms] => 21
    [15] => 0
    [congestion_sms] => 0
    [16] => 27
    [failed_sms] => 27
    [17] => 0
    [hangup_sms] => 0
    [18] => 34
    [no_answer_sms] => 34
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 27
    [cutting_sms] => 27
    [22] => 20
    [dnd_sms] => 20
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 32
    [user_answered_sms] => 32
    [27] => 21
    [user_busy_sms] => 21
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 27
    [user_failed_sms] => 27
    [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] => 20
    [user_dnd_sms] => 20
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u680
    [created_by] => u680
    [38] => 0
    [isScheduled] => 0
    [39] => 1765104363
    [create_date] => 1765104363
    [40] => 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":1765104370,"compaign_read_start_time":1765104373,"compaign_read_complete_time":1765104374,"compaign_send_start_time":1765104422,"compaign_send_complete_time":1765104423}
    [action_time] => {"api_allot_time":1765104370,"compaign_read_start_time":1765104373,"compaign_read_complete_time":1765104374,"compaign_send_start_time":1765104422,"compaign_send_complete_time":1765104423}
    [50] => 0
    [compaign_file] => 0
    [51] => u680_82027_07122025_041610PM_485
    [common_name] => u680_82027_07122025_041610PM_485
    [52] => 1765104363_u680_voice.wav
    [voice_file] => 1765104363_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_69166
    [temp_group_table] => contacts_temp_group_69166
    [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] => 1765104662
    [last_credit_update_time] => 1765104662
    [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 : 82027
\compaign_type : Rans per 27.94187 
ans sms 161
dnd sms 20

require answer perrequire answer per : 40

user answer per : 32
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_82027 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_82027 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 : 18 no_answer_count : 7 Busy count :5 congestion_count : 3 failed_count : 3UPDATE voice_compaign_detail_82027 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 7 UPDATE voice_compaign_detail_82027 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 5 UPDATE voice_compaign_detail_82027 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 3 UPDATE voice_compaign_detail_82027 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`='40', `user_busy_sms`='30', `user_congestion_sms`='3', `user_failed_sms`='25', `user_hangup_sms`='0', `user_no_answer_sms`='43', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='20' WHERE `compaign_id`=82027 LIMIT 1 


Time Diff : 1.683

Array
(
    [0] => 82028
    [compaign_id] => 82028
    [1] => u680
    [user_id] => u680
    [2] => 69167,
    [group_ids] => 69167,
    [3] => 
    [sender_id] => 
    [4] => marigudem sathema bhalaiah.wav
    [filename] => marigudem sathema bhalaiah.wav
    [5] => 43
    [duration] => 43
    [6] => 2
    [credits_per_sms] => 2
    [7] => 30
    [user_pulse] => 30
    [8] => 1765104432
    [start_date] => 1765104432
    [9] => 0
    [end_date] => 0
    [10] => 155
    [total_sms] => 155
    [11] => 155
    [sent_sms] => 155
    [12] => 0
    [duplicate_sms] => 0
    [13] => 44
    [answered_sms] => 44
    [14] => 15
    [busy_sms] => 15
    [15] => 0
    [congestion_sms] => 0
    [16] => 27
    [failed_sms] => 27
    [17] => 0
    [hangup_sms] => 0
    [18] => 28
    [no_answer_sms] => 28
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 23
    [cutting_sms] => 23
    [22] => 18
    [dnd_sms] => 18
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 44
    [user_answered_sms] => 44
    [27] => 15
    [user_busy_sms] => 15
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 27
    [user_failed_sms] => 27
    [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] => 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] => 1765104432
    [create_date] => 1765104432
    [40] => 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":1765104439,"compaign_read_start_time":1765104440,"compaign_read_complete_time":1765104440,"compaign_send_start_time":1765104481,"compaign_send_complete_time":1765104482}
    [action_time] => {"api_allot_time":1765104439,"compaign_read_start_time":1765104440,"compaign_read_complete_time":1765104440,"compaign_send_start_time":1765104481,"compaign_send_complete_time":1765104482}
    [50] => 0
    [compaign_file] => 0
    [51] => u680_82028_07122025_041718PM_160
    [common_name] => u680_82028_07122025_041718PM_160
    [52] => 1765104432_u680_voice.wav
    [voice_file] => 1765104432_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_69167
    [temp_group_table] => contacts_temp_group_69167
    [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] => 1765104662
    [last_credit_update_time] => 1765104662
    [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 : 82028
\compaign_type : Rans per 25.90153 
ans sms 155
dnd sms 18

require answer perrequire answer per : 36

user answer per : 44
Total Failed : 23 no_answer_count : 8 Busy count :6 congestion_count : 3 failed_count : 6UPDATE voice_compaign_detail_82028 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 8 UPDATE voice_compaign_detail_82028 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 6 UPDATE voice_compaign_detail_82028 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 3 UPDATE voice_compaign_detail_82028 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`='44', `user_busy_sms`='21', `user_congestion_sms`='3', `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`='18' WHERE `compaign_id`=82028 LIMIT 1 


Time Diff : 1.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>'1764845582'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764845641'  
Array
(
    [0] => 82029
    [compaign_id] => 82029
    [1] => u680
    [user_id] => u680
    [2] => 69168,
    [group_ids] => 69168,
    [3] => 
    [sender_id] => 
    [4] => marigudem sathema bhalaiah.wav
    [filename] => marigudem sathema bhalaiah.wav
    [5] => 43
    [duration] => 43
    [6] => 2
    [credits_per_sms] => 2
    [7] => 30
    [user_pulse] => 30
    [8] => 1765104490
    [start_date] => 1765104490
    [9] => 0
    [end_date] => 0
    [10] => 259
    [total_sms] => 259
    [11] => 259
    [sent_sms] => 259
    [12] => 0
    [duplicate_sms] => 0
    [13] => 35
    [answered_sms] => 35
    [14] => 34
    [busy_sms] => 34
    [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] => 68
    [cutting_sms] => 68
    [22] => 27
    [dnd_sms] => 27
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 35
    [user_answered_sms] => 35
    [27] => 34
    [user_busy_sms] => 34
    [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] => 27
    [user_dnd_sms] => 27
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u680
    [created_by] => u680
    [38] => 0
    [isScheduled] => 0
    [39] => 1765104490
    [create_date] => 1765104490
    [40] => 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":1765104496,"compaign_read_start_time":1765104496,"compaign_read_complete_time":1765104497,"compaign_send_start_time":1765104541,"compaign_send_complete_time":1765104543}
    [action_time] => {"api_allot_time":1765104496,"compaign_read_start_time":1765104496,"compaign_read_complete_time":1765104497,"compaign_send_start_time":1765104541,"compaign_send_complete_time":1765104543}
    [50] => 0
    [compaign_file] => 0
    [51] => u680_82029_07122025_041815PM_814
    [common_name] => u680_82029_07122025_041815PM_814
    [52] => 1765104490_u680_voice.wav
    [voice_file] => 1765104490_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_69168
    [temp_group_table] => contacts_temp_group_69168
    [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] => 1765104782
    [last_credit_update_time] => 1765104782
    [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 : 82029
\compaign_type : Rans per 29.69178 
ans sms 259
dnd sms 27

require answer perrequire answer per : 69

user answer per : 35
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_82029 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_82029 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 : 41 no_answer_count : 14 Busy count :11 congestion_count : 5 failed_count : 11UPDATE voice_compaign_detail_82029 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 14 UPDATE voice_compaign_detail_82029 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 11 UPDATE voice_compaign_detail_82029 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 5 UPDATE voice_compaign_detail_82029 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`='69', `user_busy_sms`='59', `user_congestion_sms`='5', `user_failed_sms`='36', `user_hangup_sms`='0', `user_no_answer_sms`='63', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='27' WHERE `compaign_id`=82029 LIMIT 1 


Time Diff : 1.046

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


Compaign : 81650
\compaign_type : ATans per 27.90334 
ans sms 29336
dnd sms 0

require answer perrequire answer per : 8186

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='146', `user_busy_sms`='9503', `user_congestion_sms`='0', `user_failed_sms`='18595', `user_hangup_sms`='0', `user_no_answer_sms`='1092', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81650 LIMIT 1 


Time Diff : 0.79

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764845942'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764846001'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764846061'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764846122'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764846181'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764846241'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764846302'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764846361'  
Array
(
    [0] => 81999
    [compaign_id] => 81999
    [1] => u607
    [user_id] => u607
    [2] => 69142,
    [group_ids] => 69142,
    [3] => 
    [sender_id] => 
    [4] => laxampur.mp3
    [filename] => laxampur.mp3
    [5] => 22
    [duration] => 22
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765105200
    [start_date] => 1765105200
    [9] => 0
    [end_date] => 0
    [10] => 596
    [total_sms] => 596
    [11] => 596
    [sent_sms] => 596
    [12] => 0
    [duplicate_sms] => 0
    [13] => 30
    [answered_sms] => 30
    [14] => 21
    [busy_sms] => 21
    [15] => 0
    [congestion_sms] => 0
    [16] => 224
    [failed_sms] => 224
    [17] => 0
    [hangup_sms] => 0
    [18] => 25
    [no_answer_sms] => 25
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 234
    [cutting_sms] => 234
    [22] => 62
    [dnd_sms] => 62
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 30
    [user_answered_sms] => 30
    [27] => 21
    [user_busy_sms] => 21
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 224
    [user_failed_sms] => 224
    [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] => 62
    [user_dnd_sms] => 62
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u607
    [created_by] => u607
    [38] => 1
    [isScheduled] => 1
    [39] => 1765102324
    [create_date] => 1765102324
    [40] => 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":1765105206,"compaign_read_start_time":1765105207,"compaign_read_complete_time":1765105208,"compaign_send_start_time":1765105262,"compaign_send_complete_time":1765105264}
    [action_time] => {"api_allot_time":1765105206,"compaign_read_start_time":1765105207,"compaign_read_complete_time":1765105208,"compaign_send_start_time":1765105262,"compaign_send_complete_time":1765105264}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_81999_07122025_043005PM_223
    [common_name] => u607_81999_07122025_043005PM_223
    [52] => 1765101840_u607_voice.wav
    [voice_file] => 1765101840_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_69142
    [temp_group_table] => contacts_temp_group_69142
    [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] => 1765105502
    [last_credit_update_time] => 1765105502
    [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 : 81999
\compaign_type : Rans per 28.84683 
ans sms 596
dnd sms 62

require answer perrequire answer per : 155

user answer per : 30
below is the redis data 125 /n/r
only no answer and busy will be convert, total number require 125 /n/r
UPDATE voice_compaign_detail_81999 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 92 UPDATE voice_compaign_detail_81999 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 92 Total Failed : 138 no_answer_count : 47 Busy count :36 congestion_count : 17 failed_count : 38UPDATE voice_compaign_detail_81999 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 47 UPDATE voice_compaign_detail_81999 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 36 UPDATE voice_compaign_detail_81999 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 17 UPDATE voice_compaign_detail_81999 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`='76', `user_busy_sms`='128', `user_congestion_sms`='17', `user_failed_sms`='174', `user_hangup_sms`='0', `user_no_answer_sms`='139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='62' WHERE `compaign_id`=81999 LIMIT 1 


Time Diff : 0.401

Array
(
    [0] => 82000
    [compaign_id] => 82000
    [1] => u607
    [user_id] => u607
    [2] => 69141,
    [group_ids] => 69141,
    [3] => 
    [sender_id] => 
    [4] => Vasu Kaka.mp3
    [filename] => Vasu Kaka.mp3
    [5] => 26
    [duration] => 26
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765105200
    [start_date] => 1765105200
    [9] => 0
    [end_date] => 0
    [10] => 945
    [total_sms] => 945
    [11] => 945
    [sent_sms] => 945
    [12] => 0
    [duplicate_sms] => 0
    [13] => 45
    [answered_sms] => 45
    [14] => 42
    [busy_sms] => 42
    [15] => 0
    [congestion_sms] => 0
    [16] => 224
    [failed_sms] => 224
    [17] => 0
    [hangup_sms] => 0
    [18] => 59
    [no_answer_sms] => 59
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 350
    [cutting_sms] => 350
    [22] => 225
    [dnd_sms] => 225
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 45
    [user_answered_sms] => 45
    [27] => 42
    [user_busy_sms] => 42
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 224
    [user_failed_sms] => 224
    [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] => 225
    [user_dnd_sms] => 225
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u607
    [created_by] => u607
    [38] => 1
    [isScheduled] => 1
    [39] => 1765102335
    [create_date] => 1765102335
    [40] => 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":1765105206,"compaign_read_start_time":1765105210,"compaign_read_complete_time":1765105212,"compaign_send_start_time":1765105262,"compaign_send_complete_time":1765105264}
    [action_time] => {"api_allot_time":1765105206,"compaign_read_start_time":1765105210,"compaign_read_complete_time":1765105212,"compaign_send_start_time":1765105262,"compaign_send_complete_time":1765105264}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_82000_07122025_043005PM_896
    [common_name] => u607_82000_07122025_043005PM_896
    [52] => 1765097921_u607_voice.wav
    [voice_file] => 1765097921_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_69141
    [temp_group_table] => contacts_temp_group_69141
    [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] => 1765105502
    [last_credit_update_time] => 1765105502
    [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 : 82000
\compaign_type : Rans per 28.89803 
ans sms 945
dnd sms 225

require answer perrequire answer per : 209

user answer per : 45
below is the redis data 164 /n/r
only no answer and busy will be convert, total number require 164 /n/r
UPDATE voice_compaign_detail_82000 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 127 UPDATE voice_compaign_detail_82000 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 127 Total Failed : 194 no_answer_count : 65 Busy count :50 congestion_count : 24 failed_count : 55UPDATE voice_compaign_detail_82000 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 65 UPDATE voice_compaign_detail_82000 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 50 UPDATE voice_compaign_detail_82000 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 24 UPDATE voice_compaign_detail_82000 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`='146', `user_busy_sms`='177', `user_congestion_sms`='24', `user_failed_sms`='181', `user_hangup_sms`='0', `user_no_answer_sms`='192', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='225' WHERE `compaign_id`=82000 LIMIT 1 


Time Diff : 0.253

Array
(
    [0] => 82030
    [compaign_id] => 82030
    [1] => u179
    [user_id] => u179
    [2] => 69169,
    [group_ids] => 69169,
    [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] => 1765105200
    [start_date] => 1765105200
    [9] => 0
    [end_date] => 0
    [10] => 234
    [total_sms] => 234
    [11] => 234
    [sent_sms] => 234
    [12] => 0
    [duplicate_sms] => 0
    [13] => 27
    [answered_sms] => 27
    [14] => 30
    [busy_sms] => 30
    [15] => 0
    [congestion_sms] => 0
    [16] => 39
    [failed_sms] => 39
    [17] => 0
    [hangup_sms] => 0
    [18] => 18
    [no_answer_sms] => 18
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 43
    [cutting_sms] => 43
    [22] => 77
    [dnd_sms] => 77
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 27
    [user_answered_sms] => 27
    [27] => 30
    [user_busy_sms] => 30
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 39
    [user_failed_sms] => 39
    [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] => 77
    [user_dnd_sms] => 77
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u179
    [created_by] => u179
    [38] => 1
    [isScheduled] => 1
    [39] => 1765105022
    [create_date] => 1765105022
    [40] => 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":1765105206,"compaign_read_start_time":1765105213,"compaign_read_complete_time":1765105214,"compaign_send_start_time":1765105262,"compaign_send_complete_time":1765105263}
    [action_time] => {"api_allot_time":1765105206,"compaign_read_start_time":1765105213,"compaign_read_complete_time":1765105214,"compaign_send_start_time":1765105262,"compaign_send_complete_time":1765105263}
    [50] => 0
    [compaign_file] => 0
    [51] => u179_82030_07122025_043005PM_224
    [common_name] => u179_82030_07122025_043005PM_224
    [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_69169
    [temp_group_table] => contacts_temp_group_69169
    [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] => 1765105502
    [last_credit_update_time] => 1765105502
    [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 : 82030
\compaign_type : Rans per 29.89738 
ans sms 234
dnd sms 77

require answer perrequire answer per : 47

user answer per : 27
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_82030 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_82030 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 : 24 no_answer_count : 9 Busy count :7 congestion_count : 3 failed_count : 5UPDATE voice_compaign_detail_82030 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 9 UPDATE voice_compaign_detail_82030 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 7 UPDATE voice_compaign_detail_82030 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 3 UPDATE voice_compaign_detail_82030 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`='47', `user_busy_sms`='38', `user_congestion_sms`='3', `user_failed_sms`='31', `user_hangup_sms`='0', `user_no_answer_sms`='38', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='77' WHERE `compaign_id`=82030 LIMIT 1 


Time Diff : 1.021

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764846421'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764846482'  
Array
(
    [0] => 82031
    [compaign_id] => 82031
    [1] => u122
    [user_id] => u122
    [2] => 69170,
    [group_ids] => 69170,
    [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] => 1765105341
    [start_date] => 1765105341
    [9] => 0
    [end_date] => 0
    [10] => 118
    [total_sms] => 118
    [11] => 118
    [sent_sms] => 118
    [12] => 0
    [duplicate_sms] => 0
    [13] => 47
    [answered_sms] => 47
    [14] => 10
    [busy_sms] => 10
    [15] => 0
    [congestion_sms] => 0
    [16] => 6
    [failed_sms] => 6
    [17] => 0
    [hangup_sms] => 0
    [18] => 27
    [no_answer_sms] => 27
    [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] => 47
    [user_answered_sms] => 47
    [27] => 10
    [user_busy_sms] => 10
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 6
    [user_failed_sms] => 6
    [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] => 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] => 1765105341
    [create_date] => 1765105341
    [40] => 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":1765105346,"compaign_read_start_time":1765105349,"compaign_read_complete_time":1765105349,"compaign_send_start_time":1765105381,"compaign_send_complete_time":1765105382}
    [action_time] => {"api_allot_time":1765105346,"compaign_read_start_time":1765105349,"compaign_read_complete_time":1765105349,"compaign_send_start_time":1765105381,"compaign_send_complete_time":1765105382}
    [50] => 0
    [compaign_file] => 0
    [51] => u122_82031_07122025_043226PM_270
    [common_name] => u122_82031_07122025_043226PM_270
    [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_69170
    [temp_group_table] => contacts_temp_group_69170
    [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] => 1765105621
    [last_credit_update_time] => 1765105621
    [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 : 82031
\compaign_type : Rans per 30.65317 
ans sms 118
dnd sms 16

require answer perrequire answer per : 32

user answer per : 47
Total Failed : 12 no_answer_count : 5 Busy count :4 congestion_count : 2 failed_count : 1UPDATE voice_compaign_detail_82031 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 5 UPDATE voice_compaign_detail_82031 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 4 UPDATE voice_compaign_detail_82031 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 2 UPDATE voice_compaign_detail_82031 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`='47', `user_busy_sms`='14', `user_congestion_sms`='2', `user_failed_sms`='7', `user_hangup_sms`='0', `user_no_answer_sms`='32', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='16' WHERE `compaign_id`=82031 LIMIT 1 


Time Diff : 2.314

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764846541'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764846602'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764846661'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764846721'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764846782'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764846841'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764846901'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764846962'  
Array
(
    [0] => 82038
    [compaign_id] => 82038
    [1] => u680
    [user_id] => u680
    [2] => 69178,
    [group_ids] => 69178,
    [3] => 
    [sender_id] => 
    [4] => marigudem sathema bhalaiah.wav
    [filename] => marigudem sathema bhalaiah.wav
    [5] => 43
    [duration] => 43
    [6] => 2
    [credits_per_sms] => 2
    [7] => 30
    [user_pulse] => 30
    [8] => 1765105815
    [start_date] => 1765105815
    [9] => 0
    [end_date] => 0
    [10] => 1096
    [total_sms] => 1096
    [11] => 1096
    [sent_sms] => 1096
    [12] => 0
    [duplicate_sms] => 0
    [13] => 155
    [answered_sms] => 155
    [14] => 103
    [busy_sms] => 103
    [15] => 0
    [congestion_sms] => 0
    [16] => 139
    [failed_sms] => 139
    [17] => 0
    [hangup_sms] => 0
    [18] => 146
    [no_answer_sms] => 146
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 420
    [cutting_sms] => 420
    [22] => 133
    [dnd_sms] => 133
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 155
    [user_answered_sms] => 155
    [27] => 103
    [user_busy_sms] => 103
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 139
    [user_failed_sms] => 139
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 146
    [user_no_answer_sms] => 146
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 133
    [user_dnd_sms] => 133
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u680
    [created_by] => u680
    [38] => 0
    [isScheduled] => 0
    [39] => 1765105814
    [create_date] => 1765105814
    [40] => 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":1765105820,"compaign_read_start_time":1765105823,"compaign_read_complete_time":1765105824,"compaign_send_start_time":1765105861,"compaign_send_complete_time":1765105864}
    [action_time] => {"api_allot_time":1765105820,"compaign_read_start_time":1765105823,"compaign_read_complete_time":1765105824,"compaign_send_start_time":1765105861,"compaign_send_complete_time":1765105864}
    [50] => 0
    [compaign_file] => 0
    [51] => u680_82038_07122025_044020PM_209
    [common_name] => u680_82038_07122025_044020PM_209
    [52] => 1765105814_u680_voice.wav
    [voice_file] => 1765105814_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_69178
    [temp_group_table] => contacts_temp_group_69178
    [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] => 1765106102
    [last_credit_update_time] => 1765106102
    [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 : 82038
\compaign_type : Rans per 27.60998 
ans sms 1096
dnd sms 133

require answer perrequire answer per : 266

user answer per : 155
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_82038 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 84 UPDATE voice_compaign_detail_82038 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 84 Total Failed : 311 no_answer_count : 104 Busy count :80 congestion_count : 37 failed_count : 90UPDATE voice_compaign_detail_82038 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 104 UPDATE voice_compaign_detail_82038 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 80 UPDATE voice_compaign_detail_82038 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 37 UPDATE voice_compaign_detail_82038 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`='266', `user_busy_sms`='223', `user_congestion_sms`='37', `user_failed_sms`='170', `user_hangup_sms`='0', `user_no_answer_sms`='267', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='133' WHERE `compaign_id`=82038 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>'1764847021'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764847082'  
Array
(
    [0] => 82040
    [compaign_id] => 82040
    [1] => u122
    [user_id] => u122
    [2] => 69180,
    [group_ids] => 69180,
    [3] => 
    [sender_id] => 
    [4] => amaan_trustama0612.mp3
    [filename] => amaan_trustama0612.mp3
    [5] => 27
    [duration] => 27
    [6] => 2
    [credits_per_sms] => 2
    [7] => 15
    [user_pulse] => 15
    [8] => 1765105935
    [start_date] => 1765105935
    [9] => 0
    [end_date] => 0
    [10] => 162
    [total_sms] => 162
    [11] => 162
    [sent_sms] => 162
    [12] => 0
    [duplicate_sms] => 0
    [13] => 53
    [answered_sms] => 53
    [14] => 19
    [busy_sms] => 19
    [15] => 0
    [congestion_sms] => 0
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 39
    [no_answer_sms] => 39
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 26
    [cutting_sms] => 26
    [22] => 13
    [dnd_sms] => 13
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 53
    [user_answered_sms] => 53
    [27] => 19
    [user_busy_sms] => 19
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 12
    [user_failed_sms] => 12
    [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] => 13
    [user_dnd_sms] => 13
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u122
    [created_by] => u122
    [38] => 0
    [isScheduled] => 0
    [39] => 1765105935
    [create_date] => 1765105935
    [40] => 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":1765105940,"compaign_read_start_time":1765105942,"compaign_read_complete_time":1765105943,"compaign_send_start_time":1765105982,"compaign_send_complete_time":1765105985}
    [action_time] => {"api_allot_time":1765105940,"compaign_read_start_time":1765105942,"compaign_read_complete_time":1765105943,"compaign_send_start_time":1765105982,"compaign_send_complete_time":1765105985}
    [50] => 0
    [compaign_file] => 0
    [51] => u122_82040_07122025_044220PM_251
    [common_name] => u122_82040_07122025_044220PM_251
    [52] => api_1764999376_u122_voice_317.wav
    [voice_file] => api_1764999376_u122_voice_317.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_69180
    [temp_group_table] => contacts_temp_group_69180
    [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] => 1765106221
    [last_credit_update_time] => 1765106221
    [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 : 82040
\compaign_type : Rans per 27.73478 
ans sms 162
dnd sms 13

require answer perrequire answer per : 42

user answer per : 53
Total Failed : 26 no_answer_count : 9 Busy count :7 congestion_count : 4 failed_count : 6UPDATE voice_compaign_detail_82040 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 9 UPDATE voice_compaign_detail_82040 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 7 UPDATE voice_compaign_detail_82040 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 4 UPDATE voice_compaign_detail_82040 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`='53', `user_busy_sms`='26', `user_congestion_sms`='4', `user_failed_sms`='18', `user_hangup_sms`='0', `user_no_answer_sms`='48', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='13' WHERE `compaign_id`=82040 LIMIT 1 


Time Diff : 1.679

Array
(
    [0] => 82041
    [compaign_id] => 82041
    [1] => u680
    [user_id] => u680
    [2] => 69181,
    [group_ids] => 69181,
    [3] => 
    [sender_id] => 
    [4] => kishtapuram Narsimha goud kiran.wav
    [filename] => kishtapuram Narsimha goud kiran.wav
    [5] => 32
    [duration] => 32
    [6] => 2
    [credits_per_sms] => 2
    [7] => 30
    [user_pulse] => 30
    [8] => 1765105960
    [start_date] => 1765105960
    [9] => 0
    [end_date] => 0
    [10] => 467
    [total_sms] => 467
    [11] => 467
    [sent_sms] => 467
    [12] => 0
    [duplicate_sms] => 0
    [13] => 89
    [answered_sms] => 89
    [14] => 43
    [busy_sms] => 43
    [15] => 0
    [congestion_sms] => 0
    [16] => 40
    [failed_sms] => 40
    [17] => 0
    [hangup_sms] => 0
    [18] => 78
    [no_answer_sms] => 78
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 160
    [cutting_sms] => 160
    [22] => 57
    [dnd_sms] => 57
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 89
    [user_answered_sms] => 89
    [27] => 43
    [user_busy_sms] => 43
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 40
    [user_failed_sms] => 40
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 78
    [user_no_answer_sms] => 78
    [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] => 1765105959
    [create_date] => 1765105959
    [40] => 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":1765105966,"compaign_read_start_time":1765105969,"compaign_read_complete_time":1765105970,"compaign_send_start_time":1765105982,"compaign_send_complete_time":1765105986}
    [action_time] => {"api_allot_time":1765105966,"compaign_read_start_time":1765105969,"compaign_read_complete_time":1765105970,"compaign_send_start_time":1765105982,"compaign_send_complete_time":1765105986}
    [50] => 0
    [compaign_file] => 0
    [51] => u680_82041_07122025_044246PM_812
    [common_name] => u680_82041_07122025_044246PM_812
    [52] => 1765105959_u680_voice.wav
    [voice_file] => 1765105959_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_69181
    [temp_group_table] => contacts_temp_group_69181
    [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] => 1765106221
    [last_credit_update_time] => 1765106221
    [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 : 82041
\compaign_type : Rans per 25.58801 
ans sms 467
dnd sms 57

require answer perrequire answer per : 105

user answer per : 89
below is the redis data 16 /n/r
only no answer and busy will be convert, total number require 16 /n/r
UPDATE voice_compaign_detail_82041 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_82041 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 : 138 no_answer_count : 47 Busy count :36 congestion_count : 17 failed_count : 38UPDATE voice_compaign_detail_82041 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 47 UPDATE voice_compaign_detail_82041 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 36 UPDATE voice_compaign_detail_82041 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 17 UPDATE voice_compaign_detail_82041 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`='105', `user_busy_sms`='86', `user_congestion_sms`='17', `user_failed_sms`='74', `user_hangup_sms`='0', `user_no_answer_sms`='128', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='57' WHERE `compaign_id`=82041 LIMIT 1 


Time Diff : 0.582

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764847141'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764847202'  
Array
(
    [0] => 82042
    [compaign_id] => 82042
    [1] => u680
    [user_id] => u680
    [2] => 69182,
    [group_ids] => 69182,
    [3] => 
    [sender_id] => 
    [4] => kishtapuram Narsimha goud kiran.wav
    [filename] => kishtapuram Narsimha goud kiran.wav
    [5] => 32
    [duration] => 32
    [6] => 2
    [credits_per_sms] => 2
    [7] => 30
    [user_pulse] => 30
    [8] => 1765106041
    [start_date] => 1765106041
    [9] => 0
    [end_date] => 0
    [10] => 105
    [total_sms] => 105
    [11] => 105
    [sent_sms] => 105
    [12] => 0
    [duplicate_sms] => 0
    [13] => 42
    [answered_sms] => 42
    [14] => 17
    [busy_sms] => 17
    [15] => 0
    [congestion_sms] => 0
    [16] => 14
    [failed_sms] => 14
    [17] => 0
    [hangup_sms] => 0
    [18] => 25
    [no_answer_sms] => 25
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 4
    [cutting_sms] => 4
    [22] => 3
    [dnd_sms] => 3
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 42
    [user_answered_sms] => 42
    [27] => 17
    [user_busy_sms] => 17
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 14
    [user_failed_sms] => 14
    [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] => 3
    [user_dnd_sms] => 3
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u680
    [created_by] => u680
    [38] => 0
    [isScheduled] => 0
    [39] => 1765106041
    [create_date] => 1765106041
    [40] => 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":1765106048,"compaign_read_start_time":1765106050,"compaign_read_complete_time":1765106050,"compaign_send_start_time":1765106102,"compaign_send_complete_time":1765106105}
    [action_time] => {"api_allot_time":1765106048,"compaign_read_start_time":1765106050,"compaign_read_complete_time":1765106050,"compaign_send_start_time":1765106102,"compaign_send_complete_time":1765106105}
    [50] => 0
    [compaign_file] => 0
    [51] => u680_82042_07122025_044407PM_346
    [common_name] => u680_82042_07122025_044407PM_346
    [52] => 1765106041_u680_voice.wav
    [voice_file] => 1765106041_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_69182
    [temp_group_table] => contacts_temp_group_69182
    [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] => 1765106341
    [last_credit_update_time] => 1765106341
    [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 : 82042
\compaign_type : Rans per 30.15958 
ans sms 105
dnd sms 3

require answer perrequire answer per : 31

user answer per : 42
Total Failed : 4 no_answer_count : 2 Busy count :2 congestion_count : 1 failed_count : -1UPDATE voice_compaign_detail_82042 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 2 UPDATE voice_compaign_detail_82042 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 2 UPDATE voice_compaign_detail_82042 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`='42', `user_busy_sms`='19', `user_congestion_sms`='0', `user_failed_sms`='14', `user_hangup_sms`='0', `user_no_answer_sms`='27', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='3' WHERE `compaign_id`=82042 LIMIT 1 


Time Diff : 2.59

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764847262'  
Array
(
    [0] => 82013
    [compaign_id] => 82013
    [1] => u607
    [user_id] => u607
    [2] => 69152,
    [group_ids] => 69152,
    [3] => 
    [sender_id] => 
    [4] => LAVAYANA.mp3
    [filename] => LAVAYANA.mp3
    [5] => 28
    [duration] => 28
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765106100
    [start_date] => 1765106100
    [9] => 0
    [end_date] => 0
    [10] => 801
    [total_sms] => 801
    [11] => 801
    [sent_sms] => 801
    [12] => 0
    [duplicate_sms] => 0
    [13] => 31
    [answered_sms] => 31
    [14] => 34
    [busy_sms] => 34
    [15] => 0
    [congestion_sms] => 0
    [16] => 247
    [failed_sms] => 247
    [17] => 0
    [hangup_sms] => 0
    [18] => 20
    [no_answer_sms] => 20
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 314
    [cutting_sms] => 314
    [22] => 155
    [dnd_sms] => 155
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 31
    [user_answered_sms] => 31
    [27] => 34
    [user_busy_sms] => 34
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 247
    [user_failed_sms] => 247
    [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] => 155
    [user_dnd_sms] => 155
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u607
    [created_by] => u607
    [38] => 1
    [isScheduled] => 1
    [39] => 1765103225
    [create_date] => 1765103225
    [40] => 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":1765106106,"compaign_read_start_time":1765106107,"compaign_read_complete_time":1765106109,"compaign_send_start_time":1765106162,"compaign_send_complete_time":1765106164}
    [action_time] => {"api_allot_time":1765106106,"compaign_read_start_time":1765106107,"compaign_read_complete_time":1765106109,"compaign_send_start_time":1765106162,"compaign_send_complete_time":1765106164}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_82013_07122025_044505PM_603
    [common_name] => u607_82013_07122025_044505PM_603
    [52] => 1765098778_u607_voice.wav
    [voice_file] => 1765098778_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_69152
    [temp_group_table] => contacts_temp_group_69152
    [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] => 1765106402
    [last_credit_update_time] => 1765106402
    [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 : 82013
\compaign_type : Rans per 28.05764 
ans sms 801
dnd sms 155

require answer perrequire answer per : 182

user answer per : 31
below is the redis data 151 /n/r
only no answer and busy will be convert, total number require 151 /n/r
UPDATE voice_compaign_detail_82013 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 121 UPDATE voice_compaign_detail_82013 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 121 Total Failed : 180 no_answer_count : 61 Busy count :47 congestion_count : 22 failed_count : 50UPDATE voice_compaign_detail_82013 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 61 UPDATE voice_compaign_detail_82013 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 47 UPDATE voice_compaign_detail_82013 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 22 UPDATE voice_compaign_detail_82013 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`='85', `user_busy_sms`='168', `user_congestion_sms`='22', `user_failed_sms`='189', `user_hangup_sms`='0', `user_no_answer_sms`='182', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='155' WHERE `compaign_id`=82013 LIMIT 1 


Time Diff : 0.338

Array
(
    [0] => 82043
    [compaign_id] => 82043
    [1] => u680
    [user_id] => u680
    [2] => 69183,
    [group_ids] => 69183,
    [3] => 
    [sender_id] => 
    [4] => kishtapuram Narsimha goud kiran.wav
    [filename] => kishtapuram Narsimha goud kiran.wav
    [5] => 32
    [duration] => 32
    [6] => 2
    [credits_per_sms] => 2
    [7] => 30
    [user_pulse] => 30
    [8] => 1765106100
    [start_date] => 1765106100
    [9] => 0
    [end_date] => 0
    [10] => 115
    [total_sms] => 115
    [11] => 115
    [sent_sms] => 115
    [12] => 0
    [duplicate_sms] => 0
    [13] => 32
    [answered_sms] => 32
    [14] => 19
    [busy_sms] => 19
    [15] => 0
    [congestion_sms] => 0
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 34
    [no_answer_sms] => 34
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 5
    [cutting_sms] => 5
    [22] => 13
    [dnd_sms] => 13
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 32
    [user_answered_sms] => 32
    [27] => 19
    [user_busy_sms] => 19
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 12
    [user_failed_sms] => 12
    [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] => 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] => 1765106100
    [create_date] => 1765106100
    [40] => 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":1765106106,"compaign_read_start_time":1765106110,"compaign_read_complete_time":1765106111,"compaign_send_start_time":1765106162,"compaign_send_complete_time":1765106163}
    [action_time] => {"api_allot_time":1765106106,"compaign_read_start_time":1765106110,"compaign_read_complete_time":1765106111,"compaign_send_start_time":1765106162,"compaign_send_complete_time":1765106163}
    [50] => 0
    [compaign_file] => 0
    [51] => u680_82043_07122025_044505PM_300
    [common_name] => u680_82043_07122025_044505PM_300
    [52] => 1765106100_u680_voice.wav
    [voice_file] => 1765106100_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_69183
    [temp_group_table] => contacts_temp_group_69183
    [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] => 1765106402
    [last_credit_update_time] => 1765106402
    [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 : 82043
\compaign_type : Rans per 27.7899 
ans sms 115
dnd sms 13

require answer perrequire answer per : 29

user answer per : 32
Total Failed : 5 no_answer_count : 2 Busy count :2 congestion_count : 1 failed_count : 0UPDATE voice_compaign_detail_82043 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 2 UPDATE voice_compaign_detail_82043 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 2 UPDATE voice_compaign_detail_82043 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`='32', `user_busy_sms`='21', `user_congestion_sms`='1', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='36', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='13' WHERE `compaign_id`=82043 LIMIT 1 


Time Diff : 2.365

Array
(
    [0] => 82044
    [compaign_id] => 82044
    [1] => u680
    [user_id] => u680
    [2] => 69184,
    [group_ids] => 69184,
    [3] => 
    [sender_id] => 
    [4] => kishtapuram Narsimha goud kiran.wav
    [filename] => kishtapuram Narsimha goud kiran.wav
    [5] => 32
    [duration] => 32
    [6] => 2
    [credits_per_sms] => 2
    [7] => 30
    [user_pulse] => 30
    [8] => 1765106175
    [start_date] => 1765106175
    [9] => 0
    [end_date] => 0
    [10] => 245
    [total_sms] => 245
    [11] => 245
    [sent_sms] => 245
    [12] => 0
    [duplicate_sms] => 0
    [13] => 58
    [answered_sms] => 58
    [14] => 30
    [busy_sms] => 30
    [15] => 0
    [congestion_sms] => 0
    [16] => 18
    [failed_sms] => 18
    [17] => 0
    [hangup_sms] => 0
    [18] => 38
    [no_answer_sms] => 38
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 60
    [cutting_sms] => 60
    [22] => 41
    [dnd_sms] => 41
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 58
    [user_answered_sms] => 58
    [27] => 30
    [user_busy_sms] => 30
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 18
    [user_failed_sms] => 18
    [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] => 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] => 1765106175
    [create_date] => 1765106175
    [40] => 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":1765106180,"compaign_read_start_time":1765106183,"compaign_read_complete_time":1765106183,"compaign_send_start_time":1765106221,"compaign_send_complete_time":1765106223}
    [action_time] => {"api_allot_time":1765106180,"compaign_read_start_time":1765106183,"compaign_read_complete_time":1765106183,"compaign_send_start_time":1765106221,"compaign_send_complete_time":1765106223}
    [50] => 0
    [compaign_file] => 0
    [51] => u680_82044_07122025_044620PM_121
    [common_name] => u680_82044_07122025_044620PM_121
    [52] => 1765106175_u680_voice.wav
    [voice_file] => 1765106175_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_69184
    [temp_group_table] => contacts_temp_group_69184
    [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] => 1765106462
    [last_credit_update_time] => 1765106462
    [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 : 82044
\compaign_type : Rans per 26.36827 
ans sms 245
dnd sms 41

require answer perrequire answer per : 54

user answer per : 58
Total Failed : 60 no_answer_count : 21 Busy count :16 congestion_count : 8 failed_count : 15UPDATE voice_compaign_detail_82044 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 21 UPDATE voice_compaign_detail_82044 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 16 UPDATE voice_compaign_detail_82044 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 8 UPDATE voice_compaign_detail_82044 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`='58', `user_busy_sms`='46', `user_congestion_sms`='8', `user_failed_sms`='33', `user_hangup_sms`='0', `user_no_answer_sms`='59', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='41' WHERE `compaign_id`=82044 LIMIT 1 


Time Diff : 0.865

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764847321'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764847382'  
Array
(
    [0] => 82047
    [compaign_id] => 82047
    [1] => u29720
    [user_id] => u29720
    [2] => 69187,
    [group_ids] => 69187,
    [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] => 1765106228
    [start_date] => 1765106228
    [9] => 0
    [end_date] => 0
    [10] => 1661
    [total_sms] => 1661
    [11] => 1661
    [sent_sms] => 1661
    [12] => 0
    [duplicate_sms] => 0
    [13] => 207
    [answered_sms] => 207
    [14] => 114
    [busy_sms] => 114
    [15] => 0
    [congestion_sms] => 0
    [16] => 177
    [failed_sms] => 177
    [17] => 0
    [hangup_sms] => 0
    [18] => 176
    [no_answer_sms] => 176
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 612
    [cutting_sms] => 612
    [22] => 375
    [dnd_sms] => 375
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 207
    [user_answered_sms] => 207
    [27] => 114
    [user_busy_sms] => 114
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 177
    [user_failed_sms] => 177
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 176
    [user_no_answer_sms] => 176
    [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] => 1765106228
    [create_date] => 1765106228
    [40] => 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":1765106234,"compaign_read_start_time":1765106236,"compaign_read_complete_time":1765106240,"compaign_send_start_time":1765106282,"compaign_send_complete_time":1765106285}
    [action_time] => {"api_allot_time":1765106234,"compaign_read_start_time":1765106236,"compaign_read_complete_time":1765106240,"compaign_send_start_time":1765106282,"compaign_send_complete_time":1765106285}
    [50] => 0
    [compaign_file] => 0
    [51] => u29720_82047_07122025_044713PM_864
    [common_name] => u29720_82047_07122025_044713PM_864
    [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_69187
    [temp_group_table] => contacts_temp_group_69187
    [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] => 1765106521
    [last_credit_update_time] => 1765106521
    [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 : 82047
\compaign_type : Rans per 27.02883 
ans sms 1661
dnd sms 375

require answer perrequire answer per : 348

user answer per : 207
below is the redis data 141 UPDATE voice_compaign_detail_82047 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 141 Total Failed : 471 no_answer_count : 158 Busy count :121 congestion_count : 56 failed_count : 136UPDATE voice_compaign_detail_82047 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 158 UPDATE voice_compaign_detail_82047 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 121 UPDATE voice_compaign_detail_82047 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 56 UPDATE voice_compaign_detail_82047 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 136 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='348', `user_busy_sms`='235', `user_congestion_sms`='56', `user_failed_sms`='313', `user_hangup_sms`='0', `user_no_answer_sms`='334', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='375' WHERE `compaign_id`=82047 LIMIT 1 


Time Diff : 0.164

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764847441'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764847501'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764847562'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764847621'  
Array
(
    [0] => 82051
    [compaign_id] => 82051
    [1] => u83
    [user_id] => u83
    [2] => 69189,
    [group_ids] => 69189,
    [3] => 
    [sender_id] => 
    [4] => cheriyal_sarpanch.mp3
    [filename] => cheriyal_sarpanch.mp3
    [5] => 19
    [duration] => 19
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765106525
    [start_date] => 1765106525
    [9] => 0
    [end_date] => 0
    [10] => 337
    [total_sms] => 337
    [11] => 337
    [sent_sms] => 337
    [12] => 0
    [duplicate_sms] => 0
    [13] => 14
    [answered_sms] => 14
    [14] => 22
    [busy_sms] => 22
    [15] => 0
    [congestion_sms] => 0
    [16] => 52
    [failed_sms] => 52
    [17] => 0
    [hangup_sms] => 0
    [18] => 25
    [no_answer_sms] => 25
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 75
    [cutting_sms] => 75
    [22] => 149
    [dnd_sms] => 149
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 22
    [user_busy_sms] => 22
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 52
    [user_failed_sms] => 52
    [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] => 149
    [user_dnd_sms] => 149
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u83
    [created_by] => u83
    [38] => 0
    [isScheduled] => 0
    [39] => 1765106525
    [create_date] => 1765106525
    [40] => 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":1765106532,"compaign_read_start_time":1765106533,"compaign_read_complete_time":1765106534,"compaign_send_start_time":1765106582,"compaign_send_complete_time":1765106583}
    [action_time] => {"api_allot_time":1765106532,"compaign_read_start_time":1765106533,"compaign_read_complete_time":1765106534,"compaign_send_start_time":1765106582,"compaign_send_complete_time":1765106583}
    [50] => 0
    [compaign_file] => 0
    [51] => u83_82051_07122025_045211PM_936
    [common_name] => u83_82051_07122025_045211PM_936
    [52] => 1765002393_u83_voice.wav
    [voice_file] => 1765002393_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_69189
    [temp_group_table] => contacts_temp_group_69189
    [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] => 1765106821
    [last_credit_update_time] => 1765106821
    [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 : 82051
\compaign_type : Rans per 29.38109 
ans sms 337
dnd sms 149

require answer perrequire answer per : 56

user answer per : 14
below is the redis data 42 /n/r
only no answer and busy will be convert, total number require 42 /n/r
UPDATE voice_compaign_detail_82051 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_82051 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 : 34 no_answer_count : 12 Busy count :9 congestion_count : 5 failed_count : 8UPDATE voice_compaign_detail_82051 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 12 UPDATE voice_compaign_detail_82051 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 9 UPDATE voice_compaign_detail_82051 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 5 UPDATE voice_compaign_detail_82051 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`='56', `user_busy_sms`='45', `user_congestion_sms`='5', `user_failed_sms`='33', `user_hangup_sms`='0', `user_no_answer_sms`='49', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='149' WHERE `compaign_id`=82051 LIMIT 1 


Time Diff : 0.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>'1764847682'  
Array
(
    [0] => 82052
    [compaign_id] => 82052
    [1] => u680
    [user_id] => u680
    [2] => 69191,
    [group_ids] => 69191,
    [3] => 
    [sender_id] => 
    [4] => srinu goud nandhigama.wav
    [filename] => srinu goud nandhigama.wav
    [5] => 23
    [duration] => 23
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765106562
    [start_date] => 1765106562
    [9] => 0
    [end_date] => 0
    [10] => 135
    [total_sms] => 135
    [11] => 135
    [sent_sms] => 135
    [12] => 0
    [duplicate_sms] => 0
    [13] => 32
    [answered_sms] => 32
    [14] => 11
    [busy_sms] => 11
    [15] => 0
    [congestion_sms] => 0
    [16] => 14
    [failed_sms] => 14
    [17] => 0
    [hangup_sms] => 0
    [18] => 27
    [no_answer_sms] => 27
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 16
    [cutting_sms] => 16
    [22] => 35
    [dnd_sms] => 35
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 32
    [user_answered_sms] => 32
    [27] => 11
    [user_busy_sms] => 11
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 14
    [user_failed_sms] => 14
    [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] => 35
    [user_dnd_sms] => 35
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u680
    [created_by] => u680
    [38] => 0
    [isScheduled] => 0
    [39] => 1765106562
    [create_date] => 1765106562
    [40] => 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":1765106568,"compaign_read_start_time":1765106569,"compaign_read_complete_time":1765106570,"compaign_send_start_time":1765106582,"compaign_send_complete_time":1765106582}
    [action_time] => {"api_allot_time":1765106568,"compaign_read_start_time":1765106569,"compaign_read_complete_time":1765106570,"compaign_send_start_time":1765106582,"compaign_send_complete_time":1765106582}
    [50] => 0
    [compaign_file] => 0
    [51] => u680_82052_07122025_045248PM_742
    [common_name] => u680_82052_07122025_045248PM_742
    [52] => 1765106562_u680_voice.wav
    [voice_file] => 1765106562_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_69191
    [temp_group_table] => contacts_temp_group_69191
    [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] => 1765106821
    [last_credit_update_time] => 1765106821
    [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 : 82052
\compaign_type : Rans per 30.97277 
ans sms 135
dnd sms 35

require answer perrequire answer per : 31

user answer per : 32
Total Failed : 16 no_answer_count : 6 Busy count :5 congestion_count : 2 failed_count : 3UPDATE voice_compaign_detail_82052 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 6 UPDATE voice_compaign_detail_82052 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 5 UPDATE voice_compaign_detail_82052 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 2 UPDATE voice_compaign_detail_82052 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`='32', `user_busy_sms`='16', `user_congestion_sms`='2', `user_failed_sms`='17', `user_hangup_sms`='0', `user_no_answer_sms`='33', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='35' WHERE `compaign_id`=82052 LIMIT 1 


Time Diff : 2.015

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764847741'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764847802'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764847861'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764847921'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764847981'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764848042'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764848101'  
Array
(
    [0] => 82023
    [compaign_id] => 82023
    [1] => u607
    [user_id] => u607
    [2] => 69163,
    [group_ids] => 69163,
    [3] => 
    [sender_id] => 
    [4] => anji reddy.mp3
    [filename] => anji reddy.mp3
    [5] => 69
    [duration] => 69
    [6] => 3
    [credits_per_sms] => 3
    [7] => 30
    [user_pulse] => 30
    [8] => 1765107000
    [start_date] => 1765107000
    [9] => 0
    [end_date] => 0
    [10] => 1011
    [total_sms] => 1011
    [11] => 1011
    [sent_sms] => 1011
    [12] => 0
    [duplicate_sms] => 0
    [13] => 70
    [answered_sms] => 70
    [14] => 81
    [busy_sms] => 81
    [15] => 0
    [congestion_sms] => 0
    [16] => 224
    [failed_sms] => 224
    [17] => 0
    [hangup_sms] => 0
    [18] => 65
    [no_answer_sms] => 65
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 371
    [cutting_sms] => 371
    [22] => 200
    [dnd_sms] => 200
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 70
    [user_answered_sms] => 70
    [27] => 81
    [user_busy_sms] => 81
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 224
    [user_failed_sms] => 224
    [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] => 200
    [user_dnd_sms] => 200
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u607
    [created_by] => u607
    [38] => 1
    [isScheduled] => 1
    [39] => 1765104134
    [create_date] => 1765104134
    [40] => 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":1765107006,"compaign_read_start_time":1765107008,"compaign_read_complete_time":1765107009,"compaign_send_start_time":1765107062,"compaign_send_complete_time":1765107064}
    [action_time] => {"api_allot_time":1765107006,"compaign_read_start_time":1765107008,"compaign_read_complete_time":1765107009,"compaign_send_start_time":1765107062,"compaign_send_complete_time":1765107064}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_82023_07122025_050005PM_293
    [common_name] => u607_82023_07122025_050005PM_293
    [52] => 1765100166_u607_voice.wav
    [voice_file] => 1765100166_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_69163
    [temp_group_table] => contacts_temp_group_69163
    [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] => 1765107242
    [last_credit_update_time] => 1765107242
    [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":"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,sr95,u607
    [uphierarchy] => admin,sr95,u607
    [113] => 
    [extra_params_json] => 
)


Compaign : 82023
\compaign_type : Rans per 26.32508 
ans sms 1011
dnd sms 200

require answer perrequire answer per : 214

user answer per : 70
below is the redis data 144 /n/r
only no answer and busy will be convert, total number require 144 /n/r
UPDATE voice_compaign_detail_82023 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 113 UPDATE voice_compaign_detail_82023 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 113 Total Failed : 234 no_answer_count : 79 Busy count :61 congestion_count : 28 failed_count : 66UPDATE voice_compaign_detail_82023 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 79 UPDATE voice_compaign_detail_82023 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 61 UPDATE voice_compaign_detail_82023 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 28 UPDATE voice_compaign_detail_82023 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 66 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='214', `user_busy_sms`='174', `user_congestion_sms`='28', `user_failed_sms`='201', `user_hangup_sms`='0', `user_no_answer_sms`='194', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='200' WHERE `compaign_id`=82023 LIMIT 1 


Time Diff : 0.177

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764848162'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764848221'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764848281'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764848342'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764848402'  
Array
(
    [0] => 82055
    [compaign_id] => 82055
    [1] => u86
    [user_id] => u86
    [2] => 69193,
    [group_ids] => 69193,
    [3] => 
    [sender_id] => 
    [4] => ADVOCATE.mp3
    [filename] => ADVOCATE.mp3
    [5] => 24
    [duration] => 24
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765107232
    [start_date] => 1765107232
    [9] => 0
    [end_date] => 0
    [10] => 1321
    [total_sms] => 1321
    [11] => 1321
    [sent_sms] => 1321
    [12] => 0
    [duplicate_sms] => 0
    [13] => 162
    [answered_sms] => 162
    [14] => 164
    [busy_sms] => 164
    [15] => 0
    [congestion_sms] => 0
    [16] => 96
    [failed_sms] => 96
    [17] => 0
    [hangup_sms] => 0
    [18] => 133
    [no_answer_sms] => 133
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 462
    [cutting_sms] => 462
    [22] => 304
    [dnd_sms] => 304
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 162
    [user_answered_sms] => 162
    [27] => 164
    [user_busy_sms] => 164
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 96
    [user_failed_sms] => 96
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 133
    [user_no_answer_sms] => 133
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 304
    [user_dnd_sms] => 304
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u86
    [created_by] => u86
    [38] => 0
    [isScheduled] => 0
    [39] => 1765107232
    [create_date] => 1765107232
    [40] => 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":1765107242,"compaign_read_start_time":1765107245,"compaign_read_complete_time":1765107248,"compaign_send_start_time":1765107301,"compaign_send_complete_time":1765107304}
    [action_time] => {"api_allot_time":1765107242,"compaign_read_start_time":1765107245,"compaign_read_complete_time":1765107248,"compaign_send_start_time":1765107301,"compaign_send_complete_time":1765107304}
    [50] => 0
    [compaign_file] => 0
    [51] => u86_82055_07122025_050402PM_305
    [common_name] => u86_82055_07122025_050402PM_305
    [52] => 1765088082_u86_voice.wav
    [voice_file] => 1765088082_u86_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_69193
    [temp_group_table] => contacts_temp_group_69193
    [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] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765107542
    [last_credit_update_time] => 1765107542
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 161
    [user_voice_plan_id] => 161
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.19
    [pulse_rate] => 0.19
    [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,u86
    [uphierarchy] => admin,sr3,u86
    [113] => 
    [extra_params_json] => 
)


Compaign : 82055
\compaign_type : Rans per 30.54783 
ans sms 1321
dnd sms 304

require answer perrequire answer per : 311

user answer per : 162
below is the redis data 149 /n/r
only no answer and busy will be convert, total number require 149 /n/r
UPDATE voice_compaign_detail_82055 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 118 UPDATE voice_compaign_detail_82055 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 118 Total Failed : 266 no_answer_count : 89 Busy count :69 congestion_count : 32 failed_count : 76UPDATE voice_compaign_detail_82055 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 89 UPDATE voice_compaign_detail_82055 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 69 UPDATE voice_compaign_detail_82055 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 32 UPDATE voice_compaign_detail_82055 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`='311', `user_busy_sms`='273', `user_congestion_sms`='32', `user_failed_sms`='132', `user_hangup_sms`='0', `user_no_answer_sms`='269', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='304' WHERE `compaign_id`=82055 LIMIT 1 


Time Diff : 0.206

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764848461'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764848522'  
Array
(
    [0] => 82056
    [compaign_id] => 82056
    [1] => u83
    [user_id] => u83
    [2] => 69194,
    [group_ids] => 69194,
    [3] => 
    [sender_id] => 
    [4] => cheriyal_sarpanch.mp3
    [filename] => cheriyal_sarpanch.mp3
    [5] => 19
    [duration] => 19
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765107422
    [start_date] => 1765107422
    [9] => 0
    [end_date] => 0
    [10] => 281
    [total_sms] => 281
    [11] => 281
    [sent_sms] => 281
    [12] => 0
    [duplicate_sms] => 0
    [13] => 9
    [answered_sms] => 9
    [14] => 14
    [busy_sms] => 14
    [15] => 0
    [congestion_sms] => 0
    [16] => 50
    [failed_sms] => 50
    [17] => 0
    [hangup_sms] => 0
    [18] => 14
    [no_answer_sms] => 14
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 45
    [cutting_sms] => 45
    [22] => 149
    [dnd_sms] => 149
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 9
    [user_answered_sms] => 9
    [27] => 14
    [user_busy_sms] => 14
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 50
    [user_failed_sms] => 50
    [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] => 149
    [user_dnd_sms] => 149
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u83
    [created_by] => u83
    [38] => 0
    [isScheduled] => 0
    [39] => 1765107422
    [create_date] => 1765107422
    [40] => 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":1765107428,"compaign_read_start_time":1765107430,"compaign_read_complete_time":1765107431,"compaign_send_start_time":1765107482,"compaign_send_complete_time":1765107482}
    [action_time] => {"api_allot_time":1765107428,"compaign_read_start_time":1765107430,"compaign_read_complete_time":1765107431,"compaign_send_start_time":1765107482,"compaign_send_complete_time":1765107482}
    [50] => 0
    [compaign_file] => 0
    [51] => u83_82056_07122025_050707PM_607
    [common_name] => u83_82056_07122025_050707PM_607
    [52] => 1765002393_u83_voice.wav
    [voice_file] => 1765002393_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_69194
    [temp_group_table] => contacts_temp_group_69194
    [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] => 1765107721
    [last_credit_update_time] => 1765107721
    [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 : 82056
\compaign_type : Rans per 29.46697 
ans sms 281
dnd sms 149

require answer perrequire answer per : 39

user answer per : 9
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_82056 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_82056 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 : 27 no_answer_count : 10 Busy count :7 congestion_count : 4 failed_count : 6UPDATE voice_compaign_detail_82056 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 10 UPDATE voice_compaign_detail_82056 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 7 UPDATE voice_compaign_detail_82056 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 4 UPDATE voice_compaign_detail_82056 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`='37', `user_busy_sms`='31', `user_congestion_sms`='4', `user_failed_sms`='26', `user_hangup_sms`='0', `user_no_answer_sms`='34', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='149' WHERE `compaign_id`=82056 LIMIT 1 


Time Diff : 0.754

Array
(
    [0] => 82057
    [compaign_id] => 82057
    [1] => u29720
    [user_id] => u29720
    [2] => 69195,
    [group_ids] => 69195,
    [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] => 1765107423
    [start_date] => 1765107423
    [9] => 0
    [end_date] => 0
    [10] => 370
    [total_sms] => 370
    [11] => 370
    [sent_sms] => 370
    [12] => 0
    [duplicate_sms] => 0
    [13] => 67
    [answered_sms] => 67
    [14] => 33
    [busy_sms] => 33
    [15] => 0
    [congestion_sms] => 0
    [16] => 51
    [failed_sms] => 51
    [17] => 0
    [hangup_sms] => 0
    [18] => 55
    [no_answer_sms] => 55
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 120
    [cutting_sms] => 120
    [22] => 44
    [dnd_sms] => 44
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 67
    [user_answered_sms] => 67
    [27] => 33
    [user_busy_sms] => 33
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 51
    [user_failed_sms] => 51
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 55
    [user_no_answer_sms] => 55
    [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] => 1765107423
    [create_date] => 1765107423
    [40] => 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":1765107430,"compaign_read_start_time":1765107433,"compaign_read_complete_time":1765107434,"compaign_send_start_time":1765107482,"compaign_send_complete_time":1765107483}
    [action_time] => {"api_allot_time":1765107430,"compaign_read_start_time":1765107433,"compaign_read_complete_time":1765107434,"compaign_send_start_time":1765107482,"compaign_send_complete_time":1765107483}
    [50] => 0
    [compaign_file] => 0
    [51] => u29720_82057_07122025_050709PM_625
    [common_name] => u29720_82057_07122025_050709PM_625
    [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_69195
    [temp_group_table] => contacts_temp_group_69195
    [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] => 1765107721
    [last_credit_update_time] => 1765107721
    [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 : 82057
\compaign_type : Rans per 27.05162 
ans sms 370
dnd sms 44

require answer perrequire answer per : 89

user answer per : 67
below is the redis data 22 UPDATE voice_compaign_detail_82057 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 22 Total Failed : 98 no_answer_count : 33 Busy count :26 congestion_count : 12 failed_count : 27UPDATE voice_compaign_detail_82057 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 33 UPDATE voice_compaign_detail_82057 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 26 UPDATE voice_compaign_detail_82057 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 12 UPDATE voice_compaign_detail_82057 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`='89', `user_busy_sms`='59', `user_congestion_sms`='12', `user_failed_sms`='78', `user_hangup_sms`='0', `user_no_answer_sms`='88', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='44' WHERE `compaign_id`=82057 LIMIT 1 


Time Diff : 0.573

Array
(
    [0] => 82058
    [compaign_id] => 82058
    [1] => u29720
    [user_id] => u29720
    [2] => 69196,
    [group_ids] => 69196,
    [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] => 1765107426
    [start_date] => 1765107426
    [9] => 0
    [end_date] => 0
    [10] => 1291
    [total_sms] => 1291
    [11] => 1291
    [sent_sms] => 1291
    [12] => 0
    [duplicate_sms] => 0
    [13] => 107
    [answered_sms] => 107
    [14] => 100
    [busy_sms] => 100
    [15] => 0
    [congestion_sms] => 0
    [16] => 215
    [failed_sms] => 215
    [17] => 0
    [hangup_sms] => 0
    [18] => 132
    [no_answer_sms] => 132
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 438
    [cutting_sms] => 438
    [22] => 299
    [dnd_sms] => 299
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 107
    [user_answered_sms] => 107
    [27] => 100
    [user_busy_sms] => 100
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 215
    [user_failed_sms] => 215
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 132
    [user_no_answer_sms] => 132
    [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] => 1765107426
    [create_date] => 1765107426
    [40] => 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":1765107432,"compaign_read_start_time":1765107436,"compaign_read_complete_time":1765107440,"compaign_send_start_time":1765107482,"compaign_send_complete_time":1765107484}
    [action_time] => {"api_allot_time":1765107432,"compaign_read_start_time":1765107436,"compaign_read_complete_time":1765107440,"compaign_send_start_time":1765107482,"compaign_send_complete_time":1765107484}
    [50] => 0
    [compaign_file] => 0
    [51] => u29720_82058_07122025_050711PM_899
    [common_name] => u29720_82058_07122025_050711PM_899
    [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_69196
    [temp_group_table] => contacts_temp_group_69196
    [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] => 1765107722
    [last_credit_update_time] => 1765107722
    [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 : 82058
\compaign_type : Rans per 27.13611 
ans sms 1291
dnd sms 299

require answer perrequire answer per : 270

user answer per : 107
below is the redis data 163 UPDATE voice_compaign_detail_82058 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 163 Total Failed : 275 no_answer_count : 92 Busy count :71 congestion_count : 33 failed_count : 79UPDATE voice_compaign_detail_82058 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 92 UPDATE voice_compaign_detail_82058 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 71 UPDATE voice_compaign_detail_82058 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 33 UPDATE voice_compaign_detail_82058 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`='270', `user_busy_sms`='171', `user_congestion_sms`='33', `user_failed_sms`='294', `user_hangup_sms`='0', `user_no_answer_sms`='224', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='299' WHERE `compaign_id`=82058 LIMIT 1 


Time Diff : 0.164

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764848581'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764848642'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764848702'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764848761'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764848822'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764848881'  
Array
(
    [0] => 82059
    [compaign_id] => 82059
    [1] => u86
    [user_id] => u86
    [2] => 69198,
    [group_ids] => 69198,
    [3] => 
    [sender_id] => 
    [4] => ADVOCATE.mp3
    [filename] => ADVOCATE.mp3
    [5] => 24
    [duration] => 24
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765107725
    [start_date] => 1765107725
    [9] => 0
    [end_date] => 0
    [10] => 1010
    [total_sms] => 1010
    [11] => 1010
    [sent_sms] => 1010
    [12] => 0
    [duplicate_sms] => 0
    [13] => 91
    [answered_sms] => 91
    [14] => 113
    [busy_sms] => 113
    [15] => 0
    [congestion_sms] => 0
    [16] => 100
    [failed_sms] => 100
    [17] => 0
    [hangup_sms] => 0
    [18] => 81
    [no_answer_sms] => 81
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 321
    [cutting_sms] => 321
    [22] => 304
    [dnd_sms] => 304
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 91
    [user_answered_sms] => 91
    [27] => 113
    [user_busy_sms] => 113
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 100
    [user_failed_sms] => 100
    [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] => 304
    [user_dnd_sms] => 304
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u86
    [created_by] => u86
    [38] => 0
    [isScheduled] => 0
    [39] => 1765107725
    [create_date] => 1765107725
    [40] => 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":1765107730,"compaign_read_start_time":1765107731,"compaign_read_complete_time":1765107732,"compaign_send_start_time":1765107781,"compaign_send_complete_time":1765107783}
    [action_time] => {"api_allot_time":1765107730,"compaign_read_start_time":1765107731,"compaign_read_complete_time":1765107732,"compaign_send_start_time":1765107781,"compaign_send_complete_time":1765107783}
    [50] => 0
    [compaign_file] => 0
    [51] => u86_82059_07122025_051210PM_119
    [common_name] => u86_82059_07122025_051210PM_119
    [52] => 1765088082_u86_voice.wav
    [voice_file] => 1765088082_u86_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_69198
    [temp_group_table] => contacts_temp_group_69198
    [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] => 1765108022
    [last_credit_update_time] => 1765108022
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 161
    [user_voice_plan_id] => 161
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.19
    [pulse_rate] => 0.19
    [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,u86
    [uphierarchy] => admin,sr3,u86
    [113] => 
    [extra_params_json] => 
)


Compaign : 82059
\compaign_type : Rans per 28.94841 
ans sms 1010
dnd sms 304

require answer perrequire answer per : 205

user answer per : 91
below is the redis data 114 /n/r
only no answer and busy will be convert, total number require 114 /n/r
UPDATE voice_compaign_detail_82059 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 92 UPDATE voice_compaign_detail_82059 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 92 Total Failed : 176 no_answer_count : 59 Busy count :46 congestion_count : 21 failed_count : 50UPDATE voice_compaign_detail_82059 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 59 UPDATE voice_compaign_detail_82059 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 46 UPDATE voice_compaign_detail_82059 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 21 UPDATE voice_compaign_detail_82059 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`='205', `user_busy_sms`='190', `user_congestion_sms`='21', `user_failed_sms`='111', `user_hangup_sms`='0', `user_no_answer_sms`='179', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='304' WHERE `compaign_id`=82059 LIMIT 1 


Time Diff : 0.269

Array
(
    [0] => 82060
    [compaign_id] => 82060
    [1] => u607
    [user_id] => u607
    [2] => 69199,
    [group_ids] => 69199,
    [3] => 
    [sender_id] => 
    [4] => DOMAKONDA.mp3
    [filename] => DOMAKONDA.mp3
    [5] => 32
    [duration] => 32
    [6] => 2
    [credits_per_sms] => 2
    [7] => 30
    [user_pulse] => 30
    [8] => 1765107755
    [start_date] => 1765107755
    [9] => 0
    [end_date] => 0
    [10] => 4602
    [total_sms] => 4602
    [11] => 4602
    [sent_sms] => 4602
    [12] => 0
    [duplicate_sms] => 0
    [13] => 360
    [answered_sms] => 360
    [14] => 225
    [busy_sms] => 225
    [15] => 1
    [congestion_sms] => 1
    [16] => 796
    [failed_sms] => 796
    [17] => 0
    [hangup_sms] => 0
    [18] => 352
    [no_answer_sms] => 352
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 1866
    [cutting_sms] => 1866
    [22] => 1002
    [dnd_sms] => 1002
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 360
    [user_answered_sms] => 360
    [27] => 225
    [user_busy_sms] => 225
    [28] => 1
    [user_congestion_sms] => 1
    [29] => 796
    [user_failed_sms] => 796
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 352
    [user_no_answer_sms] => 352
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 1002
    [user_dnd_sms] => 1002
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u607
    [created_by] => u607
    [38] => 0
    [isScheduled] => 0
    [39] => 1765107753
    [create_date] => 1765107753
    [40] => 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":1765107760,"compaign_read_start_time":1765107761,"compaign_read_complete_time":1765107769,"compaign_send_start_time":1765107781,"compaign_send_complete_time":1765107789}
    [action_time] => {"api_allot_time":1765107760,"compaign_read_start_time":1765107761,"compaign_read_complete_time":1765107769,"compaign_send_start_time":1765107781,"compaign_send_complete_time":1765107789}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_82060_07122025_051240PM_565
    [common_name] => u607_82060_07122025_051240PM_565
    [52] => 1765107752_u607_voice.wav
    [voice_file] => 1765107752_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_69199
    [temp_group_table] => contacts_temp_group_69199
    [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] => 1765107903
    [reschedule_last_check_time] => 1765107903
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765108022
    [last_credit_update_time] => 1765108022
    [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":1765110600,"2":1765114200}
    [rt_time] => {"1":1765110600,"2":1765114200}
    [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 : 82060
\compaign_type : Rans per 28.99422 
ans sms 4602
dnd sms 1002

require answer perrequire answer per : 1044

user answer per : 360
below is the redis data 684 /n/r
only no answer and busy will be convert, total number require 684 /n/r
UPDATE voice_compaign_detail_82060 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 507 UPDATE voice_compaign_detail_82060 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 507 Total Failed : 1156 no_answer_count : 386 Busy count :297 congestion_count : 138 failed_count : 335UPDATE voice_compaign_detail_82060 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 386 UPDATE voice_compaign_detail_82060 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 297 UPDATE voice_compaign_detail_82060 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 138 UPDATE voice_compaign_detail_82060 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 335 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

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


Compaign : 81650
\compaign_type : ATans per 27.78421 
ans sms 33331
dnd sms 0

require answer perrequire answer per : 9261

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='157', `user_busy_sms`='11040', `user_congestion_sms`='0', `user_failed_sms`='20863', `user_hangup_sms`='0', `user_no_answer_sms`='1271', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81650 LIMIT 1 


Time Diff : 0.804

Array
(
    [0] => 82062
    [compaign_id] => 82062
    [1] => u86
    [user_id] => u86
    [2] => 69202,
    [group_ids] => 69202,
    [3] => 
    [sender_id] => 
    [4] => ADVOCATE.mp3
    [filename] => ADVOCATE.mp3
    [5] => 24
    [duration] => 24
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765108325
    [start_date] => 1765108325
    [9] => 0
    [end_date] => 0
    [10] => 805
    [total_sms] => 805
    [11] => 805
    [sent_sms] => 805
    [12] => 0
    [duplicate_sms] => 0
    [13] => 58
    [answered_sms] => 58
    [14] => 54
    [busy_sms] => 54
    [15] => 0
    [congestion_sms] => 0
    [16] => 102
    [failed_sms] => 102
    [17] => 0
    [hangup_sms] => 0
    [18] => 47
    [no_answer_sms] => 47
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 240
    [cutting_sms] => 240
    [22] => 304
    [dnd_sms] => 304
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 58
    [user_answered_sms] => 58
    [27] => 54
    [user_busy_sms] => 54
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 102
    [user_failed_sms] => 102
    [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] => 304
    [user_dnd_sms] => 304
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u86
    [created_by] => u86
    [38] => 0
    [isScheduled] => 0
    [39] => 1765108325
    [create_date] => 1765108325
    [40] => 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":1765108330,"compaign_read_start_time":1765108330,"compaign_read_complete_time":1765108332,"compaign_send_start_time":1765108382,"compaign_send_complete_time":1765108384}
    [action_time] => {"api_allot_time":1765108330,"compaign_read_start_time":1765108330,"compaign_read_complete_time":1765108332,"compaign_send_start_time":1765108382,"compaign_send_complete_time":1765108384}
    [50] => 0
    [compaign_file] => 0
    [51] => u86_82062_07122025_052210PM_263
    [common_name] => u86_82062_07122025_052210PM_263
    [52] => 1765088082_u86_voice.wav
    [voice_file] => 1765088082_u86_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_69202
    [temp_group_table] => contacts_temp_group_69202
    [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] => 1765108621
    [last_credit_update_time] => 1765108621
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 161
    [user_voice_plan_id] => 161
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.19
    [pulse_rate] => 0.19
    [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,u86
    [uphierarchy] => admin,sr3,u86
    [113] => 
    [extra_params_json] => 
)


Compaign : 82062
\compaign_type : Rans per 25.23716 
ans sms 805
dnd sms 304

require answer perrequire answer per : 127

user answer per : 58
below is the redis data 69 /n/r
only no answer and busy will be convert, total number require 69 /n/r
UPDATE voice_compaign_detail_82062 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 49 UPDATE voice_compaign_detail_82062 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 49 Total Failed : 167 no_answer_count : 56 Busy count :43 congestion_count : 20 failed_count : 48UPDATE voice_compaign_detail_82062 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 56 UPDATE voice_compaign_detail_82062 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 43 UPDATE voice_compaign_detail_82062 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 20 UPDATE voice_compaign_detail_82062 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`='127', `user_busy_sms`='113', `user_congestion_sms`='20', `user_failed_sms`='125', `user_hangup_sms`='0', `user_no_answer_sms`='116', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='304' WHERE `compaign_id`=82062 LIMIT 1 


Time Diff : 0.296

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764849542'  
Array
(
    [0] => 82064
    [compaign_id] => 82064
    [1] => u29720
    [user_id] => u29720
    [2] => 69203,
    [group_ids] => 69203,
    [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] => 1765108372
    [start_date] => 1765108372
    [9] => 0
    [end_date] => 0
    [10] => 1777
    [total_sms] => 1777
    [11] => 1777
    [sent_sms] => 1777
    [12] => 0
    [duplicate_sms] => 0
    [13] => 247
    [answered_sms] => 247
    [14] => 140
    [busy_sms] => 140
    [15] => 0
    [congestion_sms] => 0
    [16] => 175
    [failed_sms] => 175
    [17] => 0
    [hangup_sms] => 0
    [18] => 234
    [no_answer_sms] => 234
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 691
    [cutting_sms] => 691
    [22] => 290
    [dnd_sms] => 290
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 247
    [user_answered_sms] => 247
    [27] => 140
    [user_busy_sms] => 140
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 175
    [user_failed_sms] => 175
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 234
    [user_no_answer_sms] => 234
    [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] => 1765108371
    [create_date] => 1765108371
    [40] => 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":1765108383,"compaign_read_start_time":1765108385,"compaign_read_complete_time":1765108388,"compaign_send_start_time":1765108441,"compaign_send_complete_time":1765108445}
    [action_time] => {"api_allot_time":1765108383,"compaign_read_start_time":1765108385,"compaign_read_complete_time":1765108388,"compaign_send_start_time":1765108441,"compaign_send_complete_time":1765108445}
    [50] => 0
    [compaign_file] => 0
    [51] => u29720_82064_07122025_052302PM_451
    [common_name] => u29720_82064_07122025_052302PM_451
    [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_69203
    [temp_group_table] => contacts_temp_group_69203
    [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] => 1765108503
    [reschedule_last_check_time] => 1765108503
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765108681
    [last_credit_update_time] => 1765108681
    [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 : 82064
\compaign_type : Rans per 27.1521 
ans sms 1777
dnd sms 290

require answer perrequire answer per : 404

user answer per : 247
below is the redis data 157 UPDATE voice_compaign_detail_82064 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 157 Total Failed : 534 no_answer_count : 179 Busy count :138 congestion_count : 64 failed_count : 153UPDATE voice_compaign_detail_82064 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 179 UPDATE voice_compaign_detail_82064 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 138 UPDATE voice_compaign_detail_82064 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 64 UPDATE voice_compaign_detail_82064 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`='404', `user_busy_sms`='278', `user_congestion_sms`='64', `user_failed_sms`='328', `user_hangup_sms`='0', `user_no_answer_sms`='413', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='290' WHERE `compaign_id`=82064 LIMIT 1 


Time Diff : 0.153

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764849601'  
Array
(
    [0] => 82066
    [compaign_id] => 82066
    [1] => u29720
    [user_id] => u29720
    [2] => 69205,
    [group_ids] => 69205,
    [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] => 1765108432
    [start_date] => 1765108432
    [9] => 0
    [end_date] => 0
    [10] => 785
    [total_sms] => 785
    [11] => 785
    [sent_sms] => 785
    [12] => 0
    [duplicate_sms] => 0
    [13] => 108
    [answered_sms] => 108
    [14] => 64
    [busy_sms] => 64
    [15] => 0
    [congestion_sms] => 0
    [16] => 95
    [failed_sms] => 95
    [17] => 0
    [hangup_sms] => 0
    [18] => 89
    [no_answer_sms] => 89
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 292
    [cutting_sms] => 292
    [22] => 137
    [dnd_sms] => 137
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 64
    [user_busy_sms] => 64
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 95
    [user_failed_sms] => 95
    [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] => 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] => 1765108432
    [create_date] => 1765108432
    [40] => 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":1765108442,"compaign_read_start_time":1765108444,"compaign_read_complete_time":1765108447,"compaign_send_start_time":1765108502,"compaign_send_complete_time":1765108503}
    [action_time] => {"api_allot_time":1765108442,"compaign_read_start_time":1765108444,"compaign_read_complete_time":1765108447,"compaign_send_start_time":1765108502,"compaign_send_complete_time":1765108503}
    [50] => 0
    [compaign_file] => 0
    [51] => u29720_82066_07122025_052401PM_401
    [common_name] => u29720_82066_07122025_052401PM_401
    [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_69205
    [temp_group_table] => contacts_temp_group_69205
    [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] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765108742
    [last_credit_update_time] => 1765108742
    [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 : 82066
\compaign_type : Rans per 28.20953 
ans sms 785
dnd sms 137

require answer perrequire answer per : 183

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='183', `user_busy_sms`='120', `user_congestion_sms`='26', `user_failed_sms`='157', `user_hangup_sms`='0', `user_no_answer_sms`='162', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='137' WHERE `compaign_id`=82066 LIMIT 1 


Time Diff : 0.345

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764849661'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764849721'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764849782'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764849841'  
Array
(
    [0] => 82069
    [compaign_id] => 82069
    [1] => u29720
    [user_id] => u29720
    [2] => 69209,
    [group_ids] => 69209,
    [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] => 1765108699
    [start_date] => 1765108699
    [9] => 0
    [end_date] => 0
    [10] => 2717
    [total_sms] => 2717
    [11] => 2717
    [sent_sms] => 2717
    [12] => 0
    [duplicate_sms] => 0
    [13] => 416
    [answered_sms] => 416
    [14] => 181
    [busy_sms] => 181
    [15] => 4
    [congestion_sms] => 4
    [16] => 291
    [failed_sms] => 291
    [17] => 0
    [hangup_sms] => 0
    [18] => 333
    [no_answer_sms] => 333
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 1061
    [cutting_sms] => 1061
    [22] => 431
    [dnd_sms] => 431
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 416
    [user_answered_sms] => 416
    [27] => 181
    [user_busy_sms] => 181
    [28] => 4
    [user_congestion_sms] => 4
    [29] => 291
    [user_failed_sms] => 291
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 333
    [user_no_answer_sms] => 333
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 431
    [user_dnd_sms] => 431
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29720
    [created_by] => u29720
    [38] => 0
    [isScheduled] => 0
    [39] => 1765108697
    [create_date] => 1765108697
    [40] => 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":1765108706,"compaign_read_start_time":1765108708,"compaign_read_complete_time":1765108713,"compaign_send_start_time":1765108742,"compaign_send_complete_time":1765108749}
    [action_time] => {"api_allot_time":1765108706,"compaign_read_start_time":1765108708,"compaign_read_complete_time":1765108713,"compaign_send_start_time":1765108742,"compaign_send_complete_time":1765108749}
    [50] => 0
    [compaign_file] => 0
    [51] => u29720_82069_07122025_052826PM_708
    [common_name] => u29720_82069_07122025_052826PM_708
    [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_69209
    [temp_group_table] => contacts_temp_group_69209
    [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] => 1765108802
    [reschedule_last_check_time] => 1765108802
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765108983
    [last_credit_update_time] => 1765108983
    [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 : 82069
\compaign_type : Rans per 25.92617 
ans sms 2717
dnd sms 431

require answer perrequire answer per : 593

user answer per : 416
below is the redis data 177 UPDATE voice_compaign_detail_82069 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 177 Total Failed : 884 no_answer_count : 295 Busy count :227 congestion_count : 105 failed_count : 257UPDATE voice_compaign_detail_82069 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 295 UPDATE voice_compaign_detail_82069 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 227 UPDATE voice_compaign_detail_82069 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 105 UPDATE voice_compaign_detail_82069 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 257 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='593', `user_busy_sms`='408', `user_congestion_sms`='109', `user_failed_sms`='548', `user_hangup_sms`='0', `user_no_answer_sms`='628', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='431' WHERE `compaign_id`=82069 LIMIT 1 


Time Diff : 0.1

Array
(
    [0] => 82070
    [compaign_id] => 82070
    [1] => u29720
    [user_id] => u29720
    [2] => 69211,
    [group_ids] => 69211,
    [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] => 1765108779
    [start_date] => 1765108779
    [9] => 0
    [end_date] => 0
    [10] => 346
    [total_sms] => 346
    [11] => 346
    [sent_sms] => 346
    [12] => 0
    [duplicate_sms] => 0
    [13] => 58
    [answered_sms] => 58
    [14] => 25
    [busy_sms] => 25
    [15] => 0
    [congestion_sms] => 0
    [16] => 58
    [failed_sms] => 58
    [17] => 0
    [hangup_sms] => 0
    [18] => 47
    [no_answer_sms] => 47
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 96
    [cutting_sms] => 96
    [22] => 62
    [dnd_sms] => 62
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 58
    [user_answered_sms] => 58
    [27] => 25
    [user_busy_sms] => 25
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 58
    [user_failed_sms] => 58
    [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] => 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] => 1765108779
    [create_date] => 1765108779
    [40] => 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":1765108786,"compaign_read_start_time":1765108787,"compaign_read_complete_time":1765108788,"compaign_send_start_time":1765108801,"compaign_send_complete_time":1765108811}
    [action_time] => {"api_allot_time":1765108786,"compaign_read_start_time":1765108787,"compaign_read_complete_time":1765108788,"compaign_send_start_time":1765108801,"compaign_send_complete_time":1765108811}
    [50] => 0
    [compaign_file] => 0
    [51] => u29720_82070_07122025_052946PM_524
    [common_name] => u29720_82070_07122025_052946PM_524
    [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_69211
    [temp_group_table] => contacts_temp_group_69211
    [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] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765108983
    [last_credit_update_time] => 1765108983
    [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 : 82070
\compaign_type : Rans per 28.88437 
ans sms 346
dnd sms 62

require answer perrequire answer per : 83

user answer per : 58
below is the redis data 25 UPDATE voice_compaign_detail_82070 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 25 Total Failed : 71 no_answer_count : 24 Busy count :19 congestion_count : 9 failed_count : 19UPDATE voice_compaign_detail_82070 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 24 UPDATE voice_compaign_detail_82070 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 19 UPDATE voice_compaign_detail_82070 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 9 UPDATE voice_compaign_detail_82070 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`='83', `user_busy_sms`='44', `user_congestion_sms`='9', `user_failed_sms`='77', `user_hangup_sms`='0', `user_no_answer_sms`='71', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='62' WHERE `compaign_id`=82070 LIMIT 1 


Time Diff : 0.613

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764849902'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764849961'  
Array
(
    [0] => 82039
    [compaign_id] => 82039
    [1] => u607
    [user_id] => u607
    [2] => 69179,
    [group_ids] => 69179,
    [3] => 
    [sender_id] => 
    [4] => laxampur.mp3
    [filename] => laxampur.mp3
    [5] => 22
    [duration] => 22
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765108800
    [start_date] => 1765108800
    [9] => 0
    [end_date] => 0
    [10] => 520
    [total_sms] => 520
    [11] => 520
    [sent_sms] => 520
    [12] => 0
    [duplicate_sms] => 0
    [13] => 18
    [answered_sms] => 18
    [14] => 22
    [busy_sms] => 22
    [15] => 0
    [congestion_sms] => 0
    [16] => 199
    [failed_sms] => 199
    [17] => 0
    [hangup_sms] => 0
    [18] => 11
    [no_answer_sms] => 11
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 208
    [cutting_sms] => 208
    [22] => 62
    [dnd_sms] => 62
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 18
    [user_answered_sms] => 18
    [27] => 22
    [user_busy_sms] => 22
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 199
    [user_failed_sms] => 199
    [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] => 62
    [user_dnd_sms] => 62
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u607
    [created_by] => u607
    [38] => 1
    [isScheduled] => 1
    [39] => 1765105923
    [create_date] => 1765105923
    [40] => 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":1765108806,"compaign_read_start_time":1765108807,"compaign_read_complete_time":1765108808,"compaign_send_start_time":1765108862,"compaign_send_complete_time":1765108863}
    [action_time] => {"api_allot_time":1765108806,"compaign_read_start_time":1765108807,"compaign_read_complete_time":1765108808,"compaign_send_start_time":1765108862,"compaign_send_complete_time":1765108863}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_82039_07122025_053005PM_239
    [common_name] => u607_82039_07122025_053005PM_239
    [52] => 1765101840_u607_voice.wav
    [voice_file] => 1765101840_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_69179
    [temp_group_table] => contacts_temp_group_69179
    [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] => 1765109102
    [last_credit_update_time] => 1765109102
    [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 : 82039
\compaign_type : Rans per 30.65709 
ans sms 520
dnd sms 62

require answer perrequire answer per : 141

user answer per : 18
below is the redis data 123 /n/r
only no answer and busy will be convert, total number require 123 /n/r
UPDATE voice_compaign_detail_82039 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 95 UPDATE voice_compaign_detail_82039 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 95 Total Failed : 119 no_answer_count : 40 Busy count :31 congestion_count : 15 failed_count : 33UPDATE voice_compaign_detail_82039 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 40 UPDATE voice_compaign_detail_82039 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 31 UPDATE voice_compaign_detail_82039 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 15 UPDATE voice_compaign_detail_82039 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`='51', `user_busy_sms`='126', `user_congestion_sms`='15', `user_failed_sms`='131', `user_hangup_sms`='0', `user_no_answer_sms`='135', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='62' WHERE `compaign_id`=82039 LIMIT 1 


Time Diff : 0.519

Array
(
    [0] => 82071
    [compaign_id] => 82071
    [1] => u29720
    [user_id] => u29720
    [2] => 69213,
    [group_ids] => 69213,
    [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] => 1765108835
    [start_date] => 1765108835
    [9] => 0
    [end_date] => 0
    [10] => 370
    [total_sms] => 370
    [11] => 370
    [sent_sms] => 370
    [12] => 0
    [duplicate_sms] => 0
    [13] => 60
    [answered_sms] => 60
    [14] => 35
    [busy_sms] => 35
    [15] => 0
    [congestion_sms] => 0
    [16] => 46
    [failed_sms] => 46
    [17] => 0
    [hangup_sms] => 0
    [18] => 69
    [no_answer_sms] => 69
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 116
    [cutting_sms] => 116
    [22] => 44
    [dnd_sms] => 44
    [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] => 46
    [user_failed_sms] => 46
    [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] => 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] => 1765108834
    [create_date] => 1765108834
    [40] => 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":1765108847,"compaign_read_start_time":1765108849,"compaign_read_complete_time":1765108850,"compaign_send_start_time":1765108862,"compaign_send_complete_time":1765108863}
    [action_time] => {"api_allot_time":1765108847,"compaign_read_start_time":1765108849,"compaign_read_complete_time":1765108850,"compaign_send_start_time":1765108862,"compaign_send_complete_time":1765108863}
    [50] => 0
    [compaign_file] => 0
    [51] => u29720_82071_07122025_053046PM_563
    [common_name] => u29720_82071_07122025_053046PM_563
    [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_69213
    [temp_group_table] => contacts_temp_group_69213
    [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] => 1765109103
    [reschedule_last_check_time] => 1765109103
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765109102
    [last_credit_update_time] => 1765109102
    [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 : 82071
\compaign_type : Rans per 30.17585 
ans sms 370
dnd sms 44

require answer perrequire answer per : 99

user answer per : 60
below is the redis data 39 UPDATE voice_compaign_detail_82071 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 39 Total Failed : 77 no_answer_count : 26 Busy count :20 congestion_count : 10 failed_count : 21UPDATE voice_compaign_detail_82071 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 26 UPDATE voice_compaign_detail_82071 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 20 UPDATE voice_compaign_detail_82071 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 10 UPDATE voice_compaign_detail_82071 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`='99', `user_busy_sms`='55', `user_congestion_sms`='10', `user_failed_sms`='67', `user_hangup_sms`='0', `user_no_answer_sms`='95', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='44' WHERE `compaign_id`=82071 LIMIT 1 


Time Diff : 0.732

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764850022'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764850082'  
Array
(
    [0] => 82072
    [compaign_id] => 82072
    [1] => u29720
    [user_id] => u29720
    [2] => 69217,
    [group_ids] => 69217,
    [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] => 1765108924
    [start_date] => 1765108924
    [9] => 0
    [end_date] => 0
    [10] => 602
    [total_sms] => 602
    [11] => 602
    [sent_sms] => 602
    [12] => 0
    [duplicate_sms] => 0
    [13] => 50
    [answered_sms] => 50
    [14] => 52
    [busy_sms] => 52
    [15] => 0
    [congestion_sms] => 0
    [16] => 86
    [failed_sms] => 86
    [17] => 0
    [hangup_sms] => 0
    [18] => 65
    [no_answer_sms] => 65
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 212
    [cutting_sms] => 212
    [22] => 137
    [dnd_sms] => 137
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 50
    [user_answered_sms] => 50
    [27] => 52
    [user_busy_sms] => 52
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 86
    [user_failed_sms] => 86
    [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] => 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] => 1765108924
    [create_date] => 1765108924
    [40] => 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":1765108930,"compaign_read_start_time":1765108930,"compaign_read_complete_time":1765108932,"compaign_send_start_time":1765108982,"compaign_send_complete_time":1765108989}
    [action_time] => {"api_allot_time":1765108930,"compaign_read_start_time":1765108930,"compaign_read_complete_time":1765108932,"compaign_send_start_time":1765108982,"compaign_send_complete_time":1765108989}
    [50] => 0
    [compaign_file] => 0
    [51] => u29720_82072_07122025_053210PM_745
    [common_name] => u29720_82072_07122025_053210PM_745
    [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_69217
    [temp_group_table] => contacts_temp_group_69217
    [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] => 1765109222
    [last_credit_update_time] => 1765109222
    [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 : 82072
\compaign_type : Rans per 27.03818 
ans sms 602
dnd sms 137

require answer perrequire answer per : 126

user answer per : 50
below is the redis data 76 UPDATE voice_compaign_detail_82072 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 76 Total Failed : 136 no_answer_count : 46 Busy count :35 congestion_count : 17 failed_count : 38UPDATE voice_compaign_detail_82072 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 46 UPDATE voice_compaign_detail_82072 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 35 UPDATE voice_compaign_detail_82072 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 17 UPDATE voice_compaign_detail_82072 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`='126', `user_busy_sms`='87', `user_congestion_sms`='17', `user_failed_sms`='124', `user_hangup_sms`='0', `user_no_answer_sms`='111', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='137' WHERE `compaign_id`=82072 LIMIT 1 


Time Diff : 0.45

Array
(
    [0] => 82073
    [compaign_id] => 82073
    [1] => u86
    [user_id] => u86
    [2] => 69215,
    [group_ids] => 69215,
    [3] => 
    [sender_id] => 
    [4] => ADVOCATE.mp3
    [filename] => ADVOCATE.mp3
    [5] => 24
    [duration] => 24
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765108924
    [start_date] => 1765108924
    [9] => 0
    [end_date] => 0
    [10] => 678
    [total_sms] => 678
    [11] => 678
    [sent_sms] => 678
    [12] => 0
    [duplicate_sms] => 0
    [13] => 37
    [answered_sms] => 37
    [14] => 51
    [busy_sms] => 51
    [15] => 0
    [congestion_sms] => 0
    [16] => 97
    [failed_sms] => 97
    [17] => 0
    [hangup_sms] => 0
    [18] => 30
    [no_answer_sms] => 30
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 159
    [cutting_sms] => 159
    [22] => 304
    [dnd_sms] => 304
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 37
    [user_answered_sms] => 37
    [27] => 51
    [user_busy_sms] => 51
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 97
    [user_failed_sms] => 97
    [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] => 304
    [user_dnd_sms] => 304
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u86
    [created_by] => u86
    [38] => 0
    [isScheduled] => 0
    [39] => 1765108924
    [create_date] => 1765108924
    [40] => 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":1765108930,"compaign_read_start_time":1765108933,"compaign_read_complete_time":1765108935,"compaign_send_start_time":1765108982,"compaign_send_complete_time":1765108989}
    [action_time] => {"api_allot_time":1765108930,"compaign_read_start_time":1765108933,"compaign_read_complete_time":1765108935,"compaign_send_start_time":1765108982,"compaign_send_complete_time":1765108989}
    [50] => 0
    [compaign_file] => 0
    [51] => u86_82073_07122025_053210PM_487
    [common_name] => u86_82073_07122025_053210PM_487
    [52] => 1765088082_u86_voice.wav
    [voice_file] => 1765088082_u86_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_69215
    [temp_group_table] => contacts_temp_group_69215
    [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] => 1765109222
    [last_credit_update_time] => 1765109222
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 161
    [user_voice_plan_id] => 161
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.19
    [pulse_rate] => 0.19
    [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,u86
    [uphierarchy] => admin,sr3,u86
    [113] => 
    [extra_params_json] => 
)


Compaign : 82073
\compaign_type : Rans per 28.79012 
ans sms 678
dnd sms 304

require answer perrequire answer per : 108

user answer per : 37
below is the redis data 71 /n/r
only no answer and busy will be convert, total number require 71 /n/r
UPDATE voice_compaign_detail_82073 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 51 UPDATE voice_compaign_detail_82073 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 51 Total Failed : 96 no_answer_count : 33 Busy count :25 congestion_count : 12 failed_count : 26UPDATE voice_compaign_detail_82073 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 33 UPDATE voice_compaign_detail_82073 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 25 UPDATE voice_compaign_detail_82073 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 12 UPDATE voice_compaign_detail_82073 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`='108', `user_busy_sms`='83', `user_congestion_sms`='12', `user_failed_sms`='84', `user_hangup_sms`='0', `user_no_answer_sms`='87', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='304' WHERE `compaign_id`=82073 LIMIT 1 


Time Diff : 0.4

Array
(
    [0] => 82074
    [compaign_id] => 82074
    [1] => u29720
    [user_id] => u29720
    [2] => 69216,
    [group_ids] => 69216,
    [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] => 1765108927
    [start_date] => 1765108927
    [9] => 0
    [end_date] => 0
    [10] => 1373
    [total_sms] => 1373
    [11] => 1373
    [sent_sms] => 1373
    [12] => 0
    [duplicate_sms] => 0
    [13] => 105
    [answered_sms] => 105
    [14] => 123
    [busy_sms] => 123
    [15] => 0
    [congestion_sms] => 0
    [16] => 170
    [failed_sms] => 170
    [17] => 0
    [hangup_sms] => 0
    [18] => 178
    [no_answer_sms] => 178
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 507
    [cutting_sms] => 507
    [22] => 290
    [dnd_sms] => 290
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 105
    [user_answered_sms] => 105
    [27] => 123
    [user_busy_sms] => 123
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 170
    [user_failed_sms] => 170
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 178
    [user_no_answer_sms] => 178
    [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] => 1765108927
    [create_date] => 1765108927
    [40] => 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":1765108932,"compaign_read_start_time":1765108936,"compaign_read_complete_time":1765108939,"compaign_send_start_time":1765108982,"compaign_send_complete_time":1765108991}
    [action_time] => {"api_allot_time":1765108932,"compaign_read_start_time":1765108936,"compaign_read_complete_time":1765108939,"compaign_send_start_time":1765108982,"compaign_send_complete_time":1765108991}
    [50] => 0
    [compaign_file] => 0
    [51] => u29720_82074_07122025_053212PM_227
    [common_name] => u29720_82074_07122025_053212PM_227
    [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_69216
    [temp_group_table] => contacts_temp_group_69216
    [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] => 1765109222
    [last_credit_update_time] => 1765109222
    [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 : 82074
\compaign_type : Rans per 29.38026 
ans sms 1373
dnd sms 290

require answer perrequire answer per : 319

user answer per : 105
below is the redis data 214 UPDATE voice_compaign_detail_82074 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 214 Total Failed : 293 no_answer_count : 98 Busy count :76 congestion_count : 35 failed_count : 84UPDATE voice_compaign_detail_82074 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 98 UPDATE voice_compaign_detail_82074 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 76 UPDATE voice_compaign_detail_82074 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 35 UPDATE voice_compaign_detail_82074 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`='319', `user_busy_sms`='199', `user_congestion_sms`='35', `user_failed_sms`='254', `user_hangup_sms`='0', `user_no_answer_sms`='276', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='290' WHERE `compaign_id`=82074 LIMIT 1 


Time Diff : 0.197

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764850141'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764850202'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764850261'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764850321'  
Array
(
    [0] => 82077
    [compaign_id] => 82077
    [1] => u29720
    [user_id] => u29720
    [2] => 69221,
    [group_ids] => 69221,
    [3] => 
    [sender_id] => 
    [4] => Gopalapur.mp3
    [filename] => Gopalapur.mp3
    [5] => 21
    [duration] => 21
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765109149
    [start_date] => 1765109149
    [9] => 0
    [end_date] => 0
    [10] => 709
    [total_sms] => 709
    [11] => 709
    [sent_sms] => 709
    [12] => 0
    [duplicate_sms] => 0
    [13] => 97
    [answered_sms] => 97
    [14] => 43
    [busy_sms] => 43
    [15] => 0
    [congestion_sms] => 0
    [16] => 85
    [failed_sms] => 85
    [17] => 0
    [hangup_sms] => 0
    [18] => 81
    [no_answer_sms] => 81
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 272
    [cutting_sms] => 272
    [22] => 131
    [dnd_sms] => 131
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 97
    [user_answered_sms] => 97
    [27] => 43
    [user_busy_sms] => 43
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 85
    [user_failed_sms] => 85
    [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] => 131
    [user_dnd_sms] => 131
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29720
    [created_by] => u29720
    [38] => 0
    [isScheduled] => 0
    [39] => 1765109148
    [create_date] => 1765109148
    [40] => 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":1765109162,"compaign_read_start_time":1765109164,"compaign_read_complete_time":1765109166,"compaign_send_start_time":1765109222,"compaign_send_complete_time":1765109230}
    [action_time] => {"api_allot_time":1765109162,"compaign_read_start_time":1765109164,"compaign_read_complete_time":1765109166,"compaign_send_start_time":1765109222,"compaign_send_complete_time":1765109230}
    [50] => 0
    [compaign_file] => 0
    [51] => u29720_82077_07122025_053601PM_720
    [common_name] => u29720_82077_07122025_053601PM_720
    [52] => 1765102634_u29720_voice.wav
    [voice_file] => 1765102634_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_69221
    [temp_group_table] => contacts_temp_group_69221
    [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] => 1765109403
    [reschedule_last_check_time] => 1765109403
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765109461
    [last_credit_update_time] => 1765109461
    [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 : 82077
\compaign_type : Rans per 25.16679 
ans sms 709
dnd sms 131

require answer perrequire answer per : 146

user answer per : 97
below is the redis data 49 UPDATE voice_compaign_detail_82077 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 49 Total Failed : 223 no_answer_count : 75 Busy count :58 congestion_count : 27 failed_count : 63UPDATE voice_compaign_detail_82077 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 75 UPDATE voice_compaign_detail_82077 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 58 UPDATE voice_compaign_detail_82077 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 27 UPDATE voice_compaign_detail_82077 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`='146', `user_busy_sms`='101', `user_congestion_sms`='27', `user_failed_sms`='148', `user_hangup_sms`='0', `user_no_answer_sms`='156', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='131' WHERE `compaign_id`=82077 LIMIT 1 


Time Diff : 0.382

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764850382'  
Array
(
    [0] => 82078
    [compaign_id] => 82078
    [1] => u29720
    [user_id] => u29720
    [2] => 69222,
    [group_ids] => 69222,
    [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] => 1765109229
    [start_date] => 1765109229
    [9] => 0
    [end_date] => 0
    [10] => 263
    [total_sms] => 263
    [11] => 263
    [sent_sms] => 263
    [12] => 0
    [duplicate_sms] => 0
    [13] => 17
    [answered_sms] => 17
    [14] => 26
    [busy_sms] => 26
    [15] => 0
    [congestion_sms] => 0
    [16] => 57
    [failed_sms] => 57
    [17] => 0
    [hangup_sms] => 0
    [18] => 41
    [no_answer_sms] => 41
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 60
    [cutting_sms] => 60
    [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] => 26
    [user_busy_sms] => 26
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 57
    [user_failed_sms] => 57
    [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] => 1765109229
    [create_date] => 1765109229
    [40] => 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":1765109236,"compaign_read_start_time":1765109236,"compaign_read_complete_time":1765109237,"compaign_send_start_time":1765109282,"compaign_send_complete_time":1765109283}
    [action_time] => {"api_allot_time":1765109236,"compaign_read_start_time":1765109236,"compaign_read_complete_time":1765109237,"compaign_send_start_time":1765109282,"compaign_send_complete_time":1765109283}
    [50] => 0
    [compaign_file] => 0
    [51] => u29720_82078_07122025_053716PM_610
    [common_name] => u29720_82078_07122025_053716PM_610
    [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_69222
    [temp_group_table] => contacts_temp_group_69222
    [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] => 1765109521
    [last_credit_update_time] => 1765109521
    [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 : 82078
\compaign_type : Rans per 29.06696 
ans sms 263
dnd sms 62

require answer perrequire answer per : 59

user answer per : 17
below is the redis data 42 UPDATE voice_compaign_detail_82078 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 42 Total Failed : 18 no_answer_count : 7 Busy count :5 congestion_count : 3 failed_count : 3UPDATE voice_compaign_detail_82078 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 7 UPDATE voice_compaign_detail_82078 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 5 UPDATE voice_compaign_detail_82078 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 3 UPDATE voice_compaign_detail_82078 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`='59', `user_busy_sms`='31', `user_congestion_sms`='3', `user_failed_sms`='60', `user_hangup_sms`='0', `user_no_answer_sms`='48', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='62' WHERE `compaign_id`=82078 LIMIT 1 


Time Diff : 1.034

Array
(
    [0] => 82079
    [compaign_id] => 82079
    [1] => u29720
    [user_id] => u29720
    [2] => 69223,
    [group_ids] => 69223,
    [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] => 1765109237
    [start_date] => 1765109237
    [9] => 0
    [end_date] => 0
    [10] => 2124
    [total_sms] => 2124
    [11] => 2124
    [sent_sms] => 2124
    [12] => 0
    [duplicate_sms] => 0
    [13] => 196
    [answered_sms] => 196
    [14] => 147
    [busy_sms] => 147
    [15] => 0
    [congestion_sms] => 0
    [16] => 296
    [failed_sms] => 296
    [17] => 0
    [hangup_sms] => 0
    [18] => 224
    [no_answer_sms] => 224
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 830
    [cutting_sms] => 830
    [22] => 431
    [dnd_sms] => 431
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 196
    [user_answered_sms] => 196
    [27] => 147
    [user_busy_sms] => 147
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 296
    [user_failed_sms] => 296
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 224
    [user_no_answer_sms] => 224
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 431
    [user_dnd_sms] => 431
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29720
    [created_by] => u29720
    [38] => 0
    [isScheduled] => 0
    [39] => 1765109237
    [create_date] => 1765109237
    [40] => 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":1765109244,"compaign_read_start_time":1765109245,"compaign_read_complete_time":1765109249,"compaign_send_start_time":1765109282,"compaign_send_complete_time":1765109297}
    [action_time] => {"api_allot_time":1765109244,"compaign_read_start_time":1765109245,"compaign_read_complete_time":1765109249,"compaign_send_start_time":1765109282,"compaign_send_complete_time":1765109297}
    [50] => 0
    [compaign_file] => 0
    [51] => u29720_82079_07122025_053724PM_403
    [common_name] => u29720_82079_07122025_053724PM_403
    [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_69223
    [temp_group_table] => contacts_temp_group_69223
    [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] => 1765109522
    [last_credit_update_time] => 1765109522
    [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 : 82079
\compaign_type : Rans per 25.31966 
ans sms 2124
dnd sms 431

require answer perrequire answer per : 429

user answer per : 196
below is the redis data 233 UPDATE voice_compaign_detail_82079 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 233 Total Failed : 597 no_answer_count : 200 Busy count :154 congestion_count : 71 failed_count : 172UPDATE voice_compaign_detail_82079 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 200 UPDATE voice_compaign_detail_82079 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 154 UPDATE voice_compaign_detail_82079 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 71 UPDATE voice_compaign_detail_82079 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 172 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='429', `user_busy_sms`='301', `user_congestion_sms`='71', `user_failed_sms`='468', `user_hangup_sms`='0', `user_no_answer_sms`='424', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='431' WHERE `compaign_id`=82079 LIMIT 1 


Time Diff : 0.128

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764850441'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764850501'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764850562'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764850621'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764850681'  
Array
(
    [0] => 82081
    [compaign_id] => 82081
    [1] => u29720
    [user_id] => u29720
    [2] => 69225,
    [group_ids] => 69225,
    [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] => 1765109523
    [start_date] => 1765109523
    [9] => 0
    [end_date] => 0
    [10] => 271
    [total_sms] => 271
    [11] => 271
    [sent_sms] => 271
    [12] => 0
    [duplicate_sms] => 0
    [13] => 23
    [answered_sms] => 23
    [14] => 35
    [busy_sms] => 35
    [15] => 0
    [congestion_sms] => 0
    [16] => 42
    [failed_sms] => 42
    [17] => 0
    [hangup_sms] => 0
    [18] => 55
    [no_answer_sms] => 55
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 72
    [cutting_sms] => 72
    [22] => 44
    [dnd_sms] => 44
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 23
    [user_answered_sms] => 23
    [27] => 35
    [user_busy_sms] => 35
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 42
    [user_failed_sms] => 42
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 55
    [user_no_answer_sms] => 55
    [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] => 1765109523
    [create_date] => 1765109523
    [40] => 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":1765109528,"compaign_read_start_time":1765109530,"compaign_read_complete_time":1765109531,"compaign_send_start_time":1765109582,"compaign_send_complete_time":1765109587}
    [action_time] => {"api_allot_time":1765109528,"compaign_read_start_time":1765109530,"compaign_read_complete_time":1765109531,"compaign_send_start_time":1765109582,"compaign_send_complete_time":1765109587}
    [50] => 0
    [compaign_file] => 0
    [51] => u29720_82081_07122025_054208PM_382
    [common_name] => u29720_82081_07122025_054208PM_382
    [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_69225
    [temp_group_table] => contacts_temp_group_69225
    [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] => 1765109821
    [last_credit_update_time] => 1765109821
    [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 : 82081
\compaign_type : Rans per 29.06949 
ans sms 271
dnd sms 44

require answer perrequire answer per : 66

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='66', `user_busy_sms`='43', `user_congestion_sms`='4', `user_failed_sms`='49', `user_hangup_sms`='0', `user_no_answer_sms`='65', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='44' WHERE `compaign_id`=82081 LIMIT 1 


Time Diff : 0.996

Array
(
    [0] => 82082
    [compaign_id] => 82082
    [1] => u29720
    [user_id] => u29720
    [2] => 69226,
    [group_ids] => 69226,
    [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] => 1765109524
    [start_date] => 1765109524
    [9] => 0
    [end_date] => 0
    [10] => 476
    [total_sms] => 476
    [11] => 476
    [sent_sms] => 476
    [12] => 0
    [duplicate_sms] => 0
    [13] => 25
    [answered_sms] => 25
    [14] => 42
    [busy_sms] => 42
    [15] => 0
    [congestion_sms] => 0
    [16] => 91
    [failed_sms] => 91
    [17] => 0
    [hangup_sms] => 0
    [18] => 51
    [no_answer_sms] => 51
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 130
    [cutting_sms] => 130
    [22] => 137
    [dnd_sms] => 137
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 25
    [user_answered_sms] => 25
    [27] => 42
    [user_busy_sms] => 42
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 91
    [user_failed_sms] => 91
    [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] => 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] => 1765109524
    [create_date] => 1765109524
    [40] => 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":1765109530,"compaign_read_start_time":1765109533,"compaign_read_complete_time":1765109534,"compaign_send_start_time":1765109582,"compaign_send_complete_time":1765109587}
    [action_time] => {"api_allot_time":1765109530,"compaign_read_start_time":1765109533,"compaign_read_complete_time":1765109534,"compaign_send_start_time":1765109582,"compaign_send_complete_time":1765109587}
    [50] => 0
    [compaign_file] => 0
    [51] => u29720_82082_07122025_054210PM_977
    [common_name] => u29720_82082_07122025_054210PM_977
    [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_69226
    [temp_group_table] => contacts_temp_group_69226
    [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] => 1765109821
    [last_credit_update_time] => 1765109821
    [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 : 82082
\compaign_type : Rans per 27.3064 
ans sms 476
dnd sms 137

require answer perrequire answer per : 93

user answer per : 25
below is the redis data 68 UPDATE voice_compaign_detail_82082 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 68 Total Failed : 62 no_answer_count : 21 Busy count :16 congestion_count : 8 failed_count : 17UPDATE voice_compaign_detail_82082 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 21 UPDATE voice_compaign_detail_82082 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 16 UPDATE voice_compaign_detail_82082 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 8 UPDATE voice_compaign_detail_82082 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`='93', `user_busy_sms`='58', `user_congestion_sms`='8', `user_failed_sms`='108', `user_hangup_sms`='0', `user_no_answer_sms`='72', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='137' WHERE `compaign_id`=82082 LIMIT 1 


Time Diff : 0.567

Array
(
    [0] => 82083
    [compaign_id] => 82083
    [1] => u86
    [user_id] => u86
    [2] => 69228,
    [group_ids] => 69228,
    [3] => 
    [sender_id] => 
    [4] => ADVOCATE.mp3
    [filename] => ADVOCATE.mp3
    [5] => 24
    [duration] => 24
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765109524
    [start_date] => 1765109524
    [9] => 0
    [end_date] => 0
    [10] => 570
    [total_sms] => 570
    [11] => 570
    [sent_sms] => 570
    [12] => 0
    [duplicate_sms] => 0
    [13] => 16
    [answered_sms] => 16
    [14] => 30
    [busy_sms] => 30
    [15] => 0
    [congestion_sms] => 0
    [16] => 98
    [failed_sms] => 98
    [17] => 0
    [hangup_sms] => 0
    [18] => 15
    [no_answer_sms] => 15
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 107
    [cutting_sms] => 107
    [22] => 304
    [dnd_sms] => 304
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 16
    [user_answered_sms] => 16
    [27] => 30
    [user_busy_sms] => 30
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 98
    [user_failed_sms] => 98
    [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] => 304
    [user_dnd_sms] => 304
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u86
    [created_by] => u86
    [38] => 0
    [isScheduled] => 0
    [39] => 1765109524
    [create_date] => 1765109524
    [40] => 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":1765109530,"compaign_read_start_time":1765109536,"compaign_read_complete_time":1765109538,"compaign_send_start_time":1765109582,"compaign_send_complete_time":1765109587}
    [action_time] => {"api_allot_time":1765109530,"compaign_read_start_time":1765109536,"compaign_read_complete_time":1765109538,"compaign_send_start_time":1765109582,"compaign_send_complete_time":1765109587}
    [50] => 0
    [compaign_file] => 0
    [51] => u86_82083_07122025_054210PM_991
    [common_name] => u86_82083_07122025_054210PM_991
    [52] => 1765088082_u86_voice.wav
    [voice_file] => 1765088082_u86_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_69228
    [temp_group_table] => contacts_temp_group_69228
    [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] => 1765109821
    [last_credit_update_time] => 1765109821
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 161
    [user_voice_plan_id] => 161
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.19
    [pulse_rate] => 0.19
    [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,u86
    [uphierarchy] => admin,sr3,u86
    [113] => 
    [extra_params_json] => 
)


Compaign : 82083
\compaign_type : Rans per 27.54997 
ans sms 570
dnd sms 304

require answer perrequire answer per : 74

user answer per : 16
below is the redis data 58 /n/r
only no answer and busy will be convert, total number require 58 /n/r
UPDATE voice_compaign_detail_82083 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 45 UPDATE voice_compaign_detail_82083 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 45 Total Failed : 57 no_answer_count : 20 Busy count :15 congestion_count : 7 failed_count : 15UPDATE voice_compaign_detail_82083 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 20 UPDATE voice_compaign_detail_82083 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 15 UPDATE voice_compaign_detail_82083 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 7 UPDATE voice_compaign_detail_82083 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`='61', `user_busy_sms`='60', `user_congestion_sms`='7', `user_failed_sms`='73', `user_hangup_sms`='0', `user_no_answer_sms`='65', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='304' WHERE `compaign_id`=82083 LIMIT 1 


Time Diff : 0.472

Array
(
    [0] => 82084
    [compaign_id] => 82084
    [1] => u29720
    [user_id] => u29720
    [2] => 69227,
    [group_ids] => 69227,
    [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] => 1765109526
    [start_date] => 1765109526
    [9] => 0
    [end_date] => 0
    [10] => 1054
    [total_sms] => 1054
    [11] => 1054
    [sent_sms] => 1054
    [12] => 0
    [duplicate_sms] => 0
    [13] => 65
    [answered_sms] => 65
    [14] => 101
    [busy_sms] => 101
    [15] => 0
    [congestion_sms] => 0
    [16] => 122
    [failed_sms] => 122
    [17] => 0
    [hangup_sms] => 0
    [18] => 128
    [no_answer_sms] => 128
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 348
    [cutting_sms] => 348
    [22] => 290
    [dnd_sms] => 290
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 65
    [user_answered_sms] => 65
    [27] => 101
    [user_busy_sms] => 101
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 122
    [user_failed_sms] => 122
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 128
    [user_no_answer_sms] => 128
    [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] => 1765109526
    [create_date] => 1765109526
    [40] => 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":1765109532,"compaign_read_start_time":1765109539,"compaign_read_complete_time":1765109542,"compaign_send_start_time":1765109582,"compaign_send_complete_time":1765109588}
    [action_time] => {"api_allot_time":1765109532,"compaign_read_start_time":1765109539,"compaign_read_complete_time":1765109542,"compaign_send_start_time":1765109582,"compaign_send_complete_time":1765109588}
    [50] => 0
    [compaign_file] => 0
    [51] => u29720_82084_07122025_054212PM_859
    [common_name] => u29720_82084_07122025_054212PM_859
    [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_69227
    [temp_group_table] => contacts_temp_group_69227
    [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] => 1765109821
    [last_credit_update_time] => 1765109821
    [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 : 82084
\compaign_type : Rans per 29.60146 
ans sms 1054
dnd sms 290

require answer perrequire answer per : 227

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='227', `user_busy_sms`='149', `user_congestion_sms`='23', `user_failed_sms`='174', `user_hangup_sms`='0', `user_no_answer_sms`='191', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='290' WHERE `compaign_id`=82084 LIMIT 1 


Time Diff : 0.257

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764850741'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764850802'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764850862'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764850921'  
Array
(
    [0] => 82088
    [compaign_id] => 82088
    [1] => u29720
    [user_id] => u29720
    [2] => 69233,
    [group_ids] => 69233,
    [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] => 1765109831
    [start_date] => 1765109831
    [9] => 0
    [end_date] => 0
    [10] => 204
    [total_sms] => 204
    [11] => 204
    [sent_sms] => 204
    [12] => 0
    [duplicate_sms] => 0
    [13] => 13
    [answered_sms] => 13
    [14] => 18
    [busy_sms] => 18
    [15] => 0
    [congestion_sms] => 0
    [16] => 47
    [failed_sms] => 47
    [17] => 0
    [hangup_sms] => 0
    [18] => 24
    [no_answer_sms] => 24
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 40
    [cutting_sms] => 40
    [22] => 62
    [dnd_sms] => 62
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 13
    [user_answered_sms] => 13
    [27] => 18
    [user_busy_sms] => 18
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 47
    [user_failed_sms] => 47
    [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] => 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] => 1765109831
    [create_date] => 1765109831
    [40] => 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":1765109838,"compaign_read_start_time":1765109839,"compaign_read_complete_time":1765109840,"compaign_send_start_time":1765109882,"compaign_send_complete_time":1765109883}
    [action_time] => {"api_allot_time":1765109838,"compaign_read_start_time":1765109839,"compaign_read_complete_time":1765109840,"compaign_send_start_time":1765109882,"compaign_send_complete_time":1765109883}
    [50] => 0
    [compaign_file] => 0
    [51] => u29720_82088_07122025_054717PM_532
    [common_name] => u29720_82088_07122025_054717PM_532
    [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_69233
    [temp_group_table] => contacts_temp_group_69233
    [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] => 1765110121
    [last_credit_update_time] => 1765110121
    [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 : 82088
\compaign_type : Rans per 30.48883 
ans sms 204
dnd sms 62

require answer perrequire answer per : 44

user answer per : 13
below is the redis data 31 UPDATE voice_compaign_detail_82088 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 31 Total Failed : 9 no_answer_count : 4 Busy count :3 congestion_count : 2 failed_count : 0UPDATE voice_compaign_detail_82088 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 4 UPDATE voice_compaign_detail_82088 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 3 UPDATE voice_compaign_detail_82088 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`='44', `user_busy_sms`='21', `user_congestion_sms`='2', `user_failed_sms`='47', `user_hangup_sms`='0', `user_no_answer_sms`='28', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='62' WHERE `compaign_id`=82088 LIMIT 1 


Time Diff : 1.029

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764850981'  
Array
(
    [0] => 82089
    [compaign_id] => 82089
    [1] => u29720
    [user_id] => u29720
    [2] => 69232,
    [group_ids] => 69232,
    [3] => 
    [sender_id] => 
    [4] => Gopalapur.mp3
    [filename] => Gopalapur.mp3
    [5] => 21
    [duration] => 21
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765109832
    [start_date] => 1765109832
    [9] => 0
    [end_date] => 0
    [10] => 563
    [total_sms] => 563
    [11] => 563
    [sent_sms] => 563
    [12] => 0
    [duplicate_sms] => 0
    [13] => 47
    [answered_sms] => 47
    [14] => 34
    [busy_sms] => 34
    [15] => 0
    [congestion_sms] => 0
    [16] => 89
    [failed_sms] => 89
    [17] => 0
    [hangup_sms] => 0
    [18] => 78
    [no_answer_sms] => 78
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 184
    [cutting_sms] => 184
    [22] => 131
    [dnd_sms] => 131
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 47
    [user_answered_sms] => 47
    [27] => 34
    [user_busy_sms] => 34
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 89
    [user_failed_sms] => 89
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 78
    [user_no_answer_sms] => 78
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 131
    [user_dnd_sms] => 131
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29720
    [created_by] => u29720
    [38] => 0
    [isScheduled] => 0
    [39] => 1765109832
    [create_date] => 1765109832
    [40] => 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":1765109838,"compaign_read_start_time":1765109842,"compaign_read_complete_time":1765109843,"compaign_send_start_time":1765109882,"compaign_send_complete_time":1765109883}
    [action_time] => {"api_allot_time":1765109838,"compaign_read_start_time":1765109842,"compaign_read_complete_time":1765109843,"compaign_send_start_time":1765109882,"compaign_send_complete_time":1765109883}
    [50] => 0
    [compaign_file] => 0
    [51] => u29720_82089_07122025_054717PM_242
    [common_name] => u29720_82089_07122025_054717PM_242
    [52] => 1765102634_u29720_voice.wav
    [voice_file] => 1765102634_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_69232
    [temp_group_table] => contacts_temp_group_69232
    [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] => 1765110121
    [last_credit_update_time] => 1765110121
    [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 : 82089
\compaign_type : Rans per 29.89152 
ans sms 563
dnd sms 131

require answer perrequire answer per : 130

user answer per : 47
below is the redis data 83 UPDATE voice_compaign_detail_82089 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 83 Total Failed : 101 no_answer_count : 34 Busy count :26 congestion_count : 12 failed_count : 29UPDATE voice_compaign_detail_82089 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 34 UPDATE voice_compaign_detail_82089 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 26 UPDATE voice_compaign_detail_82089 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 12 UPDATE voice_compaign_detail_82089 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`='130', `user_busy_sms`='60', `user_congestion_sms`='12', `user_failed_sms`='118', `user_hangup_sms`='0', `user_no_answer_sms`='112', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='131' WHERE `compaign_id`=82089 LIMIT 1 


Time Diff : 0.483

Array
(
    [0] => 82090
    [compaign_id] => 82090
    [1] => u29720
    [user_id] => u29720
    [2] => 69234,
    [group_ids] => 69234,
    [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] => 1765109836
    [start_date] => 1765109836
    [9] => 0
    [end_date] => 0
    [10] => 1695
    [total_sms] => 1695
    [11] => 1695
    [sent_sms] => 1695
    [12] => 0
    [duplicate_sms] => 0
    [13] => 121
    [answered_sms] => 121
    [14] => 123
    [busy_sms] => 123
    [15] => 0
    [congestion_sms] => 0
    [16] => 227
    [failed_sms] => 227
    [17] => 0
    [hangup_sms] => 0
    [18] => 146
    [no_answer_sms] => 146
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 647
    [cutting_sms] => 647
    [22] => 431
    [dnd_sms] => 431
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 121
    [user_answered_sms] => 121
    [27] => 123
    [user_busy_sms] => 123
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 227
    [user_failed_sms] => 227
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 146
    [user_no_answer_sms] => 146
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 431
    [user_dnd_sms] => 431
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29720
    [created_by] => u29720
    [38] => 0
    [isScheduled] => 0
    [39] => 1765109836
    [create_date] => 1765109836
    [40] => 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":1765109842,"compaign_read_start_time":1765109845,"compaign_read_complete_time":1765109848,"compaign_send_start_time":1765109882,"compaign_send_complete_time":1765109885}
    [action_time] => {"api_allot_time":1765109842,"compaign_read_start_time":1765109845,"compaign_read_complete_time":1765109848,"compaign_send_start_time":1765109882,"compaign_send_complete_time":1765109885}
    [50] => 0
    [compaign_file] => 0
    [51] => u29720_82090_07122025_054721PM_122
    [common_name] => u29720_82090_07122025_054721PM_122
    [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_69234
    [temp_group_table] => contacts_temp_group_69234
    [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] => 1765110121
    [last_credit_update_time] => 1765110121
    [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 : 82090
\compaign_type : Rans per 30.3528 
ans sms 1695
dnd sms 431

require answer perrequire answer per : 384

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='384', `user_busy_sms`='222', `user_congestion_sms`='46', `user_failed_sms`='337', `user_hangup_sms`='0', `user_no_answer_sms`='275', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='431' WHERE `compaign_id`=82090 LIMIT 1 


Time Diff : 0.16

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764851042'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764851101'  
Array
(
    [0] => 82092
    [compaign_id] => 82092
    [1] => r63
    [user_id] => r63
    [2] => 69236,
    [group_ids] => 69236,
    [3] => 
    [sender_id] => 
    [4] => allambalakrishna.mp3
    [filename] => allambalakrishna.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765109872
    [start_date] => 1765109872
    [9] => 0
    [end_date] => 0
    [10] => 52
    [total_sms] => 52
    [11] => 52
    [sent_sms] => 52
    [12] => 0
    [duplicate_sms] => 0
    [13] => 23
    [answered_sms] => 23
    [14] => 3
    [busy_sms] => 3
    [15] => 0
    [congestion_sms] => 0
    [16] => 15
    [failed_sms] => 15
    [17] => 0
    [hangup_sms] => 0
    [18] => 11
    [no_answer_sms] => 11
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [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] => 3
    [user_busy_sms] => 3
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 15
    [user_failed_sms] => 15
    [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] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => r63
    [created_by] => r63
    [38] => 0
    [isScheduled] => 0
    [39] => 1765109872
    [create_date] => 1765109872
    [40] => 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":1765109882,"compaign_read_start_time":1765109885,"compaign_read_complete_time":1765109885,"compaign_send_start_time":1765109941,"compaign_send_complete_time":1765109942}
    [action_time] => {"api_allot_time":1765109882,"compaign_read_start_time":1765109885,"compaign_read_complete_time":1765109885,"compaign_send_start_time":1765109941,"compaign_send_complete_time":1765109942}
    [50] => 0
    [compaign_file] => 0
    [51] => r63_82092_07122025_054802PM_278
    [common_name] => r63_82092_07122025_054802PM_278
    [52] => 1765109872_r63_voice.wav
    [voice_file] => 1765109872_r63_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_69236
    [temp_group_table] => contacts_temp_group_69236
    [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] => 1765110242
    [last_credit_update_time] => 1765110242
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 882
    [user_voice_plan_id] => 882
    [85] => 11
    [voice_plan_id] => 11
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.17
    [pulse_rate] => 0.17
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_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,sr27,r63
    [uphierarchy] => admin,sr27,r63
    [113] => 
    [extra_params_json] => 
)


Compaign : 82092
\compaign_type : Rans per 27.95342 
ans sms 52
dnd sms 0

require answer perrequire answer per : 15

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`='3', `user_congestion_sms`='0', `user_failed_sms`='15', `user_hangup_sms`='0', `user_no_answer_sms`='11', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=82092 LIMIT 1 


Time Diff : 5.692

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


Compaign : 81650
\compaign_type : ATans per 26.34555 
ans sms 35177
dnd sms 0

require answer perrequire answer per : 9268

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='164', `user_busy_sms`='11746', `user_congestion_sms`='0', `user_failed_sms`='21907', `user_hangup_sms`='0', `user_no_answer_sms`='1360', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81650 LIMIT 1 


Time Diff : 0.809

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764851222'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764851281'  
Array
(
    [0] => 82096
    [compaign_id] => 82096
    [1] => u29720
    [user_id] => u29720
    [2] => 69241,
    [group_ids] => 69241,
    [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] => 1765110122
    [start_date] => 1765110122
    [9] => 0
    [end_date] => 0
    [10] => 205
    [total_sms] => 205
    [11] => 205
    [sent_sms] => 205
    [12] => 0
    [duplicate_sms] => 0
    [13] => 22
    [answered_sms] => 22
    [14] => 32
    [busy_sms] => 32
    [15] => 0
    [congestion_sms] => 0
    [16] => 36
    [failed_sms] => 36
    [17] => 0
    [hangup_sms] => 0
    [18] => 39
    [no_answer_sms] => 39
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 32
    [cutting_sms] => 32
    [22] => 44
    [dnd_sms] => 44
    [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] => 36
    [user_failed_sms] => 36
    [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] => 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] => 1765110122
    [create_date] => 1765110122
    [40] => 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":1765110128,"compaign_read_start_time":1765110130,"compaign_read_complete_time":1765110131,"compaign_send_start_time":1765110182,"compaign_send_complete_time":1765110183}
    [action_time] => {"api_allot_time":1765110128,"compaign_read_start_time":1765110130,"compaign_read_complete_time":1765110131,"compaign_send_start_time":1765110182,"compaign_send_complete_time":1765110183}
    [50] => 0
    [compaign_file] => 0
    [51] => u29720_82096_07122025_055207PM_450
    [common_name] => u29720_82096_07122025_055207PM_450
    [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_69241
    [temp_group_table] => contacts_temp_group_69241
    [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] => 1765110422
    [last_credit_update_time] => 1765110422
    [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 : 82096
\compaign_type : Rans per 29.5426 
ans sms 205
dnd sms 44

require answer perrequire answer per : 48

user answer per : 22
below is the redis data 26 UPDATE voice_compaign_detail_82096 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 26 Total Failed : 6 no_answer_count : 3 Busy count :2 congestion_count : 1 failed_count : 0UPDATE voice_compaign_detail_82096 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 3 UPDATE voice_compaign_detail_82096 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 2 UPDATE voice_compaign_detail_82096 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`='48', `user_busy_sms`='34', `user_congestion_sms`='1', `user_failed_sms`='36', `user_hangup_sms`='0', `user_no_answer_sms`='42', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='44' WHERE `compaign_id`=82096 LIMIT 1 


Time Diff : 1.322

Array
(
    [0] => 82097
    [compaign_id] => 82097
    [1] => u86
    [user_id] => u86
    [2] => 69240,
    [group_ids] => 69240,
    [3] => 
    [sender_id] => 
    [4] => ADVOCATE.mp3
    [filename] => ADVOCATE.mp3
    [5] => 24
    [duration] => 24
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765110123
    [start_date] => 1765110123
    [9] => 0
    [end_date] => 0
    [10] => 509
    [total_sms] => 509
    [11] => 509
    [sent_sms] => 509
    [12] => 0
    [duplicate_sms] => 0
    [13] => 9
    [answered_sms] => 9
    [14] => 8
    [busy_sms] => 8
    [15] => 0
    [congestion_sms] => 0
    [16] => 94
    [failed_sms] => 94
    [17] => 0
    [hangup_sms] => 0
    [18] => 10
    [no_answer_sms] => 10
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 84
    [cutting_sms] => 84
    [22] => 304
    [dnd_sms] => 304
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 9
    [user_answered_sms] => 9
    [27] => 8
    [user_busy_sms] => 8
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 94
    [user_failed_sms] => 94
    [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] => 304
    [user_dnd_sms] => 304
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u86
    [created_by] => u86
    [38] => 0
    [isScheduled] => 0
    [39] => 1765110123
    [create_date] => 1765110123
    [40] => 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":1765110130,"compaign_read_start_time":1765110133,"compaign_read_complete_time":1765110134,"compaign_send_start_time":1765110182,"compaign_send_complete_time":1765110183}
    [action_time] => {"api_allot_time":1765110130,"compaign_read_start_time":1765110133,"compaign_read_complete_time":1765110134,"compaign_send_start_time":1765110182,"compaign_send_complete_time":1765110183}
    [50] => 0
    [compaign_file] => 0
    [51] => u86_82097_07122025_055209PM_352
    [common_name] => u86_82097_07122025_055209PM_352
    [52] => 1765088082_u86_voice.wav
    [voice_file] => 1765088082_u86_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_69240
    [temp_group_table] => contacts_temp_group_69240
    [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] => 1765110422
    [last_credit_update_time] => 1765110422
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 161
    [user_voice_plan_id] => 161
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.19
    [pulse_rate] => 0.19
    [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,u86
    [uphierarchy] => admin,sr3,u86
    [113] => 
    [extra_params_json] => 
)


Compaign : 82097
\compaign_type : Rans per 27.09708 
ans sms 509
dnd sms 304

require answer perrequire answer per : 56

user answer per : 9
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_82097 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_82097 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 : 49 no_answer_count : 17 Busy count :13 congestion_count : 6 failed_count : 13UPDATE voice_compaign_detail_82097 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 17 UPDATE voice_compaign_detail_82097 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 13 UPDATE voice_compaign_detail_82097 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 6 UPDATE voice_compaign_detail_82097 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`='27', `user_busy_sms`='51', `user_congestion_sms`='6', `user_failed_sms`='66', `user_hangup_sms`='0', `user_no_answer_sms`='55', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='304' WHERE `compaign_id`=82097 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>'1764851342'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764851401'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764851461'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764851522'  
Array
(
    [0] => 82099
    [compaign_id] => 82099
    [1] => u607
    [user_id] => u607
    [2] => 69243,
    [group_ids] => 69243,
    [3] => 
    [sender_id] => 
    [4] => Laxmi raju .mp3
    [filename] => Laxmi raju .mp3
    [5] => 26
    [duration] => 26
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765110364
    [start_date] => 1765110364
    [9] => 0
    [end_date] => 0
    [10] => 1457
    [total_sms] => 1457
    [11] => 1457
    [sent_sms] => 1457
    [12] => 0
    [duplicate_sms] => 0
    [13] => 138
    [answered_sms] => 138
    [14] => 100
    [busy_sms] => 100
    [15] => 0
    [congestion_sms] => 0
    [16] => 303
    [failed_sms] => 303
    [17] => 0
    [hangup_sms] => 0
    [18] => 112
    [no_answer_sms] => 112
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 610
    [cutting_sms] => 610
    [22] => 194
    [dnd_sms] => 194
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 138
    [user_answered_sms] => 138
    [27] => 100
    [user_busy_sms] => 100
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 303
    [user_failed_sms] => 303
    [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] => 194
    [user_dnd_sms] => 194
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u607
    [created_by] => u607
    [38] => 0
    [isScheduled] => 0
    [39] => 1765110363
    [create_date] => 1765110363
    [40] => 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":1765110370,"compaign_read_start_time":1765110370,"compaign_read_complete_time":1765110373,"compaign_send_start_time":1765110422,"compaign_send_complete_time":1765110425}
    [action_time] => {"api_allot_time":1765110370,"compaign_read_start_time":1765110370,"compaign_read_complete_time":1765110373,"compaign_send_start_time":1765110422,"compaign_send_complete_time":1765110425}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_82099_07122025_055609PM_193
    [common_name] => u607_82099_07122025_055609PM_193
    [52] => 1765110363_u607_voice.wav
    [voice_file] => 1765110363_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_69243
    [temp_group_table] => contacts_temp_group_69243
    [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] => 1765110602
    [reschedule_last_check_time] => 1765110602
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765110661
    [last_credit_update_time] => 1765110661
    [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":1765114200,"2":1765117800}
    [rt_time] => {"1":1765114200,"2":1765117800}
    [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 : 82099
\compaign_type : Rans per 30.63947 
ans sms 1457
dnd sms 194

require answer perrequire answer per : 387

user answer per : 138
below is the redis data 249 /n/r
only no answer and busy will be convert, total number require 249 /n/r
UPDATE voice_compaign_detail_82099 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 197 UPDATE voice_compaign_detail_82099 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 197 Total Failed : 339 no_answer_count : 114 Busy count :87 congestion_count : 41 failed_count : 97UPDATE voice_compaign_detail_82099 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 114 UPDATE voice_compaign_detail_82099 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 87 UPDATE voice_compaign_detail_82099 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 41 UPDATE voice_compaign_detail_82099 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`='350', `user_busy_sms`='284', `user_congestion_sms`='41', `user_failed_sms`='277', `user_hangup_sms`='0', `user_no_answer_sms`='311', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='194' WHERE `compaign_id`=82099 LIMIT 1 


Time Diff : 0.187

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764851581'  
Array
(
    [0] => 82101
    [compaign_id] => 82101
    [1] => u29720
    [user_id] => u29720
    [2] => 69246,
    [group_ids] => 69246,
    [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] => 1765110427
    [start_date] => 1765110427
    [9] => 0
    [end_date] => 0
    [10] => 1021
    [total_sms] => 1021
    [11] => 1021
    [sent_sms] => 1021
    [12] => 0
    [duplicate_sms] => 0
    [13] => 55
    [answered_sms] => 55
    [14] => 57
    [busy_sms] => 57
    [15] => 0
    [congestion_sms] => 0
    [16] => 175
    [failed_sms] => 175
    [17] => 0
    [hangup_sms] => 0
    [18] => 97
    [no_answer_sms] => 97
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 338
    [cutting_sms] => 338
    [22] => 299
    [dnd_sms] => 299
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 55
    [user_answered_sms] => 55
    [27] => 57
    [user_busy_sms] => 57
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 175
    [user_failed_sms] => 175
    [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] => 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] => 1765110427
    [create_date] => 1765110427
    [40] => 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":1765110433,"compaign_read_start_time":1765110434,"compaign_read_complete_time":1765110436,"compaign_send_start_time":1765110481,"compaign_send_complete_time":1765110484}
    [action_time] => {"api_allot_time":1765110433,"compaign_read_start_time":1765110434,"compaign_read_complete_time":1765110436,"compaign_send_start_time":1765110481,"compaign_send_complete_time":1765110484}
    [50] => 0
    [compaign_file] => 0
    [51] => u29720_82101_07122025_055712PM_846
    [common_name] => u29720_82101_07122025_055712PM_846
    [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_69246
    [temp_group_table] => contacts_temp_group_69246
    [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] => 1765110722
    [last_credit_update_time] => 1765110722
    [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 : 82101
\compaign_type : Rans per 29.12331 
ans sms 1021
dnd sms 299

require answer perrequire answer per : 211

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='211', `user_busy_sms`='104', `user_congestion_sms`='22', `user_failed_sms`='227', `user_hangup_sms`='0', `user_no_answer_sms`='158', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='299' WHERE `compaign_id`=82101 LIMIT 1 


Time Diff : 0.265

Array
(
    [0] => 82102
    [compaign_id] => 82102
    [1] => u29720
    [user_id] => u29720
    [2] => 69244,
    [group_ids] => 69244,
    [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] => 1765110428
    [start_date] => 1765110428
    [9] => 0
    [end_date] => 0
    [10] => 1313
    [total_sms] => 1313
    [11] => 1313
    [sent_sms] => 1313
    [12] => 0
    [duplicate_sms] => 0
    [13] => 116
    [answered_sms] => 116
    [14] => 110
    [busy_sms] => 110
    [15] => 0
    [congestion_sms] => 0
    [16] => 179
    [failed_sms] => 179
    [17] => 0
    [hangup_sms] => 0
    [18] => 121
    [no_answer_sms] => 121
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 412
    [cutting_sms] => 412
    [22] => 375
    [dnd_sms] => 375
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 116
    [user_answered_sms] => 116
    [27] => 110
    [user_busy_sms] => 110
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 179
    [user_failed_sms] => 179
    [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] => 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] => 1765110428
    [create_date] => 1765110428
    [40] => 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":1765110434,"compaign_read_start_time":1765110437,"compaign_read_complete_time":1765110440,"compaign_send_start_time":1765110481,"compaign_send_complete_time":1765110550}
    [action_time] => {"api_allot_time":1765110434,"compaign_read_start_time":1765110437,"compaign_read_complete_time":1765110440,"compaign_send_start_time":1765110481,"compaign_send_complete_time":1765110550}
    [50] => 0
    [compaign_file] => 0
    [51] => u29720_82102_07122025_055714PM_161
    [common_name] => u29720_82102_07122025_055714PM_161
    [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_69244
    [temp_group_table] => contacts_temp_group_69244
    [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] => 1765110722
    [last_credit_update_time] => 1765110722
    [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 : 82102
\compaign_type : Rans per 26.98046 
ans sms 1313
dnd sms 375

require answer perrequire answer per : 254

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='254', `user_busy_sms`='181', `user_congestion_sms`='33', `user_failed_sms`='257', `user_hangup_sms`='0', `user_no_answer_sms`='213', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='375' WHERE `compaign_id`=82102 LIMIT 1 


Time Diff : 0.16

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764851641'  
Array
(
    [0] => 82100
    [compaign_id] => 82100
    [1] => u29720
    [user_id] => u29720
    [2] => 69245,
    [group_ids] => 69245,
    [3] => 
    [sender_id] => 
    [4] => Gopalapur.mp3
    [filename] => Gopalapur.mp3
    [5] => 21
    [duration] => 21
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765110424
    [start_date] => 1765110424
    [9] => 0
    [end_date] => 0
    [10] => 433
    [total_sms] => 433
    [11] => 433
    [sent_sms] => 433
    [12] => 0
    [duplicate_sms] => 0
    [13] => 29
    [answered_sms] => 29
    [14] => 28
    [busy_sms] => 28
    [15] => 0
    [congestion_sms] => 0
    [16] => 74
    [failed_sms] => 74
    [17] => 0
    [hangup_sms] => 0
    [18] => 50
    [no_answer_sms] => 50
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 121
    [cutting_sms] => 121
    [22] => 131
    [dnd_sms] => 131
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 29
    [user_answered_sms] => 29
    [27] => 28
    [user_busy_sms] => 28
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 74
    [user_failed_sms] => 74
    [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] => 131
    [user_dnd_sms] => 131
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29720
    [created_by] => u29720
    [38] => 0
    [isScheduled] => 0
    [39] => 1765110424
    [create_date] => 1765110424
    [40] => 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":1765110560,"compaign_read_start_time":1765110563,"compaign_read_complete_time":1765110564,"compaign_send_start_time":1765110602,"compaign_send_complete_time":1765110603}
    [action_time] => {"api_allot_time":1765110560,"compaign_read_start_time":1765110563,"compaign_read_complete_time":1765110564,"compaign_send_start_time":1765110602,"compaign_send_complete_time":1765110603}
    [50] => 0
    [compaign_file] => 0
    [51] => u29720_82100_07122025_055710PM_577
    [common_name] => u29720_82100_07122025_055710PM_577
    [52] => 1765102634_u29720_voice.wav
    [voice_file] => 1765102634_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_69245
    [temp_group_table] => contacts_temp_group_69245
    [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] => 1765110841
    [last_credit_update_time] => 1765110841
    [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 : 82100
\compaign_type : Rans per 29.12998 
ans sms 433
dnd sms 131

require answer perrequire answer per : 88

user answer per : 29
below is the redis data 59 UPDATE voice_compaign_detail_82100 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 59 Total Failed : 62 no_answer_count : 21 Busy count :16 congestion_count : 8 failed_count : 17UPDATE voice_compaign_detail_82100 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 21 UPDATE voice_compaign_detail_82100 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 16 UPDATE voice_compaign_detail_82100 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 8 UPDATE voice_compaign_detail_82100 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`='88', `user_busy_sms`='44', `user_congestion_sms`='8', `user_failed_sms`='91', `user_hangup_sms`='0', `user_no_answer_sms`='71', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='131' WHERE `compaign_id`=82100 LIMIT 1 


Time Diff : 0.487

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764851702'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764851777'  
Array
(
    [0] => 82063
    [compaign_id] => 82063
    [1] => u607
    [user_id] => u607
    [2] => 69201,
    [group_ids] => 69201,
    [3] => 
    [sender_id] => 
    [4] => DOMAKONDA.mp3
    [filename] => DOMAKONDA.mp3
    [5] => 32
    [duration] => 32
    [6] => 2
    [credits_per_sms] => 2
    [7] => 30
    [user_pulse] => 30
    [8] => 1765110600
    [start_date] => 1765110600
    [9] => 0
    [end_date] => 0
    [10] => 3665
    [total_sms] => 3665
    [11] => 3665
    [sent_sms] => 3665
    [12] => 0
    [duplicate_sms] => 0
    [13] => 205
    [answered_sms] => 205
    [14] => 185
    [busy_sms] => 185
    [15] => 0
    [congestion_sms] => 0
    [16] => 841
    [failed_sms] => 841
    [17] => 0
    [hangup_sms] => 0
    [18] => 185
    [no_answer_sms] => 185
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 1247
    [cutting_sms] => 1247
    [22] => 1002
    [dnd_sms] => 1002
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 205
    [user_answered_sms] => 205
    [27] => 185
    [user_busy_sms] => 185
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 841
    [user_failed_sms] => 841
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 185
    [user_no_answer_sms] => 185
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 1002
    [user_dnd_sms] => 1002
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u607
    [created_by] => u607
    [38] => 1
    [isScheduled] => 1
    [39] => 1765108335
    [create_date] => 1765108335
    [40] => 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":1765110607,"compaign_read_start_time":1765110607,"compaign_read_complete_time":1765110615,"compaign_send_start_time":1765110662,"compaign_send_complete_time":1765110668}
    [action_time] => {"api_allot_time":1765110607,"compaign_read_start_time":1765110607,"compaign_read_complete_time":1765110615,"compaign_send_start_time":1765110662,"compaign_send_complete_time":1765110668}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_82063_07122025_060005PM_276
    [common_name] => u607_82063_07122025_060005PM_276
    [52] => 1765107752_u607_voice.wav
    [voice_file] => 1765107752_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_69201
    [temp_group_table] => contacts_temp_group_69201
    [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] => 1765110902
    [last_credit_update_time] => 1765110902
    [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 : 82063
\compaign_type : Rans per 27.35442 
ans sms 3665
dnd sms 1002

require answer perrequire answer per : 729

user answer per : 205
below is the redis data 524 /n/r
only no answer and busy will be convert, total number require 524 /n/r
UPDATE voice_compaign_detail_82063 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 399 UPDATE voice_compaign_detail_82063 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 399 Total Failed : 775 no_answer_count : 259 Busy count :199 congestion_count : 92 failed_count : 225UPDATE voice_compaign_detail_82063 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 259 UPDATE voice_compaign_detail_82063 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 199 UPDATE voice_compaign_detail_82063 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 92 UPDATE voice_compaign_detail_82063 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 225 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='575', `user_busy_sms`='598', `user_congestion_sms`='92', `user_failed_sms`='740', `user_hangup_sms`='0', `user_no_answer_sms`='658', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='1002' WHERE `compaign_id`=82063 LIMIT 1 


Time Diff : 0.078

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764851821'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764851882'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764851941'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764852001'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764852061'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764852122'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764852182'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764852241'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764852301'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764852361'  
Array
(
    [0] => 82106
    [compaign_id] => 82106
    [1] => u29720
    [user_id] => u29720
    [2] => 69250,
    [group_ids] => 69250,
    [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] => 1765111284
    [start_date] => 1765111284
    [9] => 0
    [end_date] => 0
    [10] => 2717
    [total_sms] => 2717
    [11] => 2717
    [sent_sms] => 2717
    [12] => 0
    [duplicate_sms] => 0
    [13] => 393
    [answered_sms] => 393
    [14] => 201
    [busy_sms] => 201
    [15] => 3
    [congestion_sms] => 3
    [16] => 282
    [failed_sms] => 282
    [17] => 0
    [hangup_sms] => 0
    [18] => 283
    [no_answer_sms] => 283
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 1124
    [cutting_sms] => 1124
    [22] => 431
    [dnd_sms] => 431
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 393
    [user_answered_sms] => 393
    [27] => 201
    [user_busy_sms] => 201
    [28] => 3
    [user_congestion_sms] => 3
    [29] => 282
    [user_failed_sms] => 282
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 283
    [user_no_answer_sms] => 283
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 431
    [user_dnd_sms] => 431
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29720
    [created_by] => u29720
    [38] => 0
    [isScheduled] => 0
    [39] => 1765111283
    [create_date] => 1765111283
    [40] => 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":1765111290,"compaign_read_start_time":1765111291,"compaign_read_complete_time":1765111296,"compaign_send_start_time":1765111322,"compaign_send_complete_time":1765111327}
    [action_time] => {"api_allot_time":1765111290,"compaign_read_start_time":1765111291,"compaign_read_complete_time":1765111296,"compaign_send_start_time":1765111322,"compaign_send_complete_time":1765111327}
    [50] => 0
    [compaign_file] => 0
    [51] => u29720_82106_07122025_061129PM_543
    [common_name] => u29720_82106_07122025_061129PM_543
    [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_69250
    [temp_group_table] => contacts_temp_group_69250
    [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] => 1765111503
    [reschedule_last_check_time] => 1765111503
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765111502
    [last_credit_update_time] => 1765111502
    [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 : 82106
\compaign_type : Rans per 25.6818 
ans sms 2717
dnd sms 431

require answer perrequire answer per : 588

user answer per : 393
below is the redis data 195 UPDATE voice_compaign_detail_82106 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 195 Total Failed : 929 no_answer_count : 310 Busy count :239 congestion_count : 111 failed_count : 269UPDATE voice_compaign_detail_82106 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 310 UPDATE voice_compaign_detail_82106 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 239 UPDATE voice_compaign_detail_82106 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 111 UPDATE voice_compaign_detail_82106 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 269 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='588', `user_busy_sms`='440', `user_congestion_sms`='114', `user_failed_sms`='551', `user_hangup_sms`='0', `user_no_answer_sms`='593', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='431' WHERE `compaign_id`=82106 LIMIT 1 


Time Diff : 0.064

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764852421'  
Array
(
    [0] => 82109
    [compaign_id] => 82109
    [1] => u29720
    [user_id] => u29720
    [2] => 69252,
    [group_ids] => 69252,
    [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] => 1765111325
    [start_date] => 1765111325
    [9] => 0
    [end_date] => 0
    [10] => 810
    [total_sms] => 810
    [11] => 810
    [sent_sms] => 810
    [12] => 0
    [duplicate_sms] => 0
    [13] => 35
    [answered_sms] => 35
    [14] => 66
    [busy_sms] => 66
    [15] => 0
    [congestion_sms] => 0
    [16] => 135
    [failed_sms] => 135
    [17] => 0
    [hangup_sms] => 0
    [18] => 56
    [no_answer_sms] => 56
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 219
    [cutting_sms] => 219
    [22] => 299
    [dnd_sms] => 299
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 35
    [user_answered_sms] => 35
    [27] => 66
    [user_busy_sms] => 66
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 135
    [user_failed_sms] => 135
    [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] => 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] => 1765111325
    [create_date] => 1765111325
    [40] => 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":1765111332,"compaign_read_start_time":1765111333,"compaign_read_complete_time":1765111335,"compaign_send_start_time":1765111382,"compaign_send_complete_time":1765111393}
    [action_time] => {"api_allot_time":1765111332,"compaign_read_start_time":1765111333,"compaign_read_complete_time":1765111335,"compaign_send_start_time":1765111382,"compaign_send_complete_time":1765111393}
    [50] => 0
    [compaign_file] => 0
    [51] => u29720_82109_07122025_061212PM_718
    [common_name] => u29720_82109_07122025_061212PM_718
    [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_69252
    [temp_group_table] => contacts_temp_group_69252
    [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] => 1765111621
    [last_credit_update_time] => 1765111621
    [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 : 82109
\compaign_type : Rans per 29.50023 
ans sms 810
dnd sms 299

require answer perrequire answer per : 151

user answer per : 35
below is the redis data 116 UPDATE voice_compaign_detail_82109 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 116 Total Failed : 103 no_answer_count : 35 Busy count :27 congestion_count : 13 failed_count : 28UPDATE voice_compaign_detail_82109 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 35 UPDATE voice_compaign_detail_82109 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 27 UPDATE voice_compaign_detail_82109 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 13 UPDATE voice_compaign_detail_82109 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`='151', `user_busy_sms`='93', `user_congestion_sms`='13', `user_failed_sms`='163', `user_hangup_sms`='0', `user_no_answer_sms`='91', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='299' WHERE `compaign_id`=82109 LIMIT 1 


Time Diff : 0.258

Array
(
    [0] => 82110
    [compaign_id] => 82110
    [1] => u29720
    [user_id] => u29720
    [2] => 69256,
    [group_ids] => 69256,
    [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] => 1765111328
    [start_date] => 1765111328
    [9] => 0
    [end_date] => 0
    [10] => 1311
    [total_sms] => 1311
    [11] => 1311
    [sent_sms] => 1311
    [12] => 0
    [duplicate_sms] => 0
    [13] => 76
    [answered_sms] => 76
    [14] => 108
    [busy_sms] => 108
    [15] => 0
    [congestion_sms] => 0
    [16] => 189
    [failed_sms] => 189
    [17] => 0
    [hangup_sms] => 0
    [18] => 91
    [no_answer_sms] => 91
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 416
    [cutting_sms] => 416
    [22] => 431
    [dnd_sms] => 431
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 76
    [user_answered_sms] => 76
    [27] => 108
    [user_busy_sms] => 108
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 189
    [user_failed_sms] => 189
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 91
    [user_no_answer_sms] => 91
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 431
    [user_dnd_sms] => 431
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29720
    [created_by] => u29720
    [38] => 0
    [isScheduled] => 0
    [39] => 1765111328
    [create_date] => 1765111328
    [40] => 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":1765111334,"compaign_read_start_time":1765111336,"compaign_read_complete_time":1765111339,"compaign_send_start_time":1765111382,"compaign_send_complete_time":1765111394}
    [action_time] => {"api_allot_time":1765111334,"compaign_read_start_time":1765111336,"compaign_read_complete_time":1765111339,"compaign_send_start_time":1765111382,"compaign_send_complete_time":1765111394}
    [50] => 0
    [compaign_file] => 0
    [51] => u29720_82110_07122025_061214PM_775
    [common_name] => u29720_82110_07122025_061214PM_775
    [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_69256
    [temp_group_table] => contacts_temp_group_69256
    [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] => 1765111621
    [last_credit_update_time] => 1765111621
    [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 : 82110
\compaign_type : Rans per 25.38601 
ans sms 1311
dnd sms 431

require answer perrequire answer per : 224

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


 Blank User Record End

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


Compaign : 81650
\compaign_type : ATans per 29.95898 
ans sms 36549
dnd sms 0

require answer perrequire answer per : 10950

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='173', `user_busy_sms`='12288', `user_congestion_sms`='0', `user_failed_sms`='22672', `user_hangup_sms`='0', `user_no_answer_sms`='1416', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81650 LIMIT 1 


Time Diff : 0.817

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764852602'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764852661'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764852722'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764852782'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764852846'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764852901'  
Array
(
    [0] => 82119
    [compaign_id] => 82119
    [1] => u29720
    [user_id] => u29720
    [2] => 69264,
    [group_ids] => 69264,
    [3] => 
    [sender_id] => 
    [4] => Bheemadevarapally.mp3
    [filename] => Bheemadevarapally.mp3
    [5] => 18
    [duration] => 18
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765111840
    [start_date] => 1765111840
    [9] => 0
    [end_date] => 0
    [10] => 412
    [total_sms] => 412
    [11] => 412
    [sent_sms] => 412
    [12] => 0
    [duplicate_sms] => 0
    [13] => 75
    [answered_sms] => 75
    [14] => 33
    [busy_sms] => 33
    [15] => 0
    [congestion_sms] => 0
    [16] => 25
    [failed_sms] => 25
    [17] => 0
    [hangup_sms] => 0
    [18] => 82
    [no_answer_sms] => 82
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 128
    [cutting_sms] => 128
    [22] => 69
    [dnd_sms] => 69
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 75
    [user_answered_sms] => 75
    [27] => 33
    [user_busy_sms] => 33
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 25
    [user_failed_sms] => 25
    [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] => 69
    [user_dnd_sms] => 69
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29720
    [created_by] => u29720
    [38] => 0
    [isScheduled] => 0
    [39] => 1765111839
    [create_date] => 1765111839
    [40] => 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":1765111847,"compaign_read_start_time":1765111847,"compaign_read_complete_time":1765111848,"compaign_send_start_time":1765111861,"compaign_send_complete_time":1765111871}
    [action_time] => {"api_allot_time":1765111847,"compaign_read_start_time":1765111847,"compaign_read_complete_time":1765111848,"compaign_send_start_time":1765111861,"compaign_send_complete_time":1765111871}
    [50] => 0
    [compaign_file] => 0
    [51] => u29720_82119_07122025_062046PM_139
    [common_name] => u29720_82119_07122025_062046PM_139
    [52] => 1765111839_u29720_voice.wav
    [voice_file] => 1765111839_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_69264
    [temp_group_table] => contacts_temp_group_69264
    [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] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765112047
    [last_credit_update_time] => 1765112047
    [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 : 82119
\compaign_type : Rans per 25.47151 
ans sms 412
dnd sms 69

require answer perrequire answer per : 88

user answer per : 75
below is the redis data 13 UPDATE voice_compaign_detail_82119 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 13 Total Failed : 115 no_answer_count : 39 Busy count :30 congestion_count : 14 failed_count : 32UPDATE voice_compaign_detail_82119 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 39 UPDATE voice_compaign_detail_82119 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 30 UPDATE voice_compaign_detail_82119 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 14 UPDATE voice_compaign_detail_82119 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`='88', `user_busy_sms`='63', `user_congestion_sms`='14', `user_failed_sms`='57', `user_hangup_sms`='0', `user_no_answer_sms`='121', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='69' WHERE `compaign_id`=82119 LIMIT 1 


Time Diff : 0.425

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764852961'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764853022'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764853081'  
Array
(
    [0] => 82122
    [compaign_id] => 82122
    [1] => u29720
    [user_id] => u29720
    [2] => 69268,
    [group_ids] => 69268,
    [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] => 1765111926
    [start_date] => 1765111926
    [9] => 0
    [end_date] => 0
    [10] => 1059
    [total_sms] => 1059
    [11] => 1059
    [sent_sms] => 1059
    [12] => 0
    [duplicate_sms] => 0
    [13] => 69
    [answered_sms] => 69
    [14] => 83
    [busy_sms] => 83
    [15] => 0
    [congestion_sms] => 0
    [16] => 128
    [failed_sms] => 128
    [17] => 0
    [hangup_sms] => 0
    [18] => 100
    [no_answer_sms] => 100
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 304
    [cutting_sms] => 304
    [22] => 375
    [dnd_sms] => 375
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 69
    [user_answered_sms] => 69
    [27] => 83
    [user_busy_sms] => 83
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 128
    [user_failed_sms] => 128
    [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] => 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] => 1765111926
    [create_date] => 1765111926
    [40] => 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":1765111933,"compaign_read_start_time":1765111934,"compaign_read_complete_time":1765111936,"compaign_send_start_time":1765111982,"compaign_send_complete_time":1765111984}
    [action_time] => {"api_allot_time":1765111933,"compaign_read_start_time":1765111934,"compaign_read_complete_time":1765111936,"compaign_send_start_time":1765111982,"compaign_send_complete_time":1765111984}
    [50] => 0
    [compaign_file] => 0
    [51] => u29720_82122_07122025_062212PM_345
    [common_name] => u29720_82122_07122025_062212PM_345
    [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_69268
    [temp_group_table] => contacts_temp_group_69268
    [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] => 1765112222
    [last_credit_update_time] => 1765112222
    [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 : 82122
\compaign_type : Rans per 25.30215 
ans sms 1059
dnd sms 375

require answer perrequire answer per : 174

user answer per : 69
below is the redis data 105 UPDATE voice_compaign_detail_82122 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 105 Total Failed : 199 no_answer_count : 67 Busy count :52 congestion_count : 24 failed_count : 56UPDATE voice_compaign_detail_82122 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 67 UPDATE voice_compaign_detail_82122 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 52 UPDATE voice_compaign_detail_82122 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 24 UPDATE voice_compaign_detail_82122 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`='174', `user_busy_sms`='135', `user_congestion_sms`='24', `user_failed_sms`='184', `user_hangup_sms`='0', `user_no_answer_sms`='167', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='375' WHERE `compaign_id`=82122 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>'1764853142'  
Array
(
    [0] => 82118
    [compaign_id] => 82118
    [1] => u83
    [user_id] => u83
    [2] => 69263,
    [group_ids] => 69263,
    [3] => 
    [sender_id] => 
    [4] => eddumail.mp3
    [filename] => eddumail.mp3
    [5] => 16
    [duration] => 16
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765111838
    [start_date] => 1765111838
    [9] => 0
    [end_date] => 0
    [10] => 3051
    [total_sms] => 3051
    [11] => 3051
    [sent_sms] => 3051
    [12] => 0
    [duplicate_sms] => 0
    [13] => 278
    [answered_sms] => 278
    [14] => 200
    [busy_sms] => 200
    [15] => 1
    [congestion_sms] => 1
    [16] => 437
    [failed_sms] => 437
    [17] => 0
    [hangup_sms] => 0
    [18] => 319
    [no_answer_sms] => 319
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 1058
    [cutting_sms] => 1058
    [22] => 758
    [dnd_sms] => 758
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 278
    [user_answered_sms] => 278
    [27] => 200
    [user_busy_sms] => 200
    [28] => 1
    [user_congestion_sms] => 1
    [29] => 437
    [user_failed_sms] => 437
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 319
    [user_no_answer_sms] => 319
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 758
    [user_dnd_sms] => 758
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u83
    [created_by] => u83
    [38] => 0
    [isScheduled] => 0
    [39] => 1765111837
    [create_date] => 1765111837
    [40] => 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":1765111974,"compaign_read_start_time":1765111982,"compaign_read_complete_time":1765111988,"compaign_send_start_time":1765112047,"compaign_send_complete_time":1765112053}
    [action_time] => {"api_allot_time":1765111974,"compaign_read_start_time":1765111982,"compaign_read_complete_time":1765111988,"compaign_send_start_time":1765112047,"compaign_send_complete_time":1765112053}
    [50] => 0
    [compaign_file] => 0
    [51] => u83_82118_07122025_062044PM_611
    [common_name] => u83_82118_07122025_062044PM_611
    [52] => 1765002193_u83_voice.wav
    [voice_file] => 1765002193_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_69263
    [temp_group_table] => contacts_temp_group_69263
    [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] => 1765112281
    [last_credit_update_time] => 1765112281
    [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 : 82118
\compaign_type : Rans per 28.97336 
ans sms 3051
dnd sms 758

require answer perrequire answer per : 665

user answer per : 278
below is the redis data 387 /n/r
only no answer and busy will be convert, total number require 387 /n/r
UPDATE voice_compaign_detail_82118 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 271 UPDATE voice_compaign_detail_82118 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 271 Total Failed : 660 no_answer_count : 221 Busy count :170 congestion_count : 79 failed_count : 190UPDATE voice_compaign_detail_82118 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 221 UPDATE voice_compaign_detail_82118 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 170 UPDATE voice_compaign_detail_82118 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 79 UPDATE voice_compaign_detail_82118 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 190 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='665', `user_busy_sms`='489', `user_congestion_sms`='80', `user_failed_sms`='483', `user_hangup_sms`='0', `user_no_answer_sms`='576', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='758' WHERE `compaign_id`=82118 LIMIT 1 


Time Diff : 0.088

Array
(
    [0] => 82121
    [compaign_id] => 82121
    [1] => u29717
    [user_id] => u29717
    [2] => 69267,
    [group_ids] => 69267,
    [3] => 
    [sender_id] => 
    [4] => kf.mp3
    [filename] => kf.mp3
    [5] => 40
    [duration] => 40
    [6] => 2
    [credits_per_sms] => 2
    [7] => 30
    [user_pulse] => 30
    [8] => 1765111922
    [start_date] => 1765111922
    [9] => 0
    [end_date] => 0
    [10] => 69
    [total_sms] => 69
    [11] => 69
    [sent_sms] => 69
    [12] => 0
    [duplicate_sms] => 0
    [13] => 10
    [answered_sms] => 10
    [14] => 8
    [busy_sms] => 8
    [15] => 0
    [congestion_sms] => 0
    [16] => 32
    [failed_sms] => 32
    [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] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 10
    [user_answered_sms] => 10
    [27] => 8
    [user_busy_sms] => 8
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 32
    [user_failed_sms] => 32
    [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] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29717
    [created_by] => u29717
    [38] => 0
    [isScheduled] => 0
    [39] => 1765111922
    [create_date] => 1765111922
    [40] => 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":1765111928,"compaign_read_start_time":1765111931,"compaign_read_complete_time":1765111931,"compaign_send_start_time":1765111982,"compaign_send_complete_time":1765111983}
    [action_time] => {"api_allot_time":1765111928,"compaign_read_start_time":1765111931,"compaign_read_complete_time":1765111931,"compaign_send_start_time":1765111982,"compaign_send_complete_time":1765111983}
    [50] => 0
    [compaign_file] => 0
    [51] => u29717_82121_07122025_062208PM_714
    [common_name] => u29717_82121_07122025_062208PM_714
    [52] => 1765095212_u29717_voice.wav
    [voice_file] => 1765095212_u29717_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_69267
    [temp_group_table] => contacts_temp_group_69267
    [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] => 1765112282
    [last_credit_update_time] => 1765112282
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1927
    [user_voice_plan_id] => 1927
    [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] => 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,sr27,sr74,u29717
    [uphierarchy] => admin,sr27,sr74,u29717
    [113] => 
    [extra_params_json] => 
)


Compaign : 82121
\compaign_type : Rans per 25.75483 
ans sms 69
dnd sms 0

require answer perrequire answer per : 18

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='10', `user_busy_sms`='8', `user_congestion_sms`='0', `user_failed_sms`='32', `user_hangup_sms`='0', `user_no_answer_sms`='19', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=82121 LIMIT 1 


Time Diff : 4.304

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764853201'  
Array
(
    [0] => 82123
    [compaign_id] => 82123
    [1] => u29720
    [user_id] => u29720
    [2] => 69265,
    [group_ids] => 69265,
    [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] => 1765111930
    [start_date] => 1765111930
    [9] => 0
    [end_date] => 0
    [10] => 2129
    [total_sms] => 2129
    [11] => 2129
    [sent_sms] => 2129
    [12] => 0
    [duplicate_sms] => 0
    [13] => 220
    [answered_sms] => 220
    [14] => 146
    [busy_sms] => 146
    [15] => 2
    [congestion_sms] => 2
    [16] => 261
    [failed_sms] => 261
    [17] => 0
    [hangup_sms] => 0
    [18] => 189
    [no_answer_sms] => 189
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 880
    [cutting_sms] => 880
    [22] => 431
    [dnd_sms] => 431
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 220
    [user_answered_sms] => 220
    [27] => 146
    [user_busy_sms] => 146
    [28] => 2
    [user_congestion_sms] => 2
    [29] => 261
    [user_failed_sms] => 261
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 189
    [user_no_answer_sms] => 189
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 431
    [user_dnd_sms] => 431
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29720
    [created_by] => u29720
    [38] => 0
    [isScheduled] => 0
    [39] => 1765111930
    [create_date] => 1765111930
    [40] => 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":1765112067,"compaign_read_start_time":1765112068,"compaign_read_complete_time":1765112072,"compaign_send_start_time":1765112101,"compaign_send_complete_time":1765112105}
    [action_time] => {"api_allot_time":1765112067,"compaign_read_start_time":1765112068,"compaign_read_complete_time":1765112072,"compaign_send_start_time":1765112101,"compaign_send_complete_time":1765112105}
    [50] => 0
    [compaign_file] => 0
    [51] => u29720_82123_07122025_062216PM_760
    [common_name] => u29720_82123_07122025_062216PM_760
    [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_69265
    [temp_group_table] => contacts_temp_group_69265
    [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] => 1765112342
    [last_credit_update_time] => 1765112342
    [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 : 82123
\compaign_type : Rans per 25.3049 
ans sms 2129
dnd sms 431

require answer perrequire answer per : 430

user answer per : 220
below is the redis data 210 UPDATE voice_compaign_detail_82123 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 210 Total Failed : 670 no_answer_count : 224 Busy count :172 congestion_count : 80 failed_count : 194UPDATE voice_compaign_detail_82123 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 224 UPDATE voice_compaign_detail_82123 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 172 UPDATE voice_compaign_detail_82123 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 80 UPDATE voice_compaign_detail_82123 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`='430', `user_busy_sms`='318', `user_congestion_sms`='82', `user_failed_sms`='455', `user_hangup_sms`='0', `user_no_answer_sms`='413', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='431' WHERE `compaign_id`=82123 LIMIT 1 


Time Diff : 0.127

Array
(
    [0] => 82124
    [compaign_id] => 82124
    [1] => u83
    [user_id] => u83
    [2] => 69269,
    [group_ids] => 69269,
    [3] => 
    [sender_id] => 
    [4] => cheriyal_sarpanch.mp3
    [filename] => cheriyal_sarpanch.mp3
    [5] => 19
    [duration] => 19
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765111934
    [start_date] => 1765111934
    [9] => 0
    [end_date] => 0
    [10] => 849
    [total_sms] => 849
    [11] => 849
    [sent_sms] => 849
    [12] => 0
    [duplicate_sms] => 0
    [13] => 170
    [answered_sms] => 170
    [14] => 54
    [busy_sms] => 54
    [15] => 0
    [congestion_sms] => 0
    [16] => 59
    [failed_sms] => 59
    [17] => 0
    [hangup_sms] => 0
    [18] => 97
    [no_answer_sms] => 97
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 320
    [cutting_sms] => 320
    [22] => 149
    [dnd_sms] => 149
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 170
    [user_answered_sms] => 170
    [27] => 54
    [user_busy_sms] => 54
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 59
    [user_failed_sms] => 59
    [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] => 149
    [user_dnd_sms] => 149
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u83
    [created_by] => u83
    [38] => 0
    [isScheduled] => 0
    [39] => 1765111933
    [create_date] => 1765111933
    [40] => 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":1765112071,"compaign_read_start_time":1765112074,"compaign_read_complete_time":1765112076,"compaign_send_start_time":1765112101,"compaign_send_complete_time":1765112103}
    [action_time] => {"api_allot_time":1765112071,"compaign_read_start_time":1765112074,"compaign_read_complete_time":1765112076,"compaign_send_start_time":1765112101,"compaign_send_complete_time":1765112103}
    [50] => 0
    [compaign_file] => 0
    [51] => u83_82124_07122025_062220PM_373
    [common_name] => u83_82124_07122025_062220PM_373
    [52] => 1765002393_u83_voice.wav
    [voice_file] => 1765002393_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_69269
    [temp_group_table] => contacts_temp_group_69269
    [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] => 1765112342
    [last_credit_update_time] => 1765112342
    [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 : 82124
\compaign_type : Rans per 29.59491 
ans sms 849
dnd sms 149

require answer perrequire answer per : 208

user answer per : 170
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_82124 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_82124 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 : 269 no_answer_count : 90 Busy count :70 congestion_count : 32 failed_count : 77UPDATE voice_compaign_detail_82124 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 90 UPDATE voice_compaign_detail_82124 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 70 UPDATE voice_compaign_detail_82124 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 32 UPDATE voice_compaign_detail_82124 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 77 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='208', `user_busy_sms`='139', `user_congestion_sms`='32', `user_failed_sms`='127', `user_hangup_sms`='0', `user_no_answer_sms`='194', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='149' WHERE `compaign_id`=82124 LIMIT 1 


Time Diff : 0.32

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764853262'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764853321'  
Array
(
    [0] => 82128
    [compaign_id] => 82128
    [1] => u29720
    [user_id] => u29720
    [2] => 69272,
    [group_ids] => 69272,
    [3] => 
    [sender_id] => 
    [4] => Bheemadevarapally.mp3
    [filename] => Bheemadevarapally.mp3
    [5] => 18
    [duration] => 18
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765112223
    [start_date] => 1765112223
    [9] => 0
    [end_date] => 0
    [10] => 324
    [total_sms] => 324
    [11] => 324
    [sent_sms] => 324
    [12] => 0
    [duplicate_sms] => 0
    [13] => 45
    [answered_sms] => 45
    [14] => 27
    [busy_sms] => 27
    [15] => 0
    [congestion_sms] => 0
    [16] => 21
    [failed_sms] => 21
    [17] => 0
    [hangup_sms] => 0
    [18] => 63
    [no_answer_sms] => 63
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 99
    [cutting_sms] => 99
    [22] => 69
    [dnd_sms] => 69
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 45
    [user_answered_sms] => 45
    [27] => 27
    [user_busy_sms] => 27
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 21
    [user_failed_sms] => 21
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 63
    [user_no_answer_sms] => 63
    [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] => u29720
    [created_by] => u29720
    [38] => 0
    [isScheduled] => 0
    [39] => 1765112223
    [create_date] => 1765112223
    [40] => 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":1765112229,"compaign_read_start_time":1765112234,"compaign_read_complete_time":1765112235,"compaign_send_start_time":1765112282,"compaign_send_complete_time":1765112286}
    [action_time] => {"api_allot_time":1765112229,"compaign_read_start_time":1765112234,"compaign_read_complete_time":1765112235,"compaign_send_start_time":1765112282,"compaign_send_complete_time":1765112286}
    [50] => 0
    [compaign_file] => 0
    [51] => u29720_82128_07122025_062708PM_274
    [common_name] => u29720_82128_07122025_062708PM_274
    [52] => 1765111839_u29720_voice.wav
    [voice_file] => 1765111839_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_69272
    [temp_group_table] => contacts_temp_group_69272
    [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] => 1765112462
    [last_credit_update_time] => 1765112462
    [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 : 82128
\compaign_type : Rans per 28.51888 
ans sms 324
dnd sms 69

require answer perrequire answer per : 73

user answer per : 45
below is the redis data 28 UPDATE voice_compaign_detail_82128 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 28 Total Failed : 71 no_answer_count : 24 Busy count :19 congestion_count : 9 failed_count : 19UPDATE voice_compaign_detail_82128 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 24 UPDATE voice_compaign_detail_82128 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 19 UPDATE voice_compaign_detail_82128 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 9 UPDATE voice_compaign_detail_82128 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`='73', `user_busy_sms`='46', `user_congestion_sms`='9', `user_failed_sms`='40', `user_hangup_sms`='0', `user_no_answer_sms`='87', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='69' WHERE `compaign_id`=82128 LIMIT 1 


Time Diff : 0.651

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764853382'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764853442'  
Array
(
    [0] => 82130
    [compaign_id] => 82130
    [1] => u29695
    [user_id] => u29695
    [2] => 69275,
    [group_ids] => 69275,
    [3] => 
    [sender_id] => 
    [4] => Pipri DV.mp3
    [filename] => Pipri DV.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765112293
    [start_date] => 1765112293
    [9] => 0
    [end_date] => 0
    [10] => 81
    [total_sms] => 81
    [11] => 81
    [sent_sms] => 81
    [12] => 0
    [duplicate_sms] => 0
    [13] => 17
    [answered_sms] => 17
    [14] => 5
    [busy_sms] => 5
    [15] => 0
    [congestion_sms] => 0
    [16] => 37
    [failed_sms] => 37
    [17] => 0
    [hangup_sms] => 0
    [18] => 22
    [no_answer_sms] => 22
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 17
    [user_answered_sms] => 17
    [27] => 5
    [user_busy_sms] => 5
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 37
    [user_failed_sms] => 37
    [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] => 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] => 1765112293
    [create_date] => 1765112293
    [40] => 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":1765112301,"compaign_read_start_time":1765112303,"compaign_read_complete_time":1765112303,"compaign_send_start_time":1765112342,"compaign_send_complete_time":1765112343}
    [action_time] => {"api_allot_time":1765112301,"compaign_read_start_time":1765112303,"compaign_read_complete_time":1765112303,"compaign_send_start_time":1765112342,"compaign_send_complete_time":1765112343}
    [50] => 0
    [compaign_file] => 0
    [51] => u29695_82130_07122025_062820PM_511
    [common_name] => u29695_82130_07122025_062820PM_511
    [52] => 1765088692_u29695_voice.wav
    [voice_file] => 1765088692_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_69275
    [temp_group_table] => contacts_temp_group_69275
    [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] => 1765112583
    [last_credit_update_time] => 1765112583
    [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 : 82130
\compaign_type : Rans per 27.06819 
ans sms 81
dnd sms 0

require answer perrequire answer per : 22

user answer per : 17
below is the redis data 5 UPDATE voice_compaign_detail_82130 SET user_report='D' WHERE (api_id= -2 or 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`='17', `user_busy_sms`='5', `user_congestion_sms`='0', `user_failed_sms`='37', `user_hangup_sms`='0', `user_no_answer_sms`='22', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=82130 LIMIT 1 


Time Diff : 2.901

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764853501'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764853562'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764853621'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764853682'  
Array
(
    [0] => 82134
    [compaign_id] => 82134
    [1] => u83
    [user_id] => u83
    [2] => 69279,
    [group_ids] => 69279,
    [3] => 
    [sender_id] => 
    [4] => cheriyal_sarpanch.mp3
    [filename] => cheriyal_sarpanch.mp3
    [5] => 19
    [duration] => 19
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765112524
    [start_date] => 1765112524
    [9] => 0
    [end_date] => 0
    [10] => 641
    [total_sms] => 641
    [11] => 641
    [sent_sms] => 641
    [12] => 0
    [duplicate_sms] => 0
    [13] => 90
    [answered_sms] => 90
    [14] => 48
    [busy_sms] => 48
    [15] => 0
    [congestion_sms] => 0
    [16] => 78
    [failed_sms] => 78
    [17] => 0
    [hangup_sms] => 0
    [18] => 78
    [no_answer_sms] => 78
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 198
    [cutting_sms] => 198
    [22] => 149
    [dnd_sms] => 149
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 90
    [user_answered_sms] => 90
    [27] => 48
    [user_busy_sms] => 48
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 78
    [user_failed_sms] => 78
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 78
    [user_no_answer_sms] => 78
    [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] => u83
    [created_by] => u83
    [38] => 0
    [isScheduled] => 0
    [39] => 1765112524
    [create_date] => 1765112524
    [40] => 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":1765112530,"compaign_read_start_time":1765112536,"compaign_read_complete_time":1765112537,"compaign_send_start_time":1765112584,"compaign_send_complete_time":1765112585}
    [action_time] => {"api_allot_time":1765112530,"compaign_read_start_time":1765112536,"compaign_read_complete_time":1765112537,"compaign_send_start_time":1765112584,"compaign_send_complete_time":1765112585}
    [50] => 0
    [compaign_file] => 0
    [51] => u83_82134_07122025_063209PM_564
    [common_name] => u83_82134_07122025_063209PM_564
    [52] => 1765002393_u83_voice.wav
    [voice_file] => 1765002393_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_69279
    [temp_group_table] => contacts_temp_group_69279
    [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] => 1765112821
    [last_credit_update_time] => 1765112821
    [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 : 82134
\compaign_type : Rans per 26.97831 
ans sms 641
dnd sms 149

require answer perrequire answer per : 133

user answer per : 90
below is the redis data 43 /n/r
only no answer and busy will be convert, total number require 43 /n/r
UPDATE voice_compaign_detail_82134 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_82134 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 : 159 no_answer_count : 54 Busy count :41 congestion_count : 19 failed_count : 45UPDATE voice_compaign_detail_82134 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 54 UPDATE voice_compaign_detail_82134 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 41 UPDATE voice_compaign_detail_82134 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 19 UPDATE voice_compaign_detail_82134 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`='133', `user_busy_sms`='101', `user_congestion_sms`='19', `user_failed_sms`='100', `user_hangup_sms`='0', `user_no_answer_sms`='139', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='149' WHERE `compaign_id`=82134 LIMIT 1 


Time Diff : 0.421

Array
(
    [0] => 82135
    [compaign_id] => 82135
    [1] => u29720
    [user_id] => u29720
    [2] => 69280,
    [group_ids] => 69280,
    [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] => 1765112539
    [start_date] => 1765112539
    [9] => 0
    [end_date] => 0
    [10] => 1699
    [total_sms] => 1699
    [11] => 1699
    [sent_sms] => 1699
    [12] => 0
    [duplicate_sms] => 0
    [13] => 144
    [answered_sms] => 144
    [14] => 127
    [busy_sms] => 127
    [15] => 0
    [congestion_sms] => 0
    [16] => 254
    [failed_sms] => 254
    [17] => 0
    [hangup_sms] => 0
    [18] => 143
    [no_answer_sms] => 143
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 600
    [cutting_sms] => 600
    [22] => 431
    [dnd_sms] => 431
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 144
    [user_answered_sms] => 144
    [27] => 127
    [user_busy_sms] => 127
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 254
    [user_failed_sms] => 254
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 143
    [user_no_answer_sms] => 143
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 431
    [user_dnd_sms] => 431
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29720
    [created_by] => u29720
    [38] => 0
    [isScheduled] => 0
    [39] => 1765112539
    [create_date] => 1765112539
    [40] => 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":1765112546,"compaign_read_start_time":1765112548,"compaign_read_complete_time":1765112551,"compaign_send_start_time":1765112584,"compaign_send_complete_time":1765112587}
    [action_time] => {"api_allot_time":1765112546,"compaign_read_start_time":1765112548,"compaign_read_complete_time":1765112551,"compaign_send_start_time":1765112584,"compaign_send_complete_time":1765112587}
    [50] => 0
    [compaign_file] => 0
    [51] => u29720_82135_07122025_063226PM_992
    [common_name] => u29720_82135_07122025_063226PM_992
    [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_69280
    [temp_group_table] => contacts_temp_group_69280
    [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] => 1765112821
    [last_credit_update_time] => 1765112821
    [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 : 82135
\compaign_type : Rans per 29.22245 
ans sms 1699
dnd sms 431

require answer perrequire answer per : 371

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='371', `user_busy_sms`='223', `user_congestion_sms`='45', `user_failed_sms`='361', `user_hangup_sms`='0', `user_no_answer_sms`='268', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='431' WHERE `compaign_id`=82135 LIMIT 1 


Time Diff : 0.159

Array
(
    [0] => 82136
    [compaign_id] => 82136
    [1] => u83
    [user_id] => u83
    [2] => 69277,
    [group_ids] => 69277,
    [3] => 
    [sender_id] => 
    [4] => eddumail.mp3
    [filename] => eddumail.mp3
    [5] => 16
    [duration] => 16
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765112541
    [start_date] => 1765112541
    [9] => 0
    [end_date] => 0
    [10] => 2386
    [total_sms] => 2386
    [11] => 2386
    [sent_sms] => 2386
    [12] => 0
    [duplicate_sms] => 0
    [13] => 182
    [answered_sms] => 182
    [14] => 156
    [busy_sms] => 156
    [15] => 0
    [congestion_sms] => 0
    [16] => 284
    [failed_sms] => 284
    [17] => 0
    [hangup_sms] => 0
    [18] => 185
    [no_answer_sms] => 185
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 821
    [cutting_sms] => 821
    [22] => 758
    [dnd_sms] => 758
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 182
    [user_answered_sms] => 182
    [27] => 156
    [user_busy_sms] => 156
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 284
    [user_failed_sms] => 284
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 185
    [user_no_answer_sms] => 185
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 758
    [user_dnd_sms] => 758
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u83
    [created_by] => u83
    [38] => 0
    [isScheduled] => 0
    [39] => 1765112541
    [create_date] => 1765112541
    [40] => 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":1765112548,"compaign_read_start_time":1765112551,"compaign_read_complete_time":1765112555,"compaign_send_start_time":1765112584,"compaign_send_complete_time":1765112587}
    [action_time] => {"api_allot_time":1765112548,"compaign_read_start_time":1765112551,"compaign_read_complete_time":1765112555,"compaign_send_start_time":1765112584,"compaign_send_complete_time":1765112587}
    [50] => 0
    [compaign_file] => 0
    [51] => u83_82136_07122025_063228PM_300
    [common_name] => u83_82136_07122025_063228PM_300
    [52] => 1765002193_u83_voice.wav
    [voice_file] => 1765002193_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_69277
    [temp_group_table] => contacts_temp_group_69277
    [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] => 1765112821
    [last_credit_update_time] => 1765112821
    [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 : 82136
\compaign_type : Rans per 30.67162 
ans sms 2386
dnd sms 758

require answer perrequire answer per : 500

user answer per : 182
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_82136 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 252 UPDATE voice_compaign_detail_82136 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 252 Total Failed : 447 no_answer_count : 150 Busy count :115 congestion_count : 54 failed_count : 128UPDATE voice_compaign_detail_82136 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 150 UPDATE voice_compaign_detail_82136 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 115 UPDATE voice_compaign_detail_82136 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 54 UPDATE voice_compaign_detail_82136 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`='500', `user_busy_sms`='382', `user_congestion_sms`='54', `user_failed_sms`='282', `user_hangup_sms`='0', `user_no_answer_sms`='410', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='758' WHERE `compaign_id`=82136 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>'1764853742'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764853802'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764853862'  
Array
(
    [0] => 82138
    [compaign_id] => 82138
    [1] => u29717
    [user_id] => u29717
    [2] => 69283,
    [group_ids] => 69283,
    [3] => 
    [sender_id] => 
    [4] => kf.mp3
    [filename] => kf.mp3
    [5] => 40
    [duration] => 40
    [6] => 2
    [credits_per_sms] => 2
    [7] => 30
    [user_pulse] => 30
    [8] => 1765112822
    [start_date] => 1765112822
    [9] => 0
    [end_date] => 0
    [10] => 59
    [total_sms] => 59
    [11] => 59
    [sent_sms] => 59
    [12] => 0
    [duplicate_sms] => 0
    [13] => 6
    [answered_sms] => 6
    [14] => 10
    [busy_sms] => 10
    [15] => 0
    [congestion_sms] => 0
    [16] => 30
    [failed_sms] => 30
    [17] => 0
    [hangup_sms] => 0
    [18] => 13
    [no_answer_sms] => 13
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 6
    [user_answered_sms] => 6
    [27] => 10
    [user_busy_sms] => 10
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 30
    [user_failed_sms] => 30
    [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] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29717
    [created_by] => u29717
    [38] => 0
    [isScheduled] => 0
    [39] => 1765112822
    [create_date] => 1765112822
    [40] => 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":1765112828,"compaign_read_start_time":1765112831,"compaign_read_complete_time":1765112831,"compaign_send_start_time":1765112883,"compaign_send_complete_time":1765112943}
    [action_time] => {"api_allot_time":1765112828,"compaign_read_start_time":1765112831,"compaign_read_complete_time":1765112831,"compaign_send_start_time":1765112883,"compaign_send_complete_time":1765112943}
    [50] => 0
    [compaign_file] => 0
    [51] => u29717_82138_07122025_063707PM_315
    [common_name] => u29717_82138_07122025_063707PM_315
    [52] => 1765095212_u29717_voice.wav
    [voice_file] => 1765095212_u29717_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_69283
    [temp_group_table] => contacts_temp_group_69283
    [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] => 1765113061
    [last_credit_update_time] => 1765113061
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1927
    [user_voice_plan_id] => 1927
    [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] => 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,sr27,sr74,u29717
    [uphierarchy] => admin,sr27,sr74,u29717
    [113] => 
    [extra_params_json] => 
)


Compaign : 82138
\compaign_type : Rans per 26.09211 
ans sms 59
dnd sms 0

require answer perrequire answer per : 16

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='6', `user_busy_sms`='10', `user_congestion_sms`='0', `user_failed_sms`='30', `user_hangup_sms`='0', `user_no_answer_sms`='13', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=82138 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>'1764853921'  
Array
(
    [0] => 82139
    [compaign_id] => 82139
    [1] => u82
    [user_id] => u82
    [2] => 69282,
    [group_ids] => 69282,
    [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] => 1765112822
    [start_date] => 1765112822
    [9] => 0
    [end_date] => 0
    [10] => 117
    [total_sms] => 117
    [11] => 117
    [sent_sms] => 117
    [12] => 0
    [duplicate_sms] => 0
    [13] => 44
    [answered_sms] => 44
    [14] => 21
    [busy_sms] => 21
    [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] => 6
    [cutting_sms] => 6
    [22] => 17
    [dnd_sms] => 17
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 44
    [user_answered_sms] => 44
    [27] => 21
    [user_busy_sms] => 21
    [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] => 1765112822
    [create_date] => 1765112822
    [40] => 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":1765112828,"compaign_read_start_time":1765112834,"compaign_read_complete_time":1765112834,"compaign_send_start_time":1765112883,"compaign_send_complete_time":1765112883}
    [action_time] => {"api_allot_time":1765112828,"compaign_read_start_time":1765112834,"compaign_read_complete_time":1765112834,"compaign_send_start_time":1765112883,"compaign_send_complete_time":1765112883}
    [50] => 0
    [compaign_file] => 0
    [51] => u82_82139_07122025_063707PM_298
    [common_name] => u82_82139_07122025_063707PM_298
    [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_69282
    [temp_group_table] => contacts_temp_group_69282
    [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] => 1765113121
    [last_credit_update_time] => 1765113121
    [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 : 82139
\compaign_type : Rans per 26.76827 
ans sms 117
dnd sms 17

require answer perrequire answer per : 27

user answer per : 44
Total Failed : 6 no_answer_count : 3 Busy count :2 congestion_count : 1 failed_count : 0UPDATE voice_compaign_detail_82139 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 3 UPDATE voice_compaign_detail_82139 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 2 UPDATE voice_compaign_detail_82139 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`='44', `user_busy_sms`='23', `user_congestion_sms`='1', `user_failed_sms`='7', `user_hangup_sms`='0', `user_no_answer_sms`='25', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='17' WHERE `compaign_id`=82139 LIMIT 1 


Time Diff : 1.795

Array
(
    [0] => 82140
    [compaign_id] => 82140
    [1] => u29720
    [user_id] => u29720
    [2] => 69284,
    [group_ids] => 69284,
    [3] => 
    [sender_id] => 
    [4] => Bheemadevarapally.mp3
    [filename] => Bheemadevarapally.mp3
    [5] => 18
    [duration] => 18
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765112823
    [start_date] => 1765112823
    [9] => 0
    [end_date] => 0
    [10] => 251
    [total_sms] => 251
    [11] => 251
    [sent_sms] => 251
    [12] => 0
    [duplicate_sms] => 0
    [13] => 35
    [answered_sms] => 35
    [14] => 30
    [busy_sms] => 30
    [15] => 0
    [congestion_sms] => 0
    [16] => 27
    [failed_sms] => 27
    [17] => 0
    [hangup_sms] => 0
    [18] => 35
    [no_answer_sms] => 35
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 55
    [cutting_sms] => 55
    [22] => 69
    [dnd_sms] => 69
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 35
    [user_answered_sms] => 35
    [27] => 30
    [user_busy_sms] => 30
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 27
    [user_failed_sms] => 27
    [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] => 69
    [user_dnd_sms] => 69
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29720
    [created_by] => u29720
    [38] => 0
    [isScheduled] => 0
    [39] => 1765112823
    [create_date] => 1765112823
    [40] => 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":1765112830,"compaign_read_start_time":1765112837,"compaign_read_complete_time":1765112837,"compaign_send_start_time":1765112883,"compaign_send_complete_time":1765112884}
    [action_time] => {"api_allot_time":1765112830,"compaign_read_start_time":1765112837,"compaign_read_complete_time":1765112837,"compaign_send_start_time":1765112883,"compaign_send_complete_time":1765112884}
    [50] => 0
    [compaign_file] => 0
    [51] => u29720_82140_07122025_063709PM_563
    [common_name] => u29720_82140_07122025_063709PM_563
    [52] => 1765111839_u29720_voice.wav
    [voice_file] => 1765111839_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_69284
    [temp_group_table] => contacts_temp_group_69284
    [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] => 1765113121
    [last_credit_update_time] => 1765113121
    [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 : 82140
\compaign_type : Rans per 26.83549 
ans sms 251
dnd sms 69

require answer perrequire answer per : 49

user answer per : 35
below is the redis data 14 UPDATE voice_compaign_detail_82140 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 14 Total Failed : 41 no_answer_count : 14 Busy count :11 congestion_count : 5 failed_count : 11UPDATE voice_compaign_detail_82140 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 14 UPDATE voice_compaign_detail_82140 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 11 UPDATE voice_compaign_detail_82140 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 5 UPDATE voice_compaign_detail_82140 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`='49', `user_busy_sms`='41', `user_congestion_sms`='5', `user_failed_sms`='38', `user_hangup_sms`='0', `user_no_answer_sms`='49', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='69' WHERE `compaign_id`=82140 LIMIT 1 


Time Diff : 0.837

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764853982'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764854041'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764854101'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764854162'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764854221'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764854282'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764854342'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764854401'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764854461'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764854522'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764854581'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764854641'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764854702'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764854761'  
Array
(
    [0] => 82142
    [compaign_id] => 82142
    [1] => u29717
    [user_id] => u29717
    [2] => 69286,
    [group_ids] => 69286,
    [3] => 
    [sender_id] => 
    [4] => kf.mp3
    [filename] => kf.mp3
    [5] => 40
    [duration] => 40
    [6] => 2
    [credits_per_sms] => 2
    [7] => 30
    [user_pulse] => 30
    [8] => 1765113422
    [start_date] => 1765113422
    [9] => 0
    [end_date] => 0
    [10] => 53
    [total_sms] => 53
    [11] => 53
    [sent_sms] => 53
    [12] => 0
    [duplicate_sms] => 0
    [13] => 1
    [answered_sms] => 1
    [14] => 10
    [busy_sms] => 10
    [15] => 0
    [congestion_sms] => 0
    [16] => 30
    [failed_sms] => 30
    [17] => 0
    [hangup_sms] => 0
    [18] => 12
    [no_answer_sms] => 12
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [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] => 10
    [user_busy_sms] => 10
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 30
    [user_failed_sms] => 30
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 12
    [user_no_answer_sms] => 12
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29717
    [created_by] => u29717
    [38] => 0
    [isScheduled] => 0
    [39] => 1765113422
    [create_date] => 1765113422
    [40] => 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":1765113557,"compaign_read_start_time":1765113560,"compaign_read_complete_time":1765113560,"compaign_send_start_time":1765113602,"compaign_send_complete_time":1765113603}
    [action_time] => {"api_allot_time":1765113557,"compaign_read_start_time":1765113560,"compaign_read_complete_time":1765113560,"compaign_send_start_time":1765113602,"compaign_send_complete_time":1765113603}
    [50] => 0
    [compaign_file] => 0
    [51] => u29717_82142_07122025_064707PM_798
    [common_name] => u29717_82142_07122025_064707PM_798
    [52] => 1765095212_u29717_voice.wav
    [voice_file] => 1765095212_u29717_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_69286
    [temp_group_table] => contacts_temp_group_69286
    [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] => 1765113902
    [last_credit_update_time] => 1765113902
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1927
    [user_voice_plan_id] => 1927
    [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] => 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,sr27,sr74,u29717
    [uphierarchy] => admin,sr27,sr74,u29717
    [113] => 
    [extra_params_json] => 
)


Compaign : 82142
\compaign_type : Rans per 26.96851 
ans sms 53
dnd sms 0

require answer perrequire answer per : 15

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='1', `user_busy_sms`='10', `user_congestion_sms`='0', `user_failed_sms`='30', `user_hangup_sms`='0', `user_no_answer_sms`='12', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=82142 LIMIT 1 


Time Diff : 5.547

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764854822'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764854881'  
Array
(
    [0] => 82145
    [compaign_id] => 82145
    [1] => u29717
    [user_id] => u29717
    [2] => 69290,
    [group_ids] => 69290,
    [3] => 
    [sender_id] => 
    [4] => kf.mp3
    [filename] => kf.mp3
    [5] => 40
    [duration] => 40
    [6] => 2
    [credits_per_sms] => 2
    [7] => 30
    [user_pulse] => 30
    [8] => 1765113730
    [start_date] => 1765113730
    [9] => 0
    [end_date] => 0
    [10] => 59
    [total_sms] => 59
    [11] => 59
    [sent_sms] => 59
    [12] => 0
    [duplicate_sms] => 0
    [13] => 7
    [answered_sms] => 7
    [14] => 11
    [busy_sms] => 11
    [15] => 0
    [congestion_sms] => 0
    [16] => 29
    [failed_sms] => 29
    [17] => 0
    [hangup_sms] => 0
    [18] => 12
    [no_answer_sms] => 12
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 7
    [user_answered_sms] => 7
    [27] => 11
    [user_busy_sms] => 11
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 29
    [user_failed_sms] => 29
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 12
    [user_no_answer_sms] => 12
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29717
    [created_by] => u29717
    [38] => 0
    [isScheduled] => 0
    [39] => 1765113730
    [create_date] => 1765113730
    [40] => 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":1765113736,"compaign_read_start_time":1765113737,"compaign_read_complete_time":1765113737,"compaign_send_start_time":1765113781,"compaign_send_complete_time":1765113782}
    [action_time] => {"api_allot_time":1765113736,"compaign_read_start_time":1765113737,"compaign_read_complete_time":1765113737,"compaign_send_start_time":1765113781,"compaign_send_complete_time":1765113782}
    [50] => 0
    [compaign_file] => 0
    [51] => u29717_82145_07122025_065216PM_490
    [common_name] => u29717_82145_07122025_065216PM_490
    [52] => 1765095212_u29717_voice.wav
    [voice_file] => 1765095212_u29717_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_69290
    [temp_group_table] => contacts_temp_group_69290
    [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] => 1765114022
    [last_credit_update_time] => 1765114022
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1927
    [user_voice_plan_id] => 1927
    [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] => 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,sr27,sr74,u29717
    [uphierarchy] => admin,sr27,sr74,u29717
    [113] => 
    [extra_params_json] => 
)


Compaign : 82145
\compaign_type : Rans per 30.87171 
ans sms 59
dnd sms 0

require answer perrequire answer per : 19

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='7', `user_busy_sms`='11', `user_congestion_sms`='0', `user_failed_sms`='29', `user_hangup_sms`='0', `user_no_answer_sms`='12', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=82145 LIMIT 1 


Time Diff : 3.949

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764854943'  
Array
(
    [0] => 82146
    [compaign_id] => 82146
    [1] => u82
    [user_id] => u82
    [2] => 69291,
    [group_ids] => 69291,
    [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] => 1765113730
    [start_date] => 1765113730
    [9] => 0
    [end_date] => 0
    [10] => 73
    [total_sms] => 73
    [11] => 73
    [sent_sms] => 73
    [12] => 0
    [duplicate_sms] => 0
    [13] => 12
    [answered_sms] => 12
    [14] => 23
    [busy_sms] => 23
    [15] => 0
    [congestion_sms] => 0
    [16] => 7
    [failed_sms] => 7
    [17] => 0
    [hangup_sms] => 0
    [18] => 14
    [no_answer_sms] => 14
    [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] => 12
    [user_answered_sms] => 12
    [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] => 14
    [user_no_answer_sms] => 14
    [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] => 1765113730
    [create_date] => 1765113730
    [40] => 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":1765113865,"compaign_read_start_time":1765113868,"compaign_read_complete_time":1765113869,"compaign_send_start_time":1765113902,"compaign_send_complete_time":1765113907}
    [action_time] => {"api_allot_time":1765113865,"compaign_read_start_time":1765113868,"compaign_read_complete_time":1765113869,"compaign_send_start_time":1765113902,"compaign_send_complete_time":1765113907}
    [50] => 0
    [compaign_file] => 0
    [51] => u82_82146_07122025_065216PM_387
    [common_name] => u82_82146_07122025_065216PM_387
    [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_69291
    [temp_group_table] => contacts_temp_group_69291
    [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] => 1765114143
    [last_credit_update_time] => 1765114143
    [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 : 82146
\compaign_type : Rans per 29.95363 
ans sms 73
dnd sms 17

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_82146 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_82146 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`='24', `user_congestion_sms`='0', `user_failed_sms`='0', `user_hangup_sms`='0', `user_no_answer_sms`='15', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='17' WHERE `compaign_id`=82146 LIMIT 1 


Time Diff : 2.397

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764855002'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764855061'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764855122'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764855182'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764855242'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764855302'  
Array
(
    [0] => 82105
    [compaign_id] => 82105
    [1] => u607
    [user_id] => u607
    [2] => 69249,
    [group_ids] => 69249,
    [3] => 
    [sender_id] => 
    [4] => Laxmi raju .mp3
    [filename] => Laxmi raju .mp3
    [5] => 26
    [duration] => 26
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765114200
    [start_date] => 1765114200
    [9] => 0
    [end_date] => 0
    [10] => 1107
    [total_sms] => 1107
    [11] => 1107
    [sent_sms] => 1107
    [12] => 0
    [duplicate_sms] => 0
    [13] => 93
    [answered_sms] => 93
    [14] => 56
    [busy_sms] => 56
    [15] => 0
    [congestion_sms] => 0
    [16] => 294
    [failed_sms] => 294
    [17] => 0
    [hangup_sms] => 0
    [18] => 63
    [no_answer_sms] => 63
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 407
    [cutting_sms] => 407
    [22] => 194
    [dnd_sms] => 194
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 93
    [user_answered_sms] => 93
    [27] => 56
    [user_busy_sms] => 56
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 294
    [user_failed_sms] => 294
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 63
    [user_no_answer_sms] => 63
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 194
    [user_dnd_sms] => 194
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u607
    [created_by] => u607
    [38] => 1
    [isScheduled] => 1
    [39] => 1765111026
    [create_date] => 1765111026
    [40] => 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":1765114207,"compaign_read_start_time":1765114208,"compaign_read_complete_time":1765114211,"compaign_send_start_time":1765114262,"compaign_send_complete_time":1765114264}
    [action_time] => {"api_allot_time":1765114207,"compaign_read_start_time":1765114208,"compaign_read_complete_time":1765114211,"compaign_send_start_time":1765114262,"compaign_send_complete_time":1765114264}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_82105_07122025_070006PM_820
    [common_name] => u607_82105_07122025_070006PM_820
    [52] => 1765110363_u607_voice.wav
    [voice_file] => 1765110363_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_69249
    [temp_group_table] => contacts_temp_group_69249
    [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] => 1765114502
    [last_credit_update_time] => 1765114502
    [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 : 82105
\compaign_type : Rans per 30.118 
ans sms 1107
dnd sms 194

require answer perrequire answer per : 275

user answer per : 93
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_82105 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 135 UPDATE voice_compaign_detail_82105 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 135 Total Failed : 258 no_answer_count : 87 Busy count :67 congestion_count : 31 failed_count : 73UPDATE voice_compaign_detail_82105 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 87 UPDATE voice_compaign_detail_82105 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 67 UPDATE voice_compaign_detail_82105 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 31 UPDATE voice_compaign_detail_82105 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 73 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='212', `user_busy_sms`='202', `user_congestion_sms`='31', `user_failed_sms`='246', `user_hangup_sms`='0', `user_no_answer_sms`='222', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='194' WHERE `compaign_id`=82105 LIMIT 1 


Time Diff : 0.192

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764855362'  
Array
(
    [0] => 82111
    [compaign_id] => 82111
    [1] => u607
    [user_id] => u607
    [2] => 69253,
    [group_ids] => 69253,
    [3] => 
    [sender_id] => 
    [4] => DOMAKONDA.mp3
    [filename] => DOMAKONDA.mp3
    [5] => 32
    [duration] => 32
    [6] => 2
    [credits_per_sms] => 2
    [7] => 30
    [user_pulse] => 30
    [8] => 1765114200
    [start_date] => 1765114200
    [9] => 0
    [end_date] => 0
    [10] => 3090
    [total_sms] => 3090
    [11] => 3090
    [sent_sms] => 3090
    [12] => 0
    [duplicate_sms] => 0
    [13] => 116
    [answered_sms] => 116
    [14] => 114
    [busy_sms] => 114
    [15] => 0
    [congestion_sms] => 0
    [16] => 756
    [failed_sms] => 756
    [17] => 0
    [hangup_sms] => 0
    [18] => 78
    [no_answer_sms] => 78
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 1024
    [cutting_sms] => 1024
    [22] => 1002
    [dnd_sms] => 1002
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 116
    [user_answered_sms] => 116
    [27] => 114
    [user_busy_sms] => 114
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 756
    [user_failed_sms] => 756
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 78
    [user_no_answer_sms] => 78
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 1002
    [user_dnd_sms] => 1002
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u607
    [created_by] => u607
    [38] => 1
    [isScheduled] => 1
    [39] => 1765111333
    [create_date] => 1765111333
    [40] => 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":1765114207,"compaign_read_start_time":1765114211,"compaign_read_complete_time":1765114215,"compaign_send_start_time":1765114262,"compaign_send_complete_time":1765114266}
    [action_time] => {"api_allot_time":1765114207,"compaign_read_start_time":1765114211,"compaign_read_complete_time":1765114215,"compaign_send_start_time":1765114262,"compaign_send_complete_time":1765114266}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_82111_07122025_070006PM_757
    [common_name] => u607_82111_07122025_070006PM_757
    [52] => 1765107752_u607_voice.wav
    [voice_file] => 1765107752_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_69253
    [temp_group_table] => contacts_temp_group_69253
    [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] => 1765114502
    [last_credit_update_time] => 1765114502
    [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 : 82111
\compaign_type : Rans per 27.44002 
ans sms 3090
dnd sms 1002

require answer perrequire answer per : 573

user answer per : 116
below is the redis data 457 /n/r
only no answer and busy will be convert, total number require 457 /n/r
UPDATE voice_compaign_detail_82111 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 348 UPDATE voice_compaign_detail_82111 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 348 Total Failed : 623 no_answer_count : 208 Busy count :160 congestion_count : 74 failed_count : 181UPDATE voice_compaign_detail_82111 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 208 UPDATE voice_compaign_detail_82111 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 160 UPDATE voice_compaign_detail_82111 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 74 UPDATE voice_compaign_detail_82111 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 181 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='308', `user_busy_sms`='508', `user_congestion_sms`='74', `user_failed_sms`='642', `user_hangup_sms`='0', `user_no_answer_sms`='556', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='1002' WHERE `compaign_id`=82111 LIMIT 1 


Time Diff : 0.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>'1764855421'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764855481'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764855542'  
Array
(
    [0] => 82147
    [compaign_id] => 82147
    [1] => u29717
    [user_id] => u29717
    [2] => 69292,
    [group_ids] => 69292,
    [3] => 
    [sender_id] => 
    [4] => kf.mp3
    [filename] => kf.mp3
    [5] => 40
    [duration] => 40
    [6] => 2
    [credits_per_sms] => 2
    [7] => 30
    [user_pulse] => 30
    [8] => 1765114324
    [start_date] => 1765114324
    [9] => 0
    [end_date] => 0
    [10] => 52
    [total_sms] => 52
    [11] => 52
    [sent_sms] => 52
    [12] => 0
    [duplicate_sms] => 0
    [13] => 1
    [answered_sms] => 1
    [14] => 11
    [busy_sms] => 11
    [15] => 0
    [congestion_sms] => 0
    [16] => 30
    [failed_sms] => 30
    [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] => 1
    [user_answered_sms] => 1
    [27] => 11
    [user_busy_sms] => 11
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 30
    [user_failed_sms] => 30
    [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] => u29717
    [created_by] => u29717
    [38] => 0
    [isScheduled] => 0
    [39] => 1765114324
    [create_date] => 1765114324
    [40] => 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":1765114330,"compaign_read_start_time":1765114331,"compaign_read_complete_time":1765114331,"compaign_send_start_time":1765114382,"compaign_send_complete_time":1765114388}
    [action_time] => {"api_allot_time":1765114330,"compaign_read_start_time":1765114331,"compaign_read_complete_time":1765114331,"compaign_send_start_time":1765114382,"compaign_send_complete_time":1765114388}
    [50] => 0
    [compaign_file] => 0
    [51] => u29717_82147_07122025_070210PM_585
    [common_name] => u29717_82147_07122025_070210PM_585
    [52] => 1765095212_u29717_voice.wav
    [voice_file] => 1765095212_u29717_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_69292
    [temp_group_table] => contacts_temp_group_69292
    [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] => 1765114682
    [last_credit_update_time] => 1765114682
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1927
    [user_voice_plan_id] => 1927
    [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] => 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,sr27,sr74,u29717
    [uphierarchy] => admin,sr27,sr74,u29717
    [113] => 
    [extra_params_json] => 
)


Compaign : 82147
\compaign_type : Rans per 30.05729 
ans sms 52
dnd sms 0

require answer perrequire answer per : 16

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='1', `user_busy_sms`='11', `user_congestion_sms`='0', `user_failed_sms`='30', `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`=82147 LIMIT 1 


Time Diff : 5.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>'1764855602'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764855662'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764855723'  
Array
(
    [0] => 82149
    [compaign_id] => 82149
    [1] => u83
    [user_id] => u83
    [2] => 69294,
    [group_ids] => 69294,
    [3] => 
    [sender_id] => 
    [4] => cheriyal_sarpanch.mp3
    [filename] => cheriyal_sarpanch.mp3
    [5] => 19
    [duration] => 19
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765114623
    [start_date] => 1765114623
    [9] => 0
    [end_date] => 0
    [10] => 508
    [total_sms] => 508
    [11] => 508
    [sent_sms] => 508
    [12] => 0
    [duplicate_sms] => 0
    [13] => 67
    [answered_sms] => 67
    [14] => 36
    [busy_sms] => 36
    [15] => 0
    [congestion_sms] => 0
    [16] => 59
    [failed_sms] => 59
    [17] => 0
    [hangup_sms] => 0
    [18] => 49
    [no_answer_sms] => 49
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 148
    [cutting_sms] => 148
    [22] => 149
    [dnd_sms] => 149
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 67
    [user_answered_sms] => 67
    [27] => 36
    [user_busy_sms] => 36
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 59
    [user_failed_sms] => 59
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 49
    [user_no_answer_sms] => 49
    [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] => u83
    [created_by] => u83
    [38] => 0
    [isScheduled] => 0
    [39] => 1765114623
    [create_date] => 1765114623
    [40] => 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":1765114630,"compaign_read_start_time":1765114630,"compaign_read_complete_time":1765114631,"compaign_send_start_time":1765114682,"compaign_send_complete_time":1765114689}
    [action_time] => {"api_allot_time":1765114630,"compaign_read_start_time":1765114630,"compaign_read_complete_time":1765114631,"compaign_send_start_time":1765114682,"compaign_send_complete_time":1765114689}
    [50] => 0
    [compaign_file] => 0
    [51] => u83_82149_07122025_070709PM_613
    [common_name] => u83_82149_07122025_070709PM_613
    [52] => 1765002393_u83_voice.wav
    [voice_file] => 1765002393_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_69294
    [temp_group_table] => contacts_temp_group_69294
    [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] => 1765114864
    [last_credit_update_time] => 1765114864
    [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 : 82149
\compaign_type : Rans per 25.88985 
ans sms 508
dnd sms 149

require answer perrequire answer per : 93

user answer per : 67
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_82149 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_82149 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 : 116 no_answer_count : 39 Busy count :30 congestion_count : 14 failed_count : 33UPDATE voice_compaign_detail_82149 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 39 UPDATE voice_compaign_detail_82149 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 30 UPDATE voice_compaign_detail_82149 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 14 UPDATE voice_compaign_detail_82149 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`='93', `user_busy_sms`='75', `user_congestion_sms`='14', `user_failed_sms`='82', `user_hangup_sms`='0', `user_no_answer_sms`='95', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='149' WHERE `compaign_id`=82149 LIMIT 1 


Time Diff : 0.344

Array
(
    [0] => 82151
    [compaign_id] => 82151
    [1] => u83
    [user_id] => u83
    [2] => 69296,
    [group_ids] => 69296,
    [3] => 
    [sender_id] => 
    [4] => eddumail.mp3
    [filename] => eddumail.mp3
    [5] => 16
    [duration] => 16
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765114630
    [start_date] => 1765114630
    [9] => 0
    [end_date] => 0
    [10] => 1886
    [total_sms] => 1886
    [11] => 1886
    [sent_sms] => 1886
    [12] => 0
    [duplicate_sms] => 0
    [13] => 96
    [answered_sms] => 96
    [14] => 77
    [busy_sms] => 77
    [15] => 0
    [congestion_sms] => 0
    [16] => 280
    [failed_sms] => 280
    [17] => 0
    [hangup_sms] => 0
    [18] => 124
    [no_answer_sms] => 124
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 551
    [cutting_sms] => 551
    [22] => 758
    [dnd_sms] => 758
    [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] => 0
    [user_congestion_sms] => 0
    [29] => 280
    [user_failed_sms] => 280
    [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] => 758
    [user_dnd_sms] => 758
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u83
    [created_by] => u83
    [38] => 0
    [isScheduled] => 0
    [39] => 1765114630
    [create_date] => 1765114630
    [40] => 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":1765114636,"compaign_read_start_time":1765114636,"compaign_read_complete_time":1765114640,"compaign_send_start_time":1765114682,"compaign_send_complete_time":1765114691}
    [action_time] => {"api_allot_time":1765114636,"compaign_read_start_time":1765114636,"compaign_read_complete_time":1765114640,"compaign_send_start_time":1765114682,"compaign_send_complete_time":1765114691}
    [50] => 0
    [compaign_file] => 0
    [51] => u83_82151_07122025_070715PM_828
    [common_name] => u83_82151_07122025_070715PM_828
    [52] => 1765002193_u83_voice.wav
    [voice_file] => 1765002193_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_69296
    [temp_group_table] => contacts_temp_group_69296
    [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] => 1765114864
    [last_credit_update_time] => 1765114864
    [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 : 82151
\compaign_type : Rans per 29.72869 
ans sms 1886
dnd sms 758

require answer perrequire answer per : 336

user answer per : 96
below is the redis data 240 /n/r
only no answer and busy will be convert, total number require 240 /n/r
UPDATE voice_compaign_detail_82151 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_82151 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 : 292 no_answer_count : 98 Busy count :75 congestion_count : 35 failed_count : 84UPDATE voice_compaign_detail_82151 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 98 UPDATE voice_compaign_detail_82151 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 75 UPDATE voice_compaign_detail_82151 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 35 UPDATE voice_compaign_detail_82151 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`='297', `user_busy_sms`='267', `user_congestion_sms`='35', `user_failed_sms`='239', `user_hangup_sms`='0', `user_no_answer_sms`='290', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='758' WHERE `compaign_id`=82151 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>'1764855782'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764855843'  
Array
(
    [0] => 81650
    [compaign_id] => 81650
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1765078205
    [start_date] => 1765078205
    [9] => 0
    [end_date] => 0
    [10] => 39907
    [total_sms] => 39907
    [11] => 39907
    [sent_sms] => 39907
    [12] => 0
    [duplicate_sms] => 0
    [13] => 186
    [answered_sms] => 186
    [14] => 13618
    [busy_sms] => 13618
    [15] => 2
    [congestion_sms] => 2
    [16] => 24554
    [failed_sms] => 24554
    [17] => 0
    [hangup_sms] => 0
    [18] => 1547
    [no_answer_sms] => 1547
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 187
    [user_answered_sms] => 187
    [27] => 13618
    [user_busy_sms] => 13618
    [28] => 1
    [user_congestion_sms] => 1
    [29] => 24554
    [user_failed_sms] => 24554
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 1547
    [user_no_answer_sms] => 1547
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 157
    [credit_seq] => 157
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765115042
    [last_credit_update_time] => 1765115042
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 81650
\compaign_type : ATans per 28.12293 
ans sms 39907
dnd sms 0

require answer perrequire answer per : 11224

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='188', `user_busy_sms`='13618', `user_congestion_sms`='0', `user_failed_sms`='24554', `user_hangup_sms`='0', `user_no_answer_sms`='1547', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81650 LIMIT 1 


Time Diff : 0.831

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764855904'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764855964'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764856022'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764856082'  
Array
(
    [0] => 82155
    [compaign_id] => 82155
    [1] => u29720
    [user_id] => u29720
    [2] => 69300,
    [group_ids] => 69300,
    [3] => 
    [sender_id] => 
    [4] => Bheemadevarapally.mp3
    [filename] => Bheemadevarapally.mp3
    [5] => 18
    [duration] => 18
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765114957
    [start_date] => 1765114957
    [9] => 0
    [end_date] => 0
    [10] => 620
    [total_sms] => 620
    [11] => 620
    [sent_sms] => 620
    [12] => 0
    [duplicate_sms] => 0
    [13] => 115
    [answered_sms] => 115
    [14] => 36
    [busy_sms] => 36
    [15] => 0
    [congestion_sms] => 0
    [16] => 54
    [failed_sms] => 54
    [17] => 0
    [hangup_sms] => 0
    [18] => 84
    [no_answer_sms] => 84
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 232
    [cutting_sms] => 232
    [22] => 99
    [dnd_sms] => 99
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 115
    [user_answered_sms] => 115
    [27] => 36
    [user_busy_sms] => 36
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 54
    [user_failed_sms] => 54
    [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] => 99
    [user_dnd_sms] => 99
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29720
    [created_by] => u29720
    [38] => 0
    [isScheduled] => 0
    [39] => 1765114957
    [create_date] => 1765114957
    [40] => 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":1765114963,"compaign_read_start_time":1765114966,"compaign_read_complete_time":1765114968,"compaign_send_start_time":1765114982,"compaign_send_complete_time":1765114983}
    [action_time] => {"api_allot_time":1765114963,"compaign_read_start_time":1765114966,"compaign_read_complete_time":1765114968,"compaign_send_start_time":1765114982,"compaign_send_complete_time":1765114983}
    [50] => 0
    [compaign_file] => 0
    [51] => u29720_82155_07122025_071242PM_202
    [common_name] => u29720_82155_07122025_071242PM_202
    [52] => 1765111839_u29720_voice.wav
    [voice_file] => 1765111839_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_69300
    [temp_group_table] => contacts_temp_group_69300
    [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] => 1765115106
    [reschedule_last_check_time] => 1765115106
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765115222
    [last_credit_update_time] => 1765115222
    [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 : 82155
\compaign_type : Rans per 28.24433 
ans sms 620
dnd sms 99

require answer perrequire answer per : 148

user answer per : 115
below is the redis data 33 UPDATE voice_compaign_detail_82155 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 33 Total Failed : 199 no_answer_count : 67 Busy count :52 congestion_count : 24 failed_count : 56UPDATE voice_compaign_detail_82155 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 67 UPDATE voice_compaign_detail_82155 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 52 UPDATE voice_compaign_detail_82155 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 24 UPDATE voice_compaign_detail_82155 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`='148', `user_busy_sms`='88', `user_congestion_sms`='24', `user_failed_sms`='110', `user_hangup_sms`='0', `user_no_answer_sms`='151', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='99' WHERE `compaign_id`=82155 LIMIT 1 


Time Diff : 0.439

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764856143'  
Array
(
    [0] => 82153
    [compaign_id] => 82153
    [1] => u29717
    [user_id] => u29717
    [2] => 69298,
    [group_ids] => 69298,
    [3] => 
    [sender_id] => 
    [4] => kf.mp3
    [filename] => kf.mp3
    [5] => 40
    [duration] => 40
    [6] => 2
    [credits_per_sms] => 2
    [7] => 30
    [user_pulse] => 30
    [8] => 1765114925
    [start_date] => 1765114925
    [9] => 0
    [end_date] => 0
    [10] => 51
    [total_sms] => 51
    [11] => 51
    [sent_sms] => 51
    [12] => 0
    [duplicate_sms] => 0
    [13] => 4
    [answered_sms] => 4
    [14] => 9
    [busy_sms] => 9
    [15] => 0
    [congestion_sms] => 0
    [16] => 30
    [failed_sms] => 30
    [17] => 0
    [hangup_sms] => 0
    [18] => 8
    [no_answer_sms] => 8
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 4
    [user_answered_sms] => 4
    [27] => 9
    [user_busy_sms] => 9
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 30
    [user_failed_sms] => 30
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 8
    [user_no_answer_sms] => 8
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29717
    [created_by] => u29717
    [38] => 0
    [isScheduled] => 0
    [39] => 1765114925
    [create_date] => 1765114925
    [40] => 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":1765114931,"compaign_read_start_time":1765114933,"compaign_read_complete_time":1765114933,"compaign_send_start_time":1765114982,"compaign_send_complete_time":1765114982}
    [action_time] => {"api_allot_time":1765114931,"compaign_read_start_time":1765114933,"compaign_read_complete_time":1765114933,"compaign_send_start_time":1765114982,"compaign_send_complete_time":1765114982}
    [50] => 0
    [compaign_file] => 0
    [51] => u29717_82153_07122025_071210PM_137
    [common_name] => u29717_82153_07122025_071210PM_137
    [52] => 1765095212_u29717_voice.wav
    [voice_file] => 1765095212_u29717_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_69298
    [temp_group_table] => contacts_temp_group_69298
    [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] => 1765115282
    [last_credit_update_time] => 1765115282
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1927
    [user_voice_plan_id] => 1927
    [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] => 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,sr27,sr74,u29717
    [uphierarchy] => admin,sr27,sr74,u29717
    [113] => 
    [extra_params_json] => 
)


Compaign : 82153
\compaign_type : Rans per 30.02772 
ans sms 51
dnd sms 0

require answer perrequire answer per : 16

user answer per : 4
below is the redis data 12 UPDATE voice_compaign_detail_82153 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 12 Total Failed : 0 no_answer_count : 0 Busy count :0 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`='9', `user_congestion_sms`='0', `user_failed_sms`='30', `user_hangup_sms`='0', `user_no_answer_sms`='8', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=82153 LIMIT 1 


Time Diff : 5.765

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764856203'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764856262'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764856321'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764856382'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764856442'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764856503'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764856562'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764856622'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764856681'  
Array
(
    [0] => 82159
    [compaign_id] => 82159
    [1] => u29720
    [user_id] => u29720
    [2] => 69304,
    [group_ids] => 69304,
    [3] => 
    [sender_id] => 
    [4] => Bheemadevarapally.mp3
    [filename] => Bheemadevarapally.mp3
    [5] => 18
    [duration] => 18
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765115523
    [start_date] => 1765115523
    [9] => 0
    [end_date] => 0
    [10] => 472
    [total_sms] => 472
    [11] => 472
    [sent_sms] => 472
    [12] => 0
    [duplicate_sms] => 0
    [13] => 57
    [answered_sms] => 57
    [14] => 42
    [busy_sms] => 42
    [15] => 0
    [congestion_sms] => 0
    [16] => 48
    [failed_sms] => 48
    [17] => 0
    [hangup_sms] => 0
    [18] => 66
    [no_answer_sms] => 66
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 160
    [cutting_sms] => 160
    [22] => 99
    [dnd_sms] => 99
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 57
    [user_answered_sms] => 57
    [27] => 42
    [user_busy_sms] => 42
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 48
    [user_failed_sms] => 48
    [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] => 99
    [user_dnd_sms] => 99
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29720
    [created_by] => u29720
    [38] => 0
    [isScheduled] => 0
    [39] => 1765115523
    [create_date] => 1765115523
    [40] => 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":1765115530,"compaign_read_start_time":1765115531,"compaign_read_complete_time":1765115531,"compaign_send_start_time":1765115583,"compaign_send_complete_time":1765115584}
    [action_time] => {"api_allot_time":1765115530,"compaign_read_start_time":1765115531,"compaign_read_complete_time":1765115531,"compaign_send_start_time":1765115583,"compaign_send_complete_time":1765115584}
    [50] => 0
    [compaign_file] => 0
    [51] => u29720_82159_07122025_072209PM_913
    [common_name] => u29720_82159_07122025_072209PM_913
    [52] => 1765111839_u29720_voice.wav
    [voice_file] => 1765111839_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_69304
    [temp_group_table] => contacts_temp_group_69304
    [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] => 1765115822
    [last_credit_update_time] => 1765115822
    [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 : 82159
\compaign_type : Rans per 30.62546 
ans sms 472
dnd sms 99

require answer perrequire answer per : 115

user answer per : 57
below is the redis data 58 UPDATE voice_compaign_detail_82159 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 58 Total Failed : 102 no_answer_count : 35 Busy count :27 congestion_count : 13 failed_count : 27UPDATE voice_compaign_detail_82159 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 35 UPDATE voice_compaign_detail_82159 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 27 UPDATE voice_compaign_detail_82159 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 13 UPDATE voice_compaign_detail_82159 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`='115', `user_busy_sms`='69', `user_congestion_sms`='13', `user_failed_sms`='75', `user_hangup_sms`='0', `user_no_answer_sms`='101', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='99' WHERE `compaign_id`=82159 LIMIT 1 


Time Diff : 0.494

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764856743'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764856802'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764856865'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764856925'  
Array
(
    [0] => 82162
    [compaign_id] => 82162
    [1] => u82
    [user_id] => u82
    [2] => 69306,
    [group_ids] => 69306,
    [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] => 1765115823
    [start_date] => 1765115823
    [9] => 0
    [end_date] => 0
    [10] => 56
    [total_sms] => 56
    [11] => 56
    [sent_sms] => 56
    [12] => 0
    [duplicate_sms] => 0
    [13] => 9
    [answered_sms] => 9
    [14] => 16
    [busy_sms] => 16
    [15] => 0
    [congestion_sms] => 0
    [16] => 7
    [failed_sms] => 7
    [17] => 0
    [hangup_sms] => 0
    [18] => 7
    [no_answer_sms] => 7
    [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] => 9
    [user_answered_sms] => 9
    [27] => 16
    [user_busy_sms] => 16
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 7
    [user_failed_sms] => 7
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 7
    [user_no_answer_sms] => 7
    [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] => 1765115823
    [create_date] => 1765115823
    [40] => 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":1765115828,"compaign_read_start_time":1765115834,"compaign_read_complete_time":1765115834,"compaign_send_start_time":1765115882,"compaign_send_complete_time":1765115888}
    [action_time] => {"api_allot_time":1765115828,"compaign_read_start_time":1765115834,"compaign_read_complete_time":1765115834,"compaign_send_start_time":1765115882,"compaign_send_complete_time":1765115888}
    [50] => 0
    [compaign_file] => 0
    [51] => u82_82162_07122025_072708PM_106
    [common_name] => u82_82162_07122025_072708PM_106
    [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_69306
    [temp_group_table] => contacts_temp_group_69306
    [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] => 1765116068
    [last_credit_update_time] => 1765116068
    [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 : 82162
\compaign_type : Rans per 26.88944 
ans sms 56
dnd sms 17

require answer perrequire answer per : 11

user answer per : 9
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_82162 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_82162 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`='11', `user_busy_sms`='16', `user_congestion_sms`='0', `user_failed_sms`='3', `user_hangup_sms`='0', `user_no_answer_sms`='9', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='17' WHERE `compaign_id`=82162 LIMIT 1 


Time Diff : 3.821

Array
(
    [0] => 82163
    [compaign_id] => 82163
    [1] => u83
    [user_id] => u83
    [2] => 69307,
    [group_ids] => 69307,
    [3] => 
    [sender_id] => 
    [4] => cheriyal_sarpanch.mp3
    [filename] => cheriyal_sarpanch.mp3
    [5] => 19
    [duration] => 19
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765115824
    [start_date] => 1765115824
    [9] => 0
    [end_date] => 0
    [10] => 415
    [total_sms] => 415
    [11] => 415
    [sent_sms] => 415
    [12] => 0
    [duplicate_sms] => 0
    [13] => 23
    [answered_sms] => 23
    [14] => 31
    [busy_sms] => 31
    [15] => 0
    [congestion_sms] => 0
    [16] => 64
    [failed_sms] => 64
    [17] => 0
    [hangup_sms] => 0
    [18] => 32
    [no_answer_sms] => 32
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 116
    [cutting_sms] => 116
    [22] => 149
    [dnd_sms] => 149
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 23
    [user_answered_sms] => 23
    [27] => 31
    [user_busy_sms] => 31
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 64
    [user_failed_sms] => 64
    [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] => 149
    [user_dnd_sms] => 149
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u83
    [created_by] => u83
    [38] => 0
    [isScheduled] => 0
    [39] => 1765115824
    [create_date] => 1765115824
    [40] => 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":1765115830,"compaign_read_start_time":1765115837,"compaign_read_complete_time":1765115838,"compaign_send_start_time":1765115882,"compaign_send_complete_time":1765115889}
    [action_time] => {"api_allot_time":1765115830,"compaign_read_start_time":1765115837,"compaign_read_complete_time":1765115838,"compaign_send_start_time":1765115882,"compaign_send_complete_time":1765115889}
    [50] => 0
    [compaign_file] => 0
    [51] => u83_82163_07122025_072710PM_945
    [common_name] => u83_82163_07122025_072710PM_945
    [52] => 1765002393_u83_voice.wav
    [voice_file] => 1765002393_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_69307
    [temp_group_table] => contacts_temp_group_69307
    [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] => 1765116068
    [last_credit_update_time] => 1765116068
    [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 : 82163
\compaign_type : Rans per 29.93296 
ans sms 415
dnd sms 149

require answer perrequire answer per : 80

user answer per : 23
below is the redis data 57 /n/r
only no answer and busy will be convert, total number require 57 /n/r
UPDATE voice_compaign_detail_82163 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 42 UPDATE voice_compaign_detail_82163 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 42 Total Failed : 59 no_answer_count : 20 Busy count :16 congestion_count : 8 failed_count : 15UPDATE voice_compaign_detail_82163 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 20 UPDATE voice_compaign_detail_82163 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 16 UPDATE voice_compaign_detail_82163 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 8 UPDATE voice_compaign_detail_82163 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`='80', `user_busy_sms`='62', `user_congestion_sms`='8', `user_failed_sms`='52', `user_hangup_sms`='0', `user_no_answer_sms`='64', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='149' WHERE `compaign_id`=82163 LIMIT 1 


Time Diff : 0.516

Array
(
    [0] => 82164
    [compaign_id] => 82164
    [1] => u83
    [user_id] => u83
    [2] => 69308,
    [group_ids] => 69308,
    [3] => 
    [sender_id] => 
    [4] => eddumail.mp3
    [filename] => eddumail.mp3
    [5] => 16
    [duration] => 16
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765115829
    [start_date] => 1765115829
    [9] => 0
    [end_date] => 0
    [10] => 1589
    [total_sms] => 1589
    [11] => 1589
    [sent_sms] => 1589
    [12] => 0
    [duplicate_sms] => 0
    [13] => 72
    [answered_sms] => 72
    [14] => 68
    [busy_sms] => 68
    [15] => 0
    [congestion_sms] => 0
    [16] => 247
    [failed_sms] => 247
    [17] => 0
    [hangup_sms] => 0
    [18] => 61
    [no_answer_sms] => 61
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 383
    [cutting_sms] => 383
    [22] => 758
    [dnd_sms] => 758
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 72
    [user_answered_sms] => 72
    [27] => 68
    [user_busy_sms] => 68
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 247
    [user_failed_sms] => 247
    [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] => 758
    [user_dnd_sms] => 758
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u83
    [created_by] => u83
    [38] => 0
    [isScheduled] => 0
    [39] => 1765115829
    [create_date] => 1765115829
    [40] => 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":1765115834,"compaign_read_start_time":1765115840,"compaign_read_complete_time":1765115843,"compaign_send_start_time":1765115882,"compaign_send_complete_time":1765115954}
    [action_time] => {"api_allot_time":1765115834,"compaign_read_start_time":1765115840,"compaign_read_complete_time":1765115843,"compaign_send_start_time":1765115882,"compaign_send_complete_time":1765115954}
    [50] => 0
    [compaign_file] => 0
    [51] => u83_82164_07122025_072714PM_380
    [common_name] => u83_82164_07122025_072714PM_380
    [52] => 1765002193_u83_voice.wav
    [voice_file] => 1765002193_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_69308
    [temp_group_table] => contacts_temp_group_69308
    [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] => 1765116068
    [last_credit_update_time] => 1765116068
    [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 : 82164
\compaign_type : Rans per 26.21663 
ans sms 1589
dnd sms 758

require answer perrequire answer per : 218

user answer per : 72
below is the redis data 146 /n/r
only no answer and busy will be convert, total number require 146 /n/r
UPDATE voice_compaign_detail_82164 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_82164 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 : 261 no_answer_count : 88 Busy count :67 congestion_count : 31 failed_count : 75UPDATE voice_compaign_detail_82164 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 88 UPDATE voice_compaign_detail_82164 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 67 UPDATE voice_compaign_detail_82164 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 31 UPDATE voice_compaign_detail_82164 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`='201', `user_busy_sms`='171', `user_congestion_sms`='31', `user_failed_sms`='236', `user_hangup_sms`='0', `user_no_answer_sms`='192', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='758' WHERE `compaign_id`=82164 LIMIT 1 


Time Diff : 0.094

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764856983'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764857041'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764857106'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764857163'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764857225'  
Array
(
    [0] => 82165
    [compaign_id] => 82165
    [1] => u29720
    [user_id] => u29720
    [2] => 69310,
    [group_ids] => 69310,
    [3] => 
    [sender_id] => 
    [4] => Bheemadevarapally.mp3
    [filename] => Bheemadevarapally.mp3
    [5] => 18
    [duration] => 18
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765116126
    [start_date] => 1765116126
    [9] => 0
    [end_date] => 0
    [10] => 357
    [total_sms] => 357
    [11] => 357
    [sent_sms] => 357
    [12] => 0
    [duplicate_sms] => 0
    [13] => 31
    [answered_sms] => 31
    [14] => 30
    [busy_sms] => 30
    [15] => 0
    [congestion_sms] => 0
    [16] => 54
    [failed_sms] => 54
    [17] => 0
    [hangup_sms] => 0
    [18] => 50
    [no_answer_sms] => 50
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 93
    [cutting_sms] => 93
    [22] => 99
    [dnd_sms] => 99
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 31
    [user_answered_sms] => 31
    [27] => 30
    [user_busy_sms] => 30
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 54
    [user_failed_sms] => 54
    [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] => 99
    [user_dnd_sms] => 99
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u29720
    [created_by] => u29720
    [38] => 0
    [isScheduled] => 0
    [39] => 1765116126
    [create_date] => 1765116126
    [40] => 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":1765116132,"compaign_read_start_time":1765116135,"compaign_read_complete_time":1765116135,"compaign_send_start_time":1765116184,"compaign_send_complete_time":1765116190}
    [action_time] => {"api_allot_time":1765116132,"compaign_read_start_time":1765116135,"compaign_read_complete_time":1765116135,"compaign_send_start_time":1765116184,"compaign_send_complete_time":1765116190}
    [50] => 0
    [compaign_file] => 0
    [51] => u29720_82165_07122025_073211PM_213
    [common_name] => u29720_82165_07122025_073211PM_213
    [52] => 1765111839_u29720_voice.wav
    [voice_file] => 1765111839_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_69310
    [temp_group_table] => contacts_temp_group_69310
    [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] => 1765116423
    [last_credit_update_time] => 1765116423
    [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 : 82165
\compaign_type : Rans per 25.73366 
ans sms 357
dnd sms 99

require answer perrequire answer per : 67

user answer per : 31
below is the redis data 36 UPDATE voice_compaign_detail_82165 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 36 Total Failed : 57 no_answer_count : 20 Busy count :15 congestion_count : 7 failed_count : 15UPDATE voice_compaign_detail_82165 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 20 UPDATE voice_compaign_detail_82165 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 15 UPDATE voice_compaign_detail_82165 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 7 UPDATE voice_compaign_detail_82165 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`='67', `user_busy_sms`='45', `user_congestion_sms`='7', `user_failed_sms`='69', `user_hangup_sms`='0', `user_no_answer_sms`='70', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='99' WHERE `compaign_id`=82165 LIMIT 1 


Time Diff : 0.597

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764857284'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764857343'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764857405'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764857465'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764857523'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764857583'  
Array
(
    [0] => 82166
    [compaign_id] => 82166
    [1] => u83
    [user_id] => u83
    [2] => 69312,
    [group_ids] => 69312,
    [3] => 
    [sender_id] => 
    [4] => cheriyal_sarpanch.mp3
    [filename] => cheriyal_sarpanch.mp3
    [5] => 19
    [duration] => 19
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765116429
    [start_date] => 1765116429
    [9] => 0
    [end_date] => 0
    [10] => 335
    [total_sms] => 335
    [11] => 335
    [sent_sms] => 335
    [12] => 0
    [duplicate_sms] => 0
    [13] => 14
    [answered_sms] => 14
    [14] => 21
    [busy_sms] => 21
    [15] => 0
    [congestion_sms] => 0
    [16] => 51
    [failed_sms] => 51
    [17] => 0
    [hangup_sms] => 0
    [18] => 22
    [no_answer_sms] => 22
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 78
    [cutting_sms] => 78
    [22] => 149
    [dnd_sms] => 149
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 21
    [user_busy_sms] => 21
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 51
    [user_failed_sms] => 51
    [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] => 149
    [user_dnd_sms] => 149
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u83
    [created_by] => u83
    [38] => 0
    [isScheduled] => 0
    [39] => 1765116429
    [create_date] => 1765116429
    [40] => 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":1765116436,"compaign_read_start_time":1765116438,"compaign_read_complete_time":1765116439,"compaign_send_start_time":1765116488,"compaign_send_complete_time":1765116498}
    [action_time] => {"api_allot_time":1765116436,"compaign_read_start_time":1765116438,"compaign_read_complete_time":1765116439,"compaign_send_start_time":1765116488,"compaign_send_complete_time":1765116498}
    [50] => 0
    [compaign_file] => 0
    [51] => u83_82166_07122025_073716PM_230
    [common_name] => u83_82166_07122025_073716PM_230
    [52] => 1765002393_u83_voice.wav
    [voice_file] => 1765002393_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_69312
    [temp_group_table] => contacts_temp_group_69312
    [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] => 1765116725
    [last_credit_update_time] => 1765116725
    [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 : 82166
\compaign_type : Rans per 26.56249 
ans sms 335
dnd sms 149

require answer perrequire answer per : 50

user answer per : 14
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_82166 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_82166 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 : 45 no_answer_count : 16 Busy count :12 congestion_count : 6 failed_count : 11UPDATE voice_compaign_detail_82166 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 16 UPDATE voice_compaign_detail_82166 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 12 UPDATE voice_compaign_detail_82166 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 6 UPDATE voice_compaign_detail_82166 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`='50', `user_busy_sms`='42', `user_congestion_sms`='6', `user_failed_sms`='41', `user_hangup_sms`='0', `user_no_answer_sms`='47', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='149' WHERE `compaign_id`=82166 LIMIT 1 


Time Diff : 0.791

Array
(
    [0] => 82167
    [compaign_id] => 82167
    [1] => u83
    [user_id] => u83
    [2] => 69311,
    [group_ids] => 69311,
    [3] => 
    [sender_id] => 
    [4] => eddumail.mp3
    [filename] => eddumail.mp3
    [5] => 16
    [duration] => 16
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765116434
    [start_date] => 1765116434
    [9] => 0
    [end_date] => 0
    [10] => 1388
    [total_sms] => 1388
    [11] => 1388
    [sent_sms] => 1388
    [12] => 0
    [duplicate_sms] => 0
    [13] => 37
    [answered_sms] => 37
    [14] => 42
    [busy_sms] => 42
    [15] => 0
    [congestion_sms] => 0
    [16] => 205
    [failed_sms] => 205
    [17] => 0
    [hangup_sms] => 0
    [18] => 39
    [no_answer_sms] => 39
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 307
    [cutting_sms] => 307
    [22] => 758
    [dnd_sms] => 758
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 37
    [user_answered_sms] => 37
    [27] => 42
    [user_busy_sms] => 42
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 205
    [user_failed_sms] => 205
    [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] => 758
    [user_dnd_sms] => 758
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u83
    [created_by] => u83
    [38] => 0
    [isScheduled] => 0
    [39] => 1765116434
    [create_date] => 1765116434
    [40] => 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":1765116440,"compaign_read_start_time":1765116441,"compaign_read_complete_time":1765116444,"compaign_send_start_time":1765116489,"compaign_send_complete_time":1765116546}
    [action_time] => {"api_allot_time":1765116440,"compaign_read_start_time":1765116441,"compaign_read_complete_time":1765116444,"compaign_send_start_time":1765116489,"compaign_send_complete_time":1765116546}
    [50] => 0
    [compaign_file] => 0
    [51] => u83_82167_07122025_073720PM_437
    [common_name] => u83_82167_07122025_073720PM_437
    [52] => 1765002193_u83_voice.wav
    [voice_file] => 1765002193_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_69311
    [temp_group_table] => contacts_temp_group_69311
    [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] => 1765116725
    [last_credit_update_time] => 1765116725
    [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 : 82167
\compaign_type : Rans per 29.48998 
ans sms 1388
dnd sms 758

require answer perrequire answer per : 186

user answer per : 37
below is the redis data 149 /n/r
only no answer and busy will be convert, total number require 149 /n/r
UPDATE voice_compaign_detail_82167 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_82167 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 : 177 no_answer_count : 60 Busy count :46 congestion_count : 22 failed_count : 49UPDATE voice_compaign_detail_82167 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 60 UPDATE voice_compaign_detail_82167 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 46 UPDATE voice_compaign_detail_82167 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 22 UPDATE voice_compaign_detail_82167 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 49 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='118', `user_busy_sms`='155', `user_congestion_sms`='22', `user_failed_sms`='166', `user_hangup_sms`='0', `user_no_answer_sms`='169', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='758' WHERE `compaign_id`=82167 LIMIT 1 


Time Diff : 0.152

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


Compaign : 81650
\compaign_type : ATans per 26.45943 
ans sms 42248
dnd sms 0

require answer perrequire answer per : 11179

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='201', `user_busy_sms`='14494', `user_congestion_sms`='0', `user_failed_sms`='25898', `user_hangup_sms`='0', `user_no_answer_sms`='1655', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81650 LIMIT 1 


Time Diff : 0.837

Array
(
    [0] => 81315
    [compaign_id] => 81315
    [1] => sr31
    [user_id] => sr31
    [2] => 68586,
    [group_ids] => 68586,
    [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] => 1765116900
    [start_date] => 1765116900
    [9] => 0
    [end_date] => 0
    [10] => 169
    [total_sms] => 169
    [11] => 169
    [sent_sms] => 169
    [12] => 0
    [duplicate_sms] => 0
    [13] => 1
    [answered_sms] => 1
    [14] => 22
    [busy_sms] => 22
    [15] => 0
    [congestion_sms] => 0
    [16] => 37
    [failed_sms] => 37
    [17] => 0
    [hangup_sms] => 0
    [18] => 23
    [no_answer_sms] => 23
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 17
    [cutting_sms] => 17
    [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] => 22
    [user_busy_sms] => 22
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 37
    [user_failed_sms] => 37
    [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] => 1
    [isScheduled] => 1
    [39] => 1765001751
    [create_date] => 1765001751
    [40] => 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":1765117037,"compaign_read_start_time":1765117039,"compaign_read_complete_time":1765117040,"compaign_send_start_time":1765117084,"compaign_send_complete_time":1765117085}
    [action_time] => {"api_allot_time":1765117037,"compaign_read_start_time":1765117039,"compaign_read_complete_time":1765117040,"compaign_send_start_time":1765117084,"compaign_send_complete_time":1765117085}
    [50] => 0
    [compaign_file] => 0
    [51] => sr31_81315_07122025_074508PM_918
    [common_name] => sr31_81315_07122025_074508PM_918
    [52] => 1765001751_sr31_voice.wav
    [voice_file] => 1765001751_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_68586
    [temp_group_table] => contacts_temp_group_68586
    [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] => 1765117206
    [reschedule_last_check_time] => 1765117206
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1765117266
    [last_credit_update_time] => 1765117266
    [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":1765117800}
    [rt_time] => {"1":1765117800}
    [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 : 81315
\compaign_type : Rans per 27.01631 
ans sms 169
dnd sms 69

require answer perrequire answer per : 28

user answer per : 1
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_81315 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_81315 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 : 5 no_answer_count : 2 Busy count :2 congestion_count : 1 failed_count : 0UPDATE voice_compaign_detail_81315 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 2 UPDATE voice_compaign_detail_81315 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 2 UPDATE voice_compaign_detail_81315 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`='28', `user_busy_sms`='31', `user_congestion_sms`='1', `user_failed_sms`='9', `user_hangup_sms`='0', `user_no_answer_sms`='31', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='69' WHERE `compaign_id`=81315 LIMIT 1 


Time Diff : 0.698

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


Compaign : 81650
\compaign_type : ATans per 30.08331 
ans sms 42442
dnd sms 0

require answer perrequire answer per : 12768

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='201', `user_busy_sms`='14582', `user_congestion_sms`='0', `user_failed_sms`='25995', `user_hangup_sms`='0', `user_no_answer_sms`='1664', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=81650 LIMIT 1 


Time Diff : 0.839

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764858366'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764858426'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764858485'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764858548'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764858605'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764858665'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764858726'  
Array
(
    [0] => 82169
    [compaign_id] => 82169
    [1] => u83
    [user_id] => u83
    [2] => 69313,
    [group_ids] => 69313,
    [3] => 
    [sender_id] => 
    [4] => cheriyal_sarpanch.mp3
    [filename] => cheriyal_sarpanch.mp3
    [5] => 19
    [duration] => 19
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765117632
    [start_date] => 1765117632
    [9] => 0
    [end_date] => 0
    [10] => 285
    [total_sms] => 285
    [11] => 285
    [sent_sms] => 285
    [12] => 0
    [duplicate_sms] => 0
    [13] => 10
    [answered_sms] => 10
    [14] => 7
    [busy_sms] => 7
    [15] => 0
    [congestion_sms] => 0
    [16] => 55
    [failed_sms] => 55
    [17] => 0
    [hangup_sms] => 0
    [18] => 13
    [no_answer_sms] => 13
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 51
    [cutting_sms] => 51
    [22] => 149
    [dnd_sms] => 149
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 10
    [user_answered_sms] => 10
    [27] => 7
    [user_busy_sms] => 7
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 55
    [user_failed_sms] => 55
    [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] => 149
    [user_dnd_sms] => 149
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u83
    [created_by] => u83
    [38] => 0
    [isScheduled] => 0
    [39] => 1765117632
    [create_date] => 1765117632
    [40] => 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":1765117638,"compaign_read_start_time":1765117639,"compaign_read_complete_time":1765117640,"compaign_send_start_time":1765117692,"compaign_send_complete_time":1765117699}
    [action_time] => {"api_allot_time":1765117638,"compaign_read_start_time":1765117639,"compaign_read_complete_time":1765117640,"compaign_send_start_time":1765117692,"compaign_send_complete_time":1765117699}
    [50] => 0
    [compaign_file] => 0
    [51] => u83_82169_07122025_075717PM_192
    [common_name] => u83_82169_07122025_075717PM_192
    [52] => 1765002393_u83_voice.wav
    [voice_file] => 1765002393_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_69313
    [temp_group_table] => contacts_temp_group_69313
    [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] => 1765117867
    [last_credit_update_time] => 1765117867
    [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 : 82169
\compaign_type : Rans per 30.93415 
ans sms 285
dnd sms 149

require answer perrequire answer per : 43

user answer per : 10
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_82169 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_82169 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 : 23 no_answer_count : 8 Busy count :6 congestion_count : 3 failed_count : 6UPDATE voice_compaign_detail_82169 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 8 UPDATE voice_compaign_detail_82169 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 6 UPDATE voice_compaign_detail_82169 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 3 UPDATE voice_compaign_detail_82169 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`='30', `user_busy_sms`='32', `user_congestion_sms`='3', `user_failed_sms`='37', `user_hangup_sms`='0', `user_no_answer_sms`='34', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='149' WHERE `compaign_id`=82169 LIMIT 1 


Time Diff : 0.614

Array
(
    [0] => 82170
    [compaign_id] => 82170
    [1] => u83
    [user_id] => u83
    [2] => 69315,
    [group_ids] => 69315,
    [3] => 
    [sender_id] => 
    [4] => eddumail.mp3
    [filename] => eddumail.mp3
    [5] => 16
    [duration] => 16
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765117636
    [start_date] => 1765117636
    [9] => 0
    [end_date] => 0
    [10] => 1270
    [total_sms] => 1270
    [11] => 1270
    [sent_sms] => 1270
    [12] => 0
    [duplicate_sms] => 0
    [13] => 26
    [answered_sms] => 26
    [14] => 21
    [busy_sms] => 21
    [15] => 0
    [congestion_sms] => 0
    [16] => 211
    [failed_sms] => 211
    [17] => 0
    [hangup_sms] => 0
    [18] => 31
    [no_answer_sms] => 31
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 223
    [cutting_sms] => 223
    [22] => 758
    [dnd_sms] => 758
    [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] => 211
    [user_failed_sms] => 211
    [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] => 758
    [user_dnd_sms] => 758
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u83
    [created_by] => u83
    [38] => 0
    [isScheduled] => 0
    [39] => 1765117636
    [create_date] => 1765117636
    [40] => 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":1765117642,"compaign_read_start_time":1765117645,"compaign_read_complete_time":1765117648,"compaign_send_start_time":1765117692,"compaign_send_complete_time":1765117700}
    [action_time] => {"api_allot_time":1765117642,"compaign_read_start_time":1765117645,"compaign_read_complete_time":1765117648,"compaign_send_start_time":1765117692,"compaign_send_complete_time":1765117700}
    [50] => 0
    [compaign_file] => 0
    [51] => u83_82170_07122025_075721PM_343
    [common_name] => u83_82170_07122025_075721PM_343
    [52] => 1765002193_u83_voice.wav
    [voice_file] => 1765002193_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_69315
    [temp_group_table] => contacts_temp_group_69315
    [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] => 1765117867
    [last_credit_update_time] => 1765117867
    [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 : 82170
\compaign_type : Rans per 26.79641 
ans sms 1270
dnd sms 758

require answer perrequire answer per : 138

user answer per : 26
below is the redis data 112 /n/r
only no answer and busy will be convert, total number require 112 /n/r
UPDATE voice_compaign_detail_82170 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_82170 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 : 149 no_answer_count : 50 Busy count :39 congestion_count : 18 failed_count : 42UPDATE voice_compaign_detail_82170 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 50 UPDATE voice_compaign_detail_82170 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 39 UPDATE voice_compaign_detail_82170 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 18 UPDATE voice_compaign_detail_82170 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`='78', `user_busy_sms`='119', `user_congestion_sms`='18', `user_failed_sms`='167', `user_hangup_sms`='0', `user_no_answer_sms`='130', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='758' WHERE `compaign_id`=82170 LIMIT 1 


Time Diff : 0.138

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764858787'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764858847'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764858906'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764858968'  
Array
(
    [0] => 82150
    [compaign_id] => 82150
    [1] => u607
    [user_id] => u607
    [2] => 69295,
    [group_ids] => 69295,
    [3] => 
    [sender_id] => 
    [4] => Laxmi raju .mp3
    [filename] => Laxmi raju .mp3
    [5] => 26
    [duration] => 26
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765117800
    [start_date] => 1765117800
    [9] => 0
    [end_date] => 0
    [10] => 895
    [total_sms] => 895
    [11] => 895
    [sent_sms] => 895
    [12] => 0
    [duplicate_sms] => 0
    [13] => 44
    [answered_sms] => 44
    [14] => 32
    [busy_sms] => 32
    [15] => 0
    [congestion_sms] => 0
    [16] => 285
    [failed_sms] => 285
    [17] => 0
    [hangup_sms] => 0
    [18] => 31
    [no_answer_sms] => 31
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 309
    [cutting_sms] => 309
    [22] => 194
    [dnd_sms] => 194
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 44
    [user_answered_sms] => 44
    [27] => 32
    [user_busy_sms] => 32
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 285
    [user_failed_sms] => 285
    [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] => 194
    [user_dnd_sms] => 194
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u607
    [created_by] => u607
    [38] => 1
    [isScheduled] => 1
    [39] => 1765114625
    [create_date] => 1765114625
    [40] => 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":1765117808,"compaign_read_start_time":1765117808,"compaign_read_complete_time":1765117809,"compaign_send_start_time":1765117869,"compaign_send_complete_time":1765117998}
    [action_time] => {"api_allot_time":1765117808,"compaign_read_start_time":1765117808,"compaign_read_complete_time":1765117809,"compaign_send_start_time":1765117869,"compaign_send_complete_time":1765117998}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_82150_07122025_080007PM_451
    [common_name] => u607_82150_07122025_080007PM_451
    [52] => 1765110363_u607_voice.wav
    [voice_file] => 1765110363_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_69295
    [temp_group_table] => contacts_temp_group_69295
    [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] => 1765118106
    [last_credit_update_time] => 1765118106
    [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 : 82150
\compaign_type : Rans per 27.92011 
ans sms 895
dnd sms 194

require answer perrequire answer per : 196

user answer per : 44
below is the redis data 152 /n/r
only no answer and busy will be convert, total number require 152 /n/r
UPDATE voice_compaign_detail_82150 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 122 UPDATE voice_compaign_detail_82150 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 122 Total Failed : 174 no_answer_count : 59 Busy count :45 congestion_count : 21 failed_count : 49UPDATE voice_compaign_detail_82150 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 59 UPDATE voice_compaign_detail_82150 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 45 UPDATE voice_compaign_detail_82150 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 21 UPDATE voice_compaign_detail_82150 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 49 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='107', `user_busy_sms`='167', `user_congestion_sms`='21', `user_failed_sms`='225', `user_hangup_sms`='0', `user_no_answer_sms`='181', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='194' WHERE `compaign_id`=82150 LIMIT 1 


Time Diff : 0.164

Array
(
    [0] => 82168
    [compaign_id] => 82168
    [1] => sr31
    [user_id] => sr31
    [2] => 69314,
    [group_ids] => 69314,
    [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] => 1765117800
    [start_date] => 1765117800
    [9] => 0
    [end_date] => 0
    [10] => 141
    [total_sms] => 141
    [11] => 141
    [sent_sms] => 141
    [12] => 0
    [duplicate_sms] => 0
    [13] => 20
    [answered_sms] => 20
    [14] => 12
    [busy_sms] => 12
    [15] => 0
    [congestion_sms] => 0
    [16] => 15
    [failed_sms] => 15
    [17] => 0
    [hangup_sms] => 0
    [18] => 14
    [no_answer_sms] => 14
    [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] => 20
    [user_answered_sms] => 20
    [27] => 12
    [user_busy_sms] => 12
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 15
    [user_failed_sms] => 15
    [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] => 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] => 1765117631
    [create_date] => 1765117631
    [40] => 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":1765117808,"compaign_read_start_time":1765117811,"compaign_read_complete_time":1765117811,"compaign_send_start_time":1765117869,"compaign_send_complete_time":1765117870}
    [action_time] => {"api_allot_time":1765117808,"compaign_read_start_time":1765117811,"compaign_read_complete_time":1765117811,"compaign_send_start_time":1765117869,"compaign_send_complete_time":1765117870}
    [50] => 0
    [compaign_file] => 0
    [51] => sr31_82168_07122025_080007PM_295
    [common_name] => sr31_82168_07122025_080007PM_295
    [52] => 1765001751_sr31_voice.wav
    [voice_file] => 1765001751_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_69314
    [temp_group_table] => contacts_temp_group_69314
    [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] => 1765118106
    [last_credit_update_time] => 1765118106
    [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 : 82168
\compaign_type : Rans per 25.96831 
ans sms 141
dnd sms 69

require answer perrequire answer per : 19

user answer per : 20
Total Failed : 11 no_answer_count : 4 Busy count :3 congestion_count : 2 failed_count : 2UPDATE voice_compaign_detail_82168 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 4 UPDATE voice_compaign_detail_82168 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 3 UPDATE voice_compaign_detail_82168 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 2 UPDATE voice_compaign_detail_82168 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`='20', `user_busy_sms`='15', `user_congestion_sms`='2', `user_failed_sms`='17', `user_hangup_sms`='0', `user_no_answer_sms`='18', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='69' WHERE `compaign_id`=82168 LIMIT 1 


Time Diff : 1.929

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764859026'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764859084'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764859144'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764859208'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764859267'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764859328'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764859385'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764859446'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764859507'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764859566'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764859626'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764859684'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764859744'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764859807'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764859867'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764859928'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764859989'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764860048'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764860103'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764860170'  
Array
(
    [0] => 82172
    [compaign_id] => 82172
    [1] => u506
    [user_id] => u506
    [2] => 69318,
    [group_ids] => 69318,
    [3] => 
    [sender_id] => 
    [4] => mallesh ekyc.mp3
    [filename] => mallesh ekyc.mp3
    [5] => 29
    [duration] => 29
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1765118912
    [start_date] => 1765118912
    [9] => 0
    [end_date] => 0
    [10] => 6277
    [total_sms] => 6277
    [11] => 6277
    [sent_sms] => 6277
    [12] => 0
    [duplicate_sms] => 0
    [13] => 729
    [answered_sms] => 729
    [14] => 418
    [busy_sms] => 418
    [15] => 6
    [congestion_sms] => 6
    [16] => 1008
    [failed_sms] => 1008
    [17] => 0
    [hangup_sms] => 0
    [18] => 620
    [no_answer_sms] => 620
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2697
    [cutting_sms] => 2697
    [22] => 799
    [dnd_sms] => 799
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 729
    [user_answered_sms] => 729
    [27] => 418
    [user_busy_sms] => 418
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 1008
    [user_failed_sms] => 1008
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 620
    [user_no_answer_sms] => 620
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 799
    [user_dnd_sms] => 799
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u506
    [created_by] => u506
    [38] => 0
    [isScheduled] => 0
    [39] => 1765118908
    [create_date] => 1765118908
    [40] => 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":1765118918,"compaign_read_start_time":1765118920,"compaign_read_complete_time":1765118931,"compaign_send_start_time":1765118949,"compaign_send_complete_time":1765118961}
    [action_time] => {"api_allot_time":1765118918,"compaign_read_start_time":1765118920,"compaign_read_complete_time":1765118931,"compaign_send_start_time":1765118949,"compaign_send_complete_time":1765118961}
    [50] => 0
    [compaign_file] => 0
    [51] => u506_82172_07122025_081837PM_678
    [common_name] => u506_82172_07122025_081837PM_678
    [52] => 1765118908_u506_voice.wav
    [voice_file] => 1765118908_u506_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_69318
    [temp_group_table] => contacts_temp_group_69318
    [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] => 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] => 1765119369
    [last_credit_update_time] => 1765119369
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 846
    [user_voice_plan_id] => 846
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.14
    [pulse_rate] => 0.14
    [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,sr48,u506
    [uphierarchy] => admin,sr48,u506
    [113] => 
    [extra_params_json] => 
)


Compaign : 82172
\compaign_type : Rans per 30.67083 
ans sms 6277
dnd sms 799

require answer perrequire answer per : 1681

user answer per : 729
below is the redis data 952 /n/r
only no answer and busy will be convert, total number require 952 /n/r
UPDATE voice_compaign_detail_82172 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 753 UPDATE voice_compaign_detail_82172 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 753 Total Failed : 1605 no_answer_count : 536 Busy count :412 congestion_count : 191 failed_count : 466UPDATE voice_compaign_detail_82172 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 536 UPDATE voice_compaign_detail_82172 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 412 UPDATE voice_compaign_detail_82172 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 191 UPDATE voice_compaign_detail_82172 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 466 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='1681', `user_busy_sms`='1194', `user_congestion_sms`='194', `user_failed_sms`='1063', `user_hangup_sms`='0', `user_no_answer_sms`='1346', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='799' WHERE `compaign_id`=82172 LIMIT 1 


Time Diff : 0.057

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764860224'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764860288'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764860346'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764860407'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764860469'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764860533'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764860588'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764860645'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764860706'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764860768'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764860825'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764860888'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764860944'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764861010'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764861069'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764861125'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764861190'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764861245'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764861308'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764861363'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764861426'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764861487'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764861545'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764861612'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764861674'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764861728'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764861788'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764861845'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764861908'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764861968'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764862028'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764862095'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764862153'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764862208'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764862265'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764862325'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764862385'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764862450'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764862511'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764862565'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764862629'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764862690'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764862749'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764862811'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764862867'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764862926'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764862988'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764863055'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764863110'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764863166'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764863228'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764863289'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764863343'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764863408'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764863470'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764863529'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764863589'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764863648'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764863705'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764863765'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764863825'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764863888'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764863951'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764864006'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764864069'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764864121'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764864201'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764864248'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764864308'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764864365'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764864433'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764864491'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764864546'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764864610'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764864667'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764864728'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764864785'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764864846'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764864907'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764864966'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764865027'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764865086'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764865144'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764865208'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764865267'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764865328'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764865392'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764865448'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764865513'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764865567'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764865629'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764865691'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764865744'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764865814'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764865868'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764865928'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764865987'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764866047'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764866104'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764866171'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764866229'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764866290'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764866347'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764866407'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764866468'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764866529'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764866591'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764866648'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764866710'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764866766'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764866827'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764866887'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764866948'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764867010'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764867062'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764867127'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764867188'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764867248'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764867307'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764867365'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764867429'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764867485'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764867545'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764867607'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764867666'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764867725'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764867783'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764867844'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764867908'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764867970'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764868025'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764868083'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764868145'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764868204'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764868264'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764868325'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764868382'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764868446'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764868507'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764868562'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764868626'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764868684'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764868744'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764868803'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764868864'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764868923'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764868982'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764869043'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764869102'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764869162'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764869221'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764869282'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764869342'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764869401'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764869461'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764869521'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764869582'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764869642'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764869701'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764869762'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764869826'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764869881'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764869942'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764870002'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764870061'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764870122'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764870181'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764870241'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764870302'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764870361'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764870421'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764870482'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764870541'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764870601'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764870662'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764870721'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764870781'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764870842'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764870906'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764870961'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764871022'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764871082'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764871141'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764871201'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764871262'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764871321'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764871381'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764871442'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764871501'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764871561'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764871622'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764871681'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764871741'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764871801'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764871861'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764871921'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764871987'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764872041'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764872102'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764872162'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764872221'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764872281'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764872342'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764872401'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764872462'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764872521'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764872582'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764872641'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764872701'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764872762'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764872821'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764872881'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1764872942'