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


Compaign : 65952
\compaign_type : ATans per 28.51783 
ans sms 34866
dnd sms 0

require answer perrequire answer per : 9944

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='230', `user_busy_sms`='10249', `user_congestion_sms`='0', `user_failed_sms`='22454', `user_hangup_sms`='0', `user_no_answer_sms`='1933', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=65952 LIMIT 1 


Time Diff : 1.194

Array
(
    [0] => 65953
    [compaign_id] => 65953
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1760585410
    [start_date] => 1760585410
    [9] => 0
    [end_date] => 0
    [10] => 1
    [total_sms] => 1
    [11] => 1
    [sent_sms] => 1
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 1
    [failed_sms] => 1
    [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] => 1
    [user_failed_sms] => 1
    [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] => 228
    [credit_seq] => 228
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760639343
    [last_credit_update_time] => 1760639343
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 65953
\compaign_type : ATans per 29.70494 
ans sms 1
dnd sms 0

require answer perrequire answer per : 1

user answer per : 0
below is the redis data 1 UPDATE voice_compaign_detail_65953 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`='0', `user_busy_sms`='0', `user_congestion_sms`='0', `user_failed_sms`='1', `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`=65953 LIMIT 1 


Time Diff : 2160

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760380261'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760380321'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760380382'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760380442'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760380501'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760380561'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760380622'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760380681'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760380741'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760380802'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760380861'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760380921'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760380981'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760381041'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760381102'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760381161'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760381221'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760381282'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760381342'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760381401'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760381461'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760381522'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760381581'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760381642'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760381702'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760381761'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760381822'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760381882'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760381941'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760382001'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760382062'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760382122'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760382181'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760382242'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760382301'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760382361'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760382421'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760382481'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760382542'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760382601'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760382661'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760382721'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760382782'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760382841'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760382902'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760382961'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760383021'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760383082'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760383141'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760383201'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760383262'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760383321'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760383382'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760383441'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760383501'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760383562'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760383621'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760383681'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760383742'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760383801'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760383861'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760383922'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760383981'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760384041'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760384102'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760384161'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760384221'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760384282'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760384341'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760384401'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760384462'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760384521'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760384581'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760384641'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760384701'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760384762'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760384821'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760384881'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760384942'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760385001'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760385062'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760385121'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760385181'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760385242'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760385301'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760385361'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760385422'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760385481'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760385541'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760385602'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760385662'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760385721'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760385781'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760385841'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760385902'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760385961'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760386021'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760386082'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760386141'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760386202'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760386262'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760386321'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760386382'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760386442'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760386501'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760386562'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760386621'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760386681'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760386741'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760386801'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760386861'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760386922'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760386981'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760387041'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760387102'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760387162'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760387221'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760387281'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760387341'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760387401'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760387461'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760387521'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760387581'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760387642'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760387702'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760387761'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760387821'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760387882'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760387941'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760388002'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760388062'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760388121'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760388182'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760388241'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760388302'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760388362'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760388421'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760388481'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760388542'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760388601'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760388661'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760388722'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760388781'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760388842'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760388902'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760388961'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760389021'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760389082'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760389141'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760389201'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760389262'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760389321'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760389382'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760389442'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760389501'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760389561'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760389621'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760389681'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760389741'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760389802'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760389861'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760389926'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760389982'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760390041'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760390101'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760390162'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760390221'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760390282'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760390341'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760390401'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760390462'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760390521'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760390581'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760390641'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760390701'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760390761'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760390822'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760390881'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760390941'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760391001'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760391062'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760391121'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760391181'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760391241'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760391301'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760391362'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760391422'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760391481'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760391541'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760391602'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760391661'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760391722'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760391781'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760391841'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760391901'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760391962'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760392021'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760392081'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760392142'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760392201'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760392261'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760392322'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760392382'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760392441'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760392501'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760392562'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760392621'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760392681'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760392742'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760392801'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760392862'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760392921'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760392982'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760393041'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760393101'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760393162'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760393221'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760393282'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760393341'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760393401'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760393461'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760393521'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760393582'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760393641'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760393701'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760393762'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760393821'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760393881'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760393942'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760394001'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760394062'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760394121'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760394181'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760394241'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760394301'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760394361'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760394421'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760394481'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760394542'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760394601'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760394661'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760394721'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760394781'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760394841'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760394902'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760394962'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760395021'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760395081'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760395142'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760395201'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760395262'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760395321'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760395382'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760395441'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760395501'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760395561'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760395622'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760395681'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760395742'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760395802'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760395861'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760395922'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760395981'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760396041'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760396102'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760396161'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760396222'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760396281'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760396342'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760396401'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760396461'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760396522'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760396581'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760396641'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760396701'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760396762'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760396821'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760396882'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760396941'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760397001'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760397062'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760397121'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760397182'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760397241'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760397301'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760397362'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760397421'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760397481'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760397542'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760397601'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760397662'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760397722'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760397781'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760397842'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760397901'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760397961'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760398021'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760398081'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760398142'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760398201'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760398262'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760398321'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760398381'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760398442'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760398501'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760398562'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760398622'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760398681'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760398742'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760398802'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760398861'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760398922'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760398981'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760399041'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760399102'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760399161'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760399221'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760399282'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760399341'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760399402'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760399462'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760399521'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760399582'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760399641'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760399701'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760399762'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760399821'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760399881'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760399942'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760400001'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760400061'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760400121'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760400182'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760400242'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760400301'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760400362'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760400421'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760400481'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760400542'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760400601'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760400661'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760400722'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760400781'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760400841'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760400902'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760400961'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760401022'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760401081'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760401141'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760401202'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760401261'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760401321'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760401381'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760401441'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760401502'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760401561'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760401622'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760401681'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760401741'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760401802'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760401861'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760401921'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760401981'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760402041'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760402101'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760402162'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760402221'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760402281'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760402342'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760402401'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760402461'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760402522'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760402581'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760402641'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760402702'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760402762'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760402822'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760402881'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760402942'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760403001'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760403061'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760403122'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760403181'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760403241'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760403301'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760403362'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760403421'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760403481'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760403542'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760403601'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760403662'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760403721'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760403781'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760403842'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760403901'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760403962'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760404021'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760404081'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760404142'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760404201'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760404262'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760404321'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760404381'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760404441'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760404501'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760404561'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760404622'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760404681'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760404741'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760404802'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760404862'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760404921'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760404982'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760405042'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760405101'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760405162'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760405221'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760405281'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760405342'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760405402'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760405461'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760405522'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760405582'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760405641'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760405701'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760405762'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760405821'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760405881'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760405942'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760406001'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760406061'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760406121'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760406181'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760406242'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760406301'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760406361'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760406422'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760406481'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760406542'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760406601'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760406661'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760406721'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760406781'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760406841'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760406901'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760406961'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760407022'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760407081'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760407141'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760407201'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760407261'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760407321'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760407381'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760407442'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760407501'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760407561'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760407622'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760407681'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760407741'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760407802'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760407861'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760407922'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760407982'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760408041'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760408102'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760408161'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760408221'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760408282'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760408341'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760408401'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760408462'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760408521'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760408581'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760408642'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760408701'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760408761'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760408821'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760408881'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760408942'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760409001'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760409061'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760409122'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760409181'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760409241'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760409302'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760409361'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760409422'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760409482'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760409541'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760409602'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760409661'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760409721'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760409782'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760409841'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760409901'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760409962'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760410021'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760410082'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760410141'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760410201'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760410262'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760410321'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760410381'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760410442'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760410502'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760410561'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760410622'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760410681'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760410741'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760410802'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760410861'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760410922'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760410981'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760411041'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760411102'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760411161'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760411221'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760411282'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760411341'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760411401'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760411461'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760411521'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760411581'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760411641'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760411701'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760411762'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760411821'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760411881'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760411942'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760412001'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760412062'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760412121'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760412181'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760412242'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760412301'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760412361'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760412422'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760412481'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760412541'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760412602'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760412661'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760412727'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760412782'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760412841'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760412901'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760412962'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760413021'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760413082'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760413141'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760413201'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760413261'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760413321'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760413381'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760413442'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760413502'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760413561'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760413622'  
Array
(
    [0] => 66242
    [compaign_id] => 66242
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1760671805
    [start_date] => 1760671805
    [9] => 0
    [end_date] => 0
    [10] => 820
    [total_sms] => 820
    [11] => 820
    [sent_sms] => 820
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 820
    [failed_sms] => 820
    [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] => 820
    [user_failed_sms] => 820
    [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] => 5
    [credit_seq] => 5
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760672821
    [last_credit_update_time] => 1760672821
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 66242
\compaign_type : ATans per 26.22857 
ans sms 820
dnd sms 0

require answer perrequire answer per : 216

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


Time Diff : 2.634

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


Compaign : 66242
\compaign_type : ATans per 29.22212 
ans sms 1280
dnd sms 0

require answer perrequire answer per : 375

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


Time Diff : 1.688

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


Compaign : 66242
\compaign_type : ATans per 26.96821 
ans sms 1623
dnd sms 0

require answer perrequire answer per : 438

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


Time Diff : 1.331

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


Compaign : 66242
\compaign_type : ATans per 25.97192 
ans sms 1972
dnd sms 0

require answer perrequire answer per : 513

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


 Blank User Record End

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


Time Diff : 1.095

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


Compaign : 66242
\compaign_type : ATans per 27.41359 
ans sms 2168
dnd sms 0

require answer perrequire answer per : 595

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


Time Diff : 0.996

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


Compaign : 66242
\compaign_type : ATans per 30.52596 
ans sms 2416
dnd sms 0

require answer perrequire answer per : 738

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


Time Diff : 0.894

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760415961'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760416022'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760416082'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760416141'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760416201'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760416261'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760416321'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760416382'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760416441'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760416501'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760416562'  
Array
(
    [0] => 62804
    [compaign_id] => 62804
    [1] => u140
    [user_id] => u140
    [2] => 55896,
    [group_ids] => 55896,
    [3] => 
    [sender_id] => 
    [4] => REGULAR FREE SERVICE.mp3
    [filename] => REGULAR FREE SERVICE.mp3
    [5] => 16
    [duration] => 16
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760675400
    [start_date] => 1760675400
    [9] => 0
    [end_date] => 0
    [10] => 426
    [total_sms] => 426
    [11] => 426
    [sent_sms] => 426
    [12] => 0
    [duplicate_sms] => 0
    [13] => 64
    [answered_sms] => 64
    [14] => 31
    [busy_sms] => 31
    [15] => 0
    [congestion_sms] => 0
    [16] => 99
    [failed_sms] => 99
    [17] => 0
    [hangup_sms] => 0
    [18] => 73
    [no_answer_sms] => 73
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 159
    [cutting_sms] => 159
    [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] => 31
    [user_busy_sms] => 31
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 99
    [user_failed_sms] => 99
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 73
    [user_no_answer_sms] => 73
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u140
    [created_by] => u140
    [38] => 1
    [isScheduled] => 1
    [39] => 1759473197
    [create_date] => 1759473197
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760675406,"compaign_read_start_time":1760675408,"compaign_read_complete_time":1760675408,"compaign_send_start_time":1760675461,"compaign_send_complete_time":1760675463}
    [action_time] => {"api_allot_time":1760675406,"compaign_read_start_time":1760675408,"compaign_read_complete_time":1760675408,"compaign_send_start_time":1760675461,"compaign_send_complete_time":1760675463}
    [50] => 0
    [compaign_file] => 0
    [51] => u140_62804_17102025_100006AM_753
    [common_name] => u140_62804_17102025_100006AM_753
    [52] => 1728902167_u140_voice.wav
    [voice_file] => 1728902167_u140_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_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_55896
    [temp_group_table] => contacts_temp_group_55896
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760675702
    [last_credit_update_time] => 1760675702
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 259
    [user_voice_plan_id] => 259
    [85] => 11
    [voice_plan_id] => 11
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.25
    [pulse_rate] => 0.25
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [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,sr97,u140
    [uphierarchy] => admin,sr27,sr97,u140
    [113] => 
    [extra_params_json] => 
)


Compaign : 62804
\compaign_type : Rans per 28.55757 
ans sms 426
dnd sms 0

require answer perrequire answer per : 122

user answer per : 64
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_62804 SET user_report='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_62804 SET user_report='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 : 102 no_answer_count : 35 Busy count :27 congestion_count : 13 failed_count : 27UPDATE voice_compaign_detail_62804 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 35 UPDATE voice_compaign_detail_62804 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 27 UPDATE voice_compaign_detail_62804 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 13 UPDATE voice_compaign_detail_62804 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`='122', `user_busy_sms`='88', `user_congestion_sms`='13', `user_failed_sms`='93', `user_hangup_sms`='0', `user_no_answer_sms`='110', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=62804 LIMIT 1 


Time Diff : 0.599

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760416621'  
Array
(
    [0] => 65906
    [compaign_id] => 65906
    [1] => u141
    [user_id] => u141
    [2] => 57731,
    [group_ids] => 57731,
    [3] => 
    [sender_id] => 
    [4] => Sri Ashta Lakshmi Temple 17-10-2025.mp3
    [filename] => Sri Ashta Lakshmi Temple 17-10-2025.mp3
    [5] => 26
    [duration] => 26
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760675400
    [start_date] => 1760675400
    [9] => 0
    [end_date] => 0
    [10] => 87
    [total_sms] => 87
    [11] => 87
    [sent_sms] => 87
    [12] => 0
    [duplicate_sms] => 0
    [13] => 24
    [answered_sms] => 24
    [14] => 11
    [busy_sms] => 11
    [15] => 0
    [congestion_sms] => 0
    [16] => 37
    [failed_sms] => 37
    [17] => 0
    [hangup_sms] => 0
    [18] => 15
    [no_answer_sms] => 15
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 24
    [user_answered_sms] => 24
    [27] => 11
    [user_busy_sms] => 11
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 37
    [user_failed_sms] => 37
    [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] => u141
    [created_by] => u141
    [38] => 1
    [isScheduled] => 1
    [39] => 1760530153
    [create_date] => 1760530153
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760675406,"compaign_read_start_time":1760675411,"compaign_read_complete_time":1760675411,"compaign_send_start_time":1760675461,"compaign_send_complete_time":1760675462}
    [action_time] => {"api_allot_time":1760675406,"compaign_read_start_time":1760675411,"compaign_read_complete_time":1760675411,"compaign_send_start_time":1760675461,"compaign_send_complete_time":1760675462}
    [50] => 0
    [compaign_file] => 0
    [51] => u141_65906_17102025_100006AM_649
    [common_name] => u141_65906_17102025_100006AM_649
    [52] => 1760530153_u141_voice.wav
    [voice_file] => 1760530153_u141_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_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_57731
    [temp_group_table] => contacts_temp_group_57731
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => 1760675702
    [reschedule_last_check_time] => 1760675702
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760675762
    [last_credit_update_time] => 1760675762
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 262
    [user_voice_plan_id] => 262
    [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] => {"1":1760677200,"2":1760679000}
    [rt_time] => {"1":1760677200,"2":1760679000}
    [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,sr97,u141
    [uphierarchy] => admin,sr27,sr97,u141
    [113] => 
    [extra_params_json] => 
)


Compaign : 65906
\compaign_type : Rans per 30.82958 
ans sms 87
dnd sms 0

require answer perrequire answer per : 27

user answer per : 24
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_65906 SET user_report='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_65906 SET user_report='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`='27', `user_busy_sms`='13', `user_congestion_sms`='0', `user_failed_sms`='31', `user_hangup_sms`='0', `user_no_answer_sms`='16', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=65906 LIMIT 1 


Time Diff : 3.609

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760416682'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760416741'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760416801'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760416862'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760416921'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760416982'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760417041'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760417102'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760417161'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760417221'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760417282'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760417341'  
Array
(
    [0] => 66250
    [compaign_id] => 66250
    [1] => u179
    [user_id] => u179
    [2] => 57945,
    [group_ids] => 57945,
    [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] => 1760676186
    [start_date] => 1760676186
    [9] => 0
    [end_date] => 0
    [10] => 110
    [total_sms] => 110
    [11] => 110
    [sent_sms] => 110
    [12] => 0
    [duplicate_sms] => 0
    [13] => 20
    [answered_sms] => 20
    [14] => 27
    [busy_sms] => 27
    [15] => 0
    [congestion_sms] => 0
    [16] => 14
    [failed_sms] => 14
    [17] => 0
    [hangup_sms] => 0
    [18] => 24
    [no_answer_sms] => 24
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 6
    [cutting_sms] => 6
    [22] => 19
    [dnd_sms] => 19
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 20
    [user_answered_sms] => 20
    [27] => 27
    [user_busy_sms] => 27
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 14
    [user_failed_sms] => 14
    [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] => 19
    [user_dnd_sms] => 19
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u179
    [created_by] => u179
    [38] => 0
    [isScheduled] => 0
    [39] => 1760676186
    [create_date] => 1760676186
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760676192,"compaign_read_start_time":1760676194,"compaign_read_complete_time":1760676196,"compaign_send_start_time":1760676242,"compaign_send_complete_time":1760676242}
    [action_time] => {"api_allot_time":1760676192,"compaign_read_start_time":1760676194,"compaign_read_complete_time":1760676196,"compaign_send_start_time":1760676242,"compaign_send_complete_time":1760676242}
    [50] => 0
    [compaign_file] => 0
    [51] => u179_66250_17102025_101312AM_612
    [common_name] => u179_66250_17102025_101312AM_612
    [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_57945
    [temp_group_table] => contacts_temp_group_57945
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => 3
    [message_type] => 3
    [68] => 10
    [extension_key] => 10
    [69] => 2
    [credit_seq] => 2
    [70] => 2
    [reschedule_max] => 2
    [71] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR,N,
    [reschedule_types] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR,N,
    [72] => 2
    [reschedule_remaining] => 2
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 1760676302
    [reschedule_last_check_time] => 1760676302
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760676482
    [last_credit_update_time] => 1760676482
    [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":1760676300,"2":1760677200}
    [rt_time] => {"1":1760676300,"2":1760677200}
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":"2","FFL":"2"}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":"2","FFL":"2"}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr3,u179
    [uphierarchy] => admin,sr3,u179
    [113] => 
    [extra_params_json] => 
)


Compaign : 66250
\compaign_type : Rans per 30.09661 
ans sms 110
dnd sms 19

require answer perrequire answer per : 28

user answer per : 20
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_66250 SET user_report='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_66250 SET user_report='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 : 3 no_answer_count : 2 Busy count :1 congestion_count : 1 failed_count : -1UPDATE voice_compaign_detail_66250 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 2 UPDATE voice_compaign_detail_66250 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 1 UPDATE voice_compaign_detail_66250 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`='29', `user_congestion_sms`='0', `user_failed_sms`='5', `user_hangup_sms`='0', `user_no_answer_sms`='29', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='19' WHERE `compaign_id`=66250 LIMIT 1 


Time Diff : 2.309

Array
(
    [0] => 66251
    [compaign_id] => 66251
    [1] => u179
    [user_id] => u179
    [2] => 57946,
    [group_ids] => 57946,
    [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] => 1760676216
    [start_date] => 1760676216
    [9] => 0
    [end_date] => 0
    [10] => 110
    [total_sms] => 110
    [11] => 110
    [sent_sms] => 110
    [12] => 0
    [duplicate_sms] => 0
    [13] => 24
    [answered_sms] => 24
    [14] => 23
    [busy_sms] => 23
    [15] => 0
    [congestion_sms] => 0
    [16] => 15
    [failed_sms] => 15
    [17] => 0
    [hangup_sms] => 0
    [18] => 23
    [no_answer_sms] => 23
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 6
    [cutting_sms] => 6
    [22] => 19
    [dnd_sms] => 19
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 24
    [user_answered_sms] => 24
    [27] => 23
    [user_busy_sms] => 23
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 15
    [user_failed_sms] => 15
    [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] => 19
    [user_dnd_sms] => 19
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u179
    [created_by] => u179
    [38] => 0
    [isScheduled] => 0
    [39] => 1760676216
    [create_date] => 1760676216
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760676222,"compaign_read_start_time":1760676224,"compaign_read_complete_time":1760676224,"compaign_send_start_time":1760676242,"compaign_send_complete_time":1760676311}
    [action_time] => {"api_allot_time":1760676222,"compaign_read_start_time":1760676224,"compaign_read_complete_time":1760676224,"compaign_send_start_time":1760676242,"compaign_send_complete_time":1760676311}
    [50] => 0
    [compaign_file] => 0
    [51] => u179_66251_17102025_101342AM_611
    [common_name] => u179_66251_17102025_101342AM_611
    [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_57946
    [temp_group_table] => contacts_temp_group_57946
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => 3
    [message_type] => 3
    [68] => 10
    [extension_key] => 10
    [69] => 2
    [credit_seq] => 2
    [70] => 3
    [reschedule_max] => 3
    [71] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR,N,
    [reschedule_types] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR,N,
    [72] => 3
    [reschedule_remaining] => 3
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760676482
    [last_credit_update_time] => 1760676482
    [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":1760682600,"2":1760683500,"3":1760684400}
    [rt_time] => {"1":1760682600,"2":1760683500,"3":1760684400}
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":"2","FFL":"2"}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":"2","FFL":"2"}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr3,u179
    [uphierarchy] => admin,sr3,u179
    [113] => 
    [extra_params_json] => 
)


Compaign : 66251
\compaign_type : Rans per 25.60555 
ans sms 110
dnd sms 19

require answer perrequire answer per : 24

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


Time Diff : 2.018

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760417401'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760417462'  
Array
(
    [0] => 62820
    [compaign_id] => 62820
    [1] => u140
    [user_id] => u140
    [2] => 55911,
    [group_ids] => 55911,
    [3] => 
    [sender_id] => 
    [4] => 20% REGULAR PAID SERVICE.mp3
    [filename] => 20% REGULAR PAID SERVICE.mp3
    [5] => 17
    [duration] => 17
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760676300
    [start_date] => 1760676300
    [9] => 0
    [end_date] => 0
    [10] => 796
    [total_sms] => 796
    [11] => 796
    [sent_sms] => 796
    [12] => 0
    [duplicate_sms] => 0
    [13] => 79
    [answered_sms] => 79
    [14] => 58
    [busy_sms] => 58
    [15] => 0
    [congestion_sms] => 0
    [16] => 206
    [failed_sms] => 206
    [17] => 0
    [hangup_sms] => 0
    [18] => 122
    [no_answer_sms] => 122
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 331
    [cutting_sms] => 331
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 79
    [user_answered_sms] => 79
    [27] => 58
    [user_busy_sms] => 58
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 206
    [user_failed_sms] => 206
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 122
    [user_no_answer_sms] => 122
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u140
    [created_by] => u140
    [38] => 1
    [isScheduled] => 1
    [39] => 1759473511
    [create_date] => 1759473511
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760676306,"compaign_read_start_time":1760676308,"compaign_read_complete_time":1760676309,"compaign_send_start_time":1760676361,"compaign_send_complete_time":1760676364}
    [action_time] => {"api_allot_time":1760676306,"compaign_read_start_time":1760676308,"compaign_read_complete_time":1760676309,"compaign_send_start_time":1760676361,"compaign_send_complete_time":1760676364}
    [50] => 0
    [compaign_file] => 0
    [51] => u140_62820_17102025_101506AM_995
    [common_name] => u140_62820_17102025_101506AM_995
    [52] => 1728899699_u140_voice.wav
    [voice_file] => 1728899699_u140_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_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_55911
    [temp_group_table] => contacts_temp_group_55911
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760676601
    [last_credit_update_time] => 1760676601
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 259
    [user_voice_plan_id] => 259
    [85] => 11
    [voice_plan_id] => 11
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.25
    [pulse_rate] => 0.25
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [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,sr97,u140
    [uphierarchy] => admin,sr27,sr97,u140
    [113] => 
    [extra_params_json] => 
)


Compaign : 62820
\compaign_type : Rans per 29.16995 
ans sms 796
dnd sms 0

require answer perrequire answer per : 233

user answer per : 79
below is the redis data 154 /n/r
only no answer and busy will be convert, total number require 154 /n/r
UPDATE voice_compaign_detail_62820 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 114 UPDATE voice_compaign_detail_62820 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 114 Total Failed : 199 no_answer_count : 67 Busy count :52 congestion_count : 24 failed_count : 56UPDATE voice_compaign_detail_62820 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 67 UPDATE voice_compaign_detail_62820 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 52 UPDATE voice_compaign_detail_62820 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 24 UPDATE voice_compaign_detail_62820 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`='233', `user_busy_sms`='176', `user_congestion_sms`='24', `user_failed_sms`='166', `user_hangup_sms`='0', `user_no_answer_sms`='197', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=62820 LIMIT 1 


Time Diff : 0.319

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760417521'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760417582'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760417642'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760417701'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760417762'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760417821'  
Array
(
    [0] => 66255
    [compaign_id] => 66255
    [1] => u179
    [user_id] => u179
    [2] => 57947,
    [group_ids] => 57947,
    [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] => 1760676300
    [start_date] => 1760676300
    [9] => 0
    [end_date] => 0
    [10] => 82
    [total_sms] => 82
    [11] => 82
    [sent_sms] => 82
    [12] => 0
    [duplicate_sms] => 0
    [13] => 7
    [answered_sms] => 7
    [14] => 21
    [busy_sms] => 21
    [15] => 0
    [congestion_sms] => 0
    [16] => 20
    [failed_sms] => 20
    [17] => 0
    [hangup_sms] => 0
    [18] => 15
    [no_answer_sms] => 15
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 19
    [dnd_sms] => 19
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 7
    [user_answered_sms] => 7
    [27] => 21
    [user_busy_sms] => 21
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 20
    [user_failed_sms] => 20
    [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] => 19
    [user_dnd_sms] => 19
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u179
    [created_by] => u179
    [38] => 1
    [isScheduled] => 1
    [39] => 1760676722
    [create_date] => 1760676722
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760676724,"compaign_read_start_time":1760676724,"compaign_read_complete_time":1760676724,"compaign_send_start_time":1760676782,"compaign_send_complete_time":1760676782}
    [action_time] => {"api_allot_time":1760676724,"compaign_read_start_time":1760676724,"compaign_read_complete_time":1760676724,"compaign_send_start_time":1760676782,"compaign_send_complete_time":1760676782}
    [50] => 0
    [compaign_file] => 0
    [51] => u179_66255_17102025_102203AM_926
    [common_name] => u179_66255_17102025_102203AM_926
    [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_57947
    [temp_group_table] => contacts_temp_group_57947
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [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] => 1760677021
    [last_credit_update_time] => 1760677021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 336
    [user_voice_plan_id] => 336
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.3
    [pulse_rate] => 0.3
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":"2","FFL":"2"}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":"2","FFL":"2"}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr3,u179
    [uphierarchy] => admin,sr3,u179
    [113] => 
    [extra_params_json] => 
)


Compaign : 66255
\compaign_type : Rans per 28.45867 
ans sms 82
dnd sms 19

require answer perrequire answer per : 18

user answer per : 7
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_66255 SET user_report='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_66255 SET user_report='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 : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='18', `user_busy_sms`='20', `user_congestion_sms`='0', `user_failed_sms`='2', `user_hangup_sms`='0', `user_no_answer_sms`='23', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='19' WHERE `compaign_id`=66255 LIMIT 1 


Time Diff : 2.354

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760417881'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760417941'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760418001'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760418062'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760418121'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760418182'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760418241'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760418302'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760418361'  
Array
(
    [0] => 66249
    [compaign_id] => 66249
    [1] => u141
    [user_id] => u141
    [2] => 57944,
    [group_ids] => 57944,
    [3] => 
    [sender_id] => 
    [4] => Sri Ashta Lakshmi Temple 17-10-2025.mp3
    [filename] => Sri Ashta Lakshmi Temple 17-10-2025.mp3
    [5] => 26
    [duration] => 26
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760677200
    [start_date] => 1760677200
    [9] => 0
    [end_date] => 0
    [10] => 60
    [total_sms] => 60
    [11] => 60
    [sent_sms] => 60
    [12] => 0
    [duplicate_sms] => 0
    [13] => 8
    [answered_sms] => 8
    [14] => 7
    [busy_sms] => 7
    [15] => 0
    [congestion_sms] => 0
    [16] => 38
    [failed_sms] => 38
    [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] => 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] => 7
    [user_busy_sms] => 7
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 38
    [user_failed_sms] => 38
    [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] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u141
    [created_by] => u141
    [38] => 1
    [isScheduled] => 1
    [39] => 1760676122
    [create_date] => 1760676122
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760677206,"compaign_read_start_time":1760677207,"compaign_read_complete_time":1760677208,"compaign_send_start_time":1760677262,"compaign_send_complete_time":1760677271}
    [action_time] => {"api_allot_time":1760677206,"compaign_read_start_time":1760677207,"compaign_read_complete_time":1760677208,"compaign_send_start_time":1760677262,"compaign_send_complete_time":1760677271}
    [50] => 0
    [compaign_file] => 0
    [51] => u141_66249_17102025_103006AM_660
    [common_name] => u141_66249_17102025_103006AM_660
    [52] => 1760530153_u141_voice.wav
    [voice_file] => 1760530153_u141_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_57944
    [temp_group_table] => contacts_temp_group_57944
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => 1760677502
    [last_credit_update_time] => 1760677502
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 262
    [user_voice_plan_id] => 262
    [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,sr27,sr97,u141
    [uphierarchy] => admin,sr27,sr97,u141
    [113] => 
    [extra_params_json] => 
)


Compaign : 66249
\compaign_type : Rans per 26.3076 
ans sms 60
dnd sms 0

require answer perrequire answer per : 16

user answer per : 8
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_66249 SET user_report='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_66249 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 6 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='16', `user_busy_sms`='8', `user_congestion_sms`='0', `user_failed_sms`='26', `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`=66249 LIMIT 1 


Time Diff : 4.217

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760418421'  
Array
(
    [0] => 66262
    [compaign_id] => 66262
    [1] => u179
    [user_id] => u179
    [2] => 57949,
    [group_ids] => 57949,
    [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] => 1760677200
    [start_date] => 1760677200
    [9] => 0
    [end_date] => 0
    [10] => 64
    [total_sms] => 64
    [11] => 64
    [sent_sms] => 64
    [12] => 0
    [duplicate_sms] => 0
    [13] => 5
    [answered_sms] => 5
    [14] => 10
    [busy_sms] => 10
    [15] => 0
    [congestion_sms] => 0
    [16] => 19
    [failed_sms] => 19
    [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] => 19
    [dnd_sms] => 19
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 5
    [user_answered_sms] => 5
    [27] => 10
    [user_busy_sms] => 10
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 19
    [user_failed_sms] => 19
    [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] => 19
    [user_dnd_sms] => 19
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u179
    [created_by] => u179
    [38] => 1
    [isScheduled] => 1
    [39] => 1760677322
    [create_date] => 1760677322
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760677324,"compaign_read_start_time":1760677324,"compaign_read_complete_time":1760677325,"compaign_send_start_time":1760677382,"compaign_send_complete_time":1760677382}
    [action_time] => {"api_allot_time":1760677324,"compaign_read_start_time":1760677324,"compaign_read_complete_time":1760677325,"compaign_send_start_time":1760677382,"compaign_send_complete_time":1760677382}
    [50] => 0
    [compaign_file] => 0
    [51] => u179_66262_17102025_103203AM_938
    [common_name] => u179_66262_17102025_103203AM_938
    [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_57949
    [temp_group_table] => contacts_temp_group_57949
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [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] => 1760677621
    [last_credit_update_time] => 1760677621
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 336
    [user_voice_plan_id] => 336
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.3
    [pulse_rate] => 0.3
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":"2","FFL":"2"}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":"2","FFL":"2"}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr3,u179
    [uphierarchy] => admin,sr3,u179
    [113] => 
    [extra_params_json] => 
)


Compaign : 66262
\compaign_type : Rans per 26.33544 
ans sms 64
dnd sms 19

require answer perrequire answer per : 12

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


 Blank User Record End

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


Time Diff : 3.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>'1760418481'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760418541'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760418601'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760418662'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760418721'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760418781'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760418842'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760418901'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760418962'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760419022'  
Array
(
    [0] => 66285
    [compaign_id] => 66285
    [1] => u122
    [user_id] => u122
    [2] => 57960,
    [group_ids] => 57960,
    [3] => 
    [sender_id] => 
    [4] => nikhil_infotechnikhil_01.mp3
    [filename] => nikhil_infotechnikhil_01.mp3
    [5] => 22
    [duration] => 22
    [6] => 2
    [credits_per_sms] => 2
    [7] => 15
    [user_pulse] => 15
    [8] => 1760677871
    [start_date] => 1760677871
    [9] => 0
    [end_date] => 0
    [10] => 133
    [total_sms] => 133
    [11] => 133
    [sent_sms] => 133
    [12] => 0
    [duplicate_sms] => 0
    [13] => 30
    [answered_sms] => 30
    [14] => 11
    [busy_sms] => 11
    [15] => 0
    [congestion_sms] => 0
    [16] => 9
    [failed_sms] => 9
    [17] => 0
    [hangup_sms] => 0
    [18] => 31
    [no_answer_sms] => 31
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 18
    [cutting_sms] => 18
    [22] => 34
    [dnd_sms] => 34
    [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] => 9
    [user_failed_sms] => 9
    [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] => 34
    [user_dnd_sms] => 34
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u122
    [created_by] => u122
    [38] => 0
    [isScheduled] => 0
    [39] => 1760677871
    [create_date] => 1760677871
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760677876,"compaign_read_start_time":1760677877,"compaign_read_complete_time":1760677877,"compaign_send_start_time":1760677921,"compaign_send_complete_time":1760677927}
    [action_time] => {"api_allot_time":1760677876,"compaign_read_start_time":1760677877,"compaign_read_complete_time":1760677877,"compaign_send_start_time":1760677921,"compaign_send_complete_time":1760677927}
    [50] => 0
    [compaign_file] => 0
    [51] => u122_66285_17102025_104116AM_526
    [common_name] => u122_66285_17102025_104116AM_526
    [52] => api_1760504911_u122_voice_233.wav
    [voice_file] => api_1760504911_u122_voice_233.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_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_57960
    [temp_group_table] => contacts_temp_group_57960
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760678162
    [last_credit_update_time] => 1760678162
    [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 : 66285
\compaign_type : Rans per 26.08397 
ans sms 133
dnd sms 34

require answer perrequire answer per : 26

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


Time Diff : 1.91

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760419081'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760419141'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760419201'  
Array
(
    [0] => 66290
    [compaign_id] => 66290
    [1] => u776
    [user_id] => u776
    [2] => 57962,
    [group_ids] => 57962,
    [3] => 
    [sender_id] => 
    [4] => diwali.mp3
    [filename] => diwali.mp3
    [5] => 26
    [duration] => 26
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760678035
    [start_date] => 1760678035
    [9] => 0
    [end_date] => 0
    [10] => 986
    [total_sms] => 986
    [11] => 986
    [sent_sms] => 986
    [12] => 0
    [duplicate_sms] => 0
    [13] => 109
    [answered_sms] => 109
    [14] => 64
    [busy_sms] => 64
    [15] => 0
    [congestion_sms] => 0
    [16] => 123
    [failed_sms] => 123
    [17] => 0
    [hangup_sms] => 0
    [18] => 78
    [no_answer_sms] => 78
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 360
    [cutting_sms] => 360
    [22] => 252
    [dnd_sms] => 252
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 109
    [user_answered_sms] => 109
    [27] => 64
    [user_busy_sms] => 64
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 123
    [user_failed_sms] => 123
    [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] => 252
    [user_dnd_sms] => 252
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u776
    [created_by] => u776
    [38] => 0
    [isScheduled] => 0
    [39] => 1760678035
    [create_date] => 1760678035
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760678042,"compaign_read_start_time":1760678045,"compaign_read_complete_time":1760678046,"compaign_send_start_time":1760678101,"compaign_send_complete_time":1760678105}
    [action_time] => {"api_allot_time":1760678042,"compaign_read_start_time":1760678045,"compaign_read_complete_time":1760678046,"compaign_send_start_time":1760678101,"compaign_send_complete_time":1760678105}
    [50] => 0
    [compaign_file] => 0
    [51] => u776_66290_17102025_104402AM_429
    [common_name] => u776_66290_17102025_104402AM_429
    [52] => 1760511341_u776_voice.wav
    [voice_file] => 1760511341_u776_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_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_57962
    [temp_group_table] => contacts_temp_group_57962
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => 3
    [message_type] => 3
    [68] => 10
    [extension_key] => 10
    [69] => 2
    [credit_seq] => 2
    [70] => 2
    [reschedule_max] => 2
    [71] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR,N,
    [reschedule_types] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR,N,
    [72] => 2
    [reschedule_remaining] => 2
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760678341
    [last_credit_update_time] => 1760678341
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1232
    [user_voice_plan_id] => 1232
    [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] => 10
    [dtmf_wait_time] => 10
    [102] => 0
    [ext_duration] => 0
    [103] => []
    [rt_time] => []
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"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,u776
    [uphierarchy] => admin,sr3,u776
    [113] => 
    [extra_params_json] => 
)


Compaign : 66290
\compaign_type : Rans per 25.93136 
ans sms 986
dnd sms 252

require answer perrequire answer per : 191

user answer per : 109
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_66290 SET user_report='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_66290 SET user_report='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 : 257 no_answer_count : 86 Busy count :66 congestion_count : 31 failed_count : 74UPDATE voice_compaign_detail_66290 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 86 UPDATE voice_compaign_detail_66290 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 66 UPDATE voice_compaign_detail_66290 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 31 UPDATE voice_compaign_detail_66290 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`='191', `user_busy_sms`='155', `user_congestion_sms`='31', `user_failed_sms`='168', `user_hangup_sms`='0', `user_no_answer_sms`='189', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='252' WHERE `compaign_id`=66290 LIMIT 1 


Time Diff : 0.288

Array
(
    [0] => 66274
    [compaign_id] => 66274
    [1] => u122
    [user_id] => u122
    [2] => 57953,
    [group_ids] => 57953,
    [3] => 
    [sender_id] => 
    [4] => shri@123shri01.mp3
    [filename] => shri@123shri01.mp3
    [5] => 30
    [duration] => 30
    [6] => 2
    [credits_per_sms] => 2
    [7] => 15
    [user_pulse] => 15
    [8] => 1760678100
    [start_date] => 1760678100
    [9] => 0
    [end_date] => 0
    [10] => 111
    [total_sms] => 111
    [11] => 111
    [sent_sms] => 111
    [12] => 0
    [duplicate_sms] => 0
    [13] => 18
    [answered_sms] => 18
    [14] => 32
    [busy_sms] => 32
    [15] => 0
    [congestion_sms] => 0
    [16] => 23
    [failed_sms] => 23
    [17] => 0
    [hangup_sms] => 0
    [18] => 22
    [no_answer_sms] => 22
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 7
    [cutting_sms] => 7
    [22] => 9
    [dnd_sms] => 9
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 18
    [user_answered_sms] => 18
    [27] => 32
    [user_busy_sms] => 32
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 23
    [user_failed_sms] => 23
    [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] => 9
    [user_dnd_sms] => 9
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u122
    [created_by] => u122
    [38] => 1
    [isScheduled] => 1
    [39] => 1760677567
    [create_date] => 1760677567
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760678106,"compaign_read_start_time":1760678107,"compaign_read_complete_time":1760678107,"compaign_send_start_time":1760678162,"compaign_send_complete_time":1760678163}
    [action_time] => {"api_allot_time":1760678106,"compaign_read_start_time":1760678107,"compaign_read_complete_time":1760678107,"compaign_send_start_time":1760678162,"compaign_send_complete_time":1760678163}
    [50] => 0
    [compaign_file] => 0
    [51] => u122_66274_17102025_104505AM_555
    [common_name] => u122_66274_17102025_104505AM_555
    [52] => api_1756992122_u122_voice_474.wav
    [voice_file] => api_1756992122_u122_voice_474.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_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_57953
    [temp_group_table] => contacts_temp_group_57953
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760678401
    [last_credit_update_time] => 1760678401
    [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 : 66274
\compaign_type : Rans per 26.09979 
ans sms 111
dnd sms 9

require answer perrequire answer per : 27

user answer per : 18
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_66274 SET user_report='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_66274 SET user_report='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 : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='27', `user_busy_sms`='35', `user_congestion_sms`='0', `user_failed_sms`='14', `user_hangup_sms`='0', `user_no_answer_sms`='26', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='9' WHERE `compaign_id`=66274 LIMIT 1 


Time Diff : 2.018

Array
(
    [0] => 66293
    [compaign_id] => 66293
    [1] => u122
    [user_id] => u122
    [2] => 57963,
    [group_ids] => 57963,
    [3] => 
    [sender_id] => 
    [4] => Lotuscommsmshindi_2509.mp3
    [filename] => Lotuscommsmshindi_2509.mp3
    [5] => 21
    [duration] => 21
    [6] => 2
    [credits_per_sms] => 2
    [7] => 15
    [user_pulse] => 15
    [8] => 1760678103
    [start_date] => 1760678103
    [9] => 0
    [end_date] => 0
    [10] => 77
    [total_sms] => 77
    [11] => 77
    [sent_sms] => 77
    [12] => 0
    [duplicate_sms] => 0
    [13] => 8
    [answered_sms] => 8
    [14] => 12
    [busy_sms] => 12
    [15] => 0
    [congestion_sms] => 0
    [16] => 19
    [failed_sms] => 19
    [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] => 31
    [dnd_sms] => 31
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 8
    [user_answered_sms] => 8
    [27] => 12
    [user_busy_sms] => 12
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 19
    [user_failed_sms] => 19
    [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] => 31
    [user_dnd_sms] => 31
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u122
    [created_by] => u122
    [38] => 0
    [isScheduled] => 0
    [39] => 1760678103
    [create_date] => 1760678103
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760678110,"compaign_read_start_time":1760678113,"compaign_read_complete_time":1760678113,"compaign_send_start_time":1760678162,"compaign_send_complete_time":1760678163}
    [action_time] => {"api_allot_time":1760678110,"compaign_read_start_time":1760678113,"compaign_read_complete_time":1760678113,"compaign_send_start_time":1760678162,"compaign_send_complete_time":1760678163}
    [50] => 0
    [compaign_file] => 0
    [51] => u122_66293_17102025_104509AM_205
    [common_name] => u122_66293_17102025_104509AM_205
    [52] => api_1758794925_u122_voice_174.wav
    [voice_file] => api_1758794925_u122_voice_174.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_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_57963
    [temp_group_table] => contacts_temp_group_57963
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760678401
    [last_credit_update_time] => 1760678401
    [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 : 66293
\compaign_type : Rans per 26.94837 
ans sms 77
dnd sms 31

require answer perrequire answer per : 13

user answer per : 8
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_66293 SET user_report='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_66293 SET user_report='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`='13', `user_busy_sms`='13', `user_congestion_sms`='0', `user_failed_sms`='11', `user_hangup_sms`='0', `user_no_answer_sms`='9', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='31' WHERE `compaign_id`=66293 LIMIT 1 


Time Diff : 2.896

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760419261'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760419322'  
Array
(
    [0] => 66295
    [compaign_id] => 66295
    [1] => u776
    [user_id] => u776
    [2] => 57964,
    [group_ids] => 57964,
    [3] => 
    [sender_id] => 
    [4] => jawa.mp3
    [filename] => jawa.mp3
    [5] => 43
    [duration] => 43
    [6] => 2
    [credits_per_sms] => 2
    [7] => 30
    [user_pulse] => 30
    [8] => 1760678172
    [start_date] => 1760678172
    [9] => 0
    [end_date] => 0
    [10] => 994
    [total_sms] => 994
    [11] => 994
    [sent_sms] => 994
    [12] => 0
    [duplicate_sms] => 0
    [13] => 137
    [answered_sms] => 137
    [14] => 95
    [busy_sms] => 95
    [15] => 0
    [congestion_sms] => 0
    [16] => 83
    [failed_sms] => 83
    [17] => 0
    [hangup_sms] => 0
    [18] => 90
    [no_answer_sms] => 90
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 319
    [cutting_sms] => 319
    [22] => 270
    [dnd_sms] => 270
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 137
    [user_answered_sms] => 137
    [27] => 95
    [user_busy_sms] => 95
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 83
    [user_failed_sms] => 83
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 90
    [user_no_answer_sms] => 90
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 270
    [user_dnd_sms] => 270
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u776
    [created_by] => u776
    [38] => 0
    [isScheduled] => 0
    [39] => 1760678172
    [create_date] => 1760678172
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760678178,"compaign_read_start_time":1760678179,"compaign_read_complete_time":1760678182,"compaign_send_start_time":1760678222,"compaign_send_complete_time":1760678224}
    [action_time] => {"api_allot_time":1760678178,"compaign_read_start_time":1760678179,"compaign_read_complete_time":1760678182,"compaign_send_start_time":1760678222,"compaign_send_complete_time":1760678224}
    [50] => 0
    [compaign_file] => 0
    [51] => u776_66295_17102025_104618AM_142
    [common_name] => u776_66295_17102025_104618AM_142
    [52] => 1760530401_u776_voice.wav
    [voice_file] => 1760530401_u776_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_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_57964
    [temp_group_table] => contacts_temp_group_57964
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => 3
    [message_type] => 3
    [68] => 10
    [extension_key] => 10
    [69] => 2
    [credit_seq] => 2
    [70] => 2
    [reschedule_max] => 2
    [71] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR,N,
    [reschedule_types] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR,N,
    [72] => 2
    [reschedule_remaining] => 2
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 1760678402
    [reschedule_last_check_time] => 1760678402
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760678461
    [last_credit_update_time] => 1760678461
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1232
    [user_voice_plan_id] => 1232
    [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] => 10
    [dtmf_wait_time] => 10
    [102] => 0
    [ext_duration] => 0
    [103] => []
    [rt_time] => []
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"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,u776
    [uphierarchy] => admin,sr3,u776
    [113] => 
    [extra_params_json] => 
)


Compaign : 66295
\compaign_type : Rans per 30.10089 
ans sms 994
dnd sms 270

require answer perrequire answer per : 218

user answer per : 137
below is the redis data 81 /n/r
only no answer and busy will be convert, total number require 81 /n/r
UPDATE voice_compaign_detail_66295 SET user_report='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_66295 SET user_report='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 : 211 no_answer_count : 71 Busy count :55 congestion_count : 26 failed_count : 59UPDATE voice_compaign_detail_66295 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 71 UPDATE voice_compaign_detail_66295 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 55 UPDATE voice_compaign_detail_66295 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 26 UPDATE voice_compaign_detail_66295 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`='218', `user_busy_sms`='166', `user_congestion_sms`='26', `user_failed_sms`='122', `user_hangup_sms`='0', `user_no_answer_sms`='192', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='270' WHERE `compaign_id`=66295 LIMIT 1 


Time Diff : 0.286

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760419381'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760419441'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760419501'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760419562'  
Array
(
    [0] => 66301
    [compaign_id] => 66301
    [1] => u122
    [user_id] => u122
    [2] => 57968,
    [group_ids] => 57968,
    [3] => 
    [sender_id] => 
    [4] => Alarafathtrustalaf1510.mp3
    [filename] => Alarafathtrustalaf1510.mp3
    [5] => 30
    [duration] => 30
    [6] => 2
    [credits_per_sms] => 2
    [7] => 15
    [user_pulse] => 15
    [8] => 1760678407
    [start_date] => 1760678407
    [9] => 0
    [end_date] => 0
    [10] => 296
    [total_sms] => 296
    [11] => 296
    [sent_sms] => 296
    [12] => 0
    [duplicate_sms] => 0
    [13] => 59
    [answered_sms] => 59
    [14] => 13
    [busy_sms] => 13
    [15] => 0
    [congestion_sms] => 0
    [16] => 69
    [failed_sms] => 69
    [17] => 0
    [hangup_sms] => 0
    [18] => 26
    [no_answer_sms] => 26
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 71
    [cutting_sms] => 71
    [22] => 58
    [dnd_sms] => 58
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 59
    [user_answered_sms] => 59
    [27] => 13
    [user_busy_sms] => 13
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 69
    [user_failed_sms] => 69
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 26
    [user_no_answer_sms] => 26
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 58
    [user_dnd_sms] => 58
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u122
    [created_by] => u122
    [38] => 0
    [isScheduled] => 0
    [39] => 1760678406
    [create_date] => 1760678406
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760678414,"compaign_read_start_time":1760678416,"compaign_read_complete_time":1760678418,"compaign_send_start_time":1760678462,"compaign_send_complete_time":1760678464}
    [action_time] => {"api_allot_time":1760678414,"compaign_read_start_time":1760678416,"compaign_read_complete_time":1760678418,"compaign_send_start_time":1760678462,"compaign_send_complete_time":1760678464}
    [50] => 0
    [compaign_file] => 0
    [51] => u122_66301_17102025_105013AM_605
    [common_name] => u122_66301_17102025_105013AM_605
    [52] => api_1760527651_u122_voice_942.wav
    [voice_file] => api_1760527651_u122_voice_942.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_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_57968
    [temp_group_table] => contacts_temp_group_57968
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760678701
    [last_credit_update_time] => 1760678701
    [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 : 66301
\compaign_type : Rans per 27.3832 
ans sms 296
dnd sms 58

require answer perrequire answer per : 66

user answer per : 59
below is the redis data 7 /n/r
only no answer and busy will be convert, total number require 7 /n/r
UPDATE voice_compaign_detail_66301 SET user_report='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_66301 SET user_report='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 : 64 no_answer_count : 22 Busy count :17 congestion_count : 8 failed_count : 17UPDATE voice_compaign_detail_66301 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 22 UPDATE voice_compaign_detail_66301 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 17 UPDATE voice_compaign_detail_66301 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 8 UPDATE voice_compaign_detail_66301 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`='66', `user_busy_sms`='36', `user_congestion_sms`='8', `user_failed_sms`='81', `user_hangup_sms`='0', `user_no_answer_sms`='47', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='58' WHERE `compaign_id`=66301 LIMIT 1 


Time Diff : 0.963

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760419622'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760419681'  
Array
(
    [0] => 66305
    [compaign_id] => 66305
    [1] => u776
    [user_id] => u776
    [2] => 57971,
    [group_ids] => 57971,
    [3] => 
    [sender_id] => 
    [4] => diwali.mp3
    [filename] => diwali.mp3
    [5] => 26
    [duration] => 26
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760678534
    [start_date] => 1760678534
    [9] => 0
    [end_date] => 0
    [10] => 795
    [total_sms] => 795
    [11] => 795
    [sent_sms] => 795
    [12] => 0
    [duplicate_sms] => 0
    [13] => 71
    [answered_sms] => 71
    [14] => 45
    [busy_sms] => 45
    [15] => 0
    [congestion_sms] => 0
    [16] => 106
    [failed_sms] => 106
    [17] => 0
    [hangup_sms] => 0
    [18] => 61
    [no_answer_sms] => 61
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 260
    [cutting_sms] => 260
    [22] => 252
    [dnd_sms] => 252
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 71
    [user_answered_sms] => 71
    [27] => 45
    [user_busy_sms] => 45
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 106
    [user_failed_sms] => 106
    [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] => 252
    [user_dnd_sms] => 252
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u776
    [created_by] => u776
    [38] => 0
    [isScheduled] => 0
    [39] => 1760678534
    [create_date] => 1760678534
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760678541,"compaign_read_start_time":1760678543,"compaign_read_complete_time":1760678545,"compaign_send_start_time":1760678582,"compaign_send_complete_time":1760678583}
    [action_time] => {"api_allot_time":1760678541,"compaign_read_start_time":1760678543,"compaign_read_complete_time":1760678545,"compaign_send_start_time":1760678582,"compaign_send_complete_time":1760678583}
    [50] => 0
    [compaign_file] => 0
    [51] => u776_66305_17102025_105220AM_601
    [common_name] => u776_66305_17102025_105220AM_601
    [52] => 1760511341_u776_voice.wav
    [voice_file] => 1760511341_u776_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_57971
    [temp_group_table] => contacts_temp_group_57971
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [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] => 1760678822
    [last_credit_update_time] => 1760678822
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1232
    [user_voice_plan_id] => 1232
    [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] => 10
    [dtmf_wait_time] => 10
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"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,u776
    [uphierarchy] => admin,sr3,u776
    [113] => 
    [extra_params_json] => 
)


Compaign : 66305
\compaign_type : Rans per 25.53015 
ans sms 795
dnd sms 252

require answer perrequire answer per : 139

user answer per : 71
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_66305 SET user_report='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_66305 SET user_report='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 : 191 no_answer_count : 64 Busy count :50 congestion_count : 23 failed_count : 54UPDATE voice_compaign_detail_66305 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 64 UPDATE voice_compaign_detail_66305 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 50 UPDATE voice_compaign_detail_66305 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 23 UPDATE voice_compaign_detail_66305 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 54 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='139', `user_busy_sms`='116', `user_congestion_sms`='23', `user_failed_sms`='131', `user_hangup_sms`='0', `user_no_answer_sms`='134', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='252' WHERE `compaign_id`=66305 LIMIT 1 


Time Diff : 0.357

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760419741'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760419801'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760419861'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760419922'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760419981'  
Array
(
    [0] => 66309
    [compaign_id] => 66309
    [1] => u179
    [user_id] => u179
    [2] => 57974,
    [group_ids] => 57974,
    [3] => 
    [sender_id] => 
    [4] => NEW DIWALI OFFER VOICE.mp3
    [filename] => NEW DIWALI OFFER VOICE.mp3
    [5] => 21
    [duration] => 21
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760678684
    [start_date] => 1760678684
    [9] => 0
    [end_date] => 0
    [10] => 2995
    [total_sms] => 2995
    [11] => 2995
    [sent_sms] => 2995
    [12] => 0
    [duplicate_sms] => 0
    [13] => 209
    [answered_sms] => 209
    [14] => 778
    [busy_sms] => 778
    [15] => 1
    [congestion_sms] => 1
    [16] => 98
    [failed_sms] => 98
    [17] => 0
    [hangup_sms] => 0
    [18] => 283
    [no_answer_sms] => 283
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 1176
    [cutting_sms] => 1176
    [22] => 450
    [dnd_sms] => 450
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 209
    [user_answered_sms] => 209
    [27] => 778
    [user_busy_sms] => 778
    [28] => 1
    [user_congestion_sms] => 1
    [29] => 98
    [user_failed_sms] => 98
    [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] => 450
    [user_dnd_sms] => 450
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u179
    [created_by] => u179
    [38] => 0
    [isScheduled] => 0
    [39] => 1760678682
    [create_date] => 1760678682
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760678690,"compaign_read_start_time":1760678702,"compaign_read_complete_time":1760678709,"compaign_send_start_time":1760678762,"compaign_send_complete_time":1760678769}
    [action_time] => {"api_allot_time":1760678690,"compaign_read_start_time":1760678702,"compaign_read_complete_time":1760678709,"compaign_send_start_time":1760678762,"compaign_send_complete_time":1760678769}
    [50] => 0
    [compaign_file] => 0
    [51] => u179_66309_17102025_105449AM_459
    [common_name] => u179_66309_17102025_105449AM_459
    [52] => 1759899987_u179_voice.wav
    [voice_file] => 1759899987_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_57974
    [temp_group_table] => contacts_temp_group_57974
    [61] => 0
    [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] => 3
    [credit_seq] => 3
    [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] => 1760679002
    [reschedule_last_check_time] => 1760679002
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760679181
    [last_credit_update_time] => 1760679181
    [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":1760679000,"2":1760679900,"3":1760680800}
    [rt_time] => {"1":1760679000,"2":1760679900,"3":1760680800}
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":"2","FFL":"2"}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":"2","FFL":"2"}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr3,u179
    [uphierarchy] => admin,sr3,u179
    [113] => 
    [extra_params_json] => 
)


Compaign : 66309
\compaign_type : Rans per 28.34728 
ans sms 2995
dnd sms 450

require answer perrequire answer per : 722

user answer per : 209
below is the redis data 513 /n/r
only no answer and busy will be convert, total number require 513 /n/r
UPDATE voice_compaign_detail_66309 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 396 UPDATE voice_compaign_detail_66309 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 396 Total Failed : 445 no_answer_count : 149 Busy count :115 congestion_count : 53 failed_count : 128UPDATE voice_compaign_detail_66309 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 149 UPDATE voice_compaign_detail_66309 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 115 UPDATE voice_compaign_detail_66309 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 53 UPDATE voice_compaign_detail_66309 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`='722', `user_busy_sms`='908', `user_congestion_sms`='53', `user_failed_sms`='166', `user_hangup_sms`='0', `user_no_answer_sms`='696', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='450' WHERE `compaign_id`=66309 LIMIT 1 


Time Diff : 0.135

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760420042'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760420101'  
Array
(
    [0] => 66276
    [compaign_id] => 66276
    [1] => u122
    [user_id] => u122
    [2] => 57954,
    [group_ids] => 57954,
    [3] => 
    [sender_id] => 
    [4] => shri@123shri01.mp3
    [filename] => shri@123shri01.mp3
    [5] => 30
    [duration] => 30
    [6] => 2
    [credits_per_sms] => 2
    [7] => 15
    [user_pulse] => 15
    [8] => 1760679000
    [start_date] => 1760679000
    [9] => 0
    [end_date] => 0
    [10] => 83
    [total_sms] => 83
    [11] => 83
    [sent_sms] => 83
    [12] => 0
    [duplicate_sms] => 0
    [13] => 14
    [answered_sms] => 14
    [14] => 24
    [busy_sms] => 24
    [15] => 1
    [congestion_sms] => 1
    [16] => 17
    [failed_sms] => 17
    [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] => 8
    [dnd_sms] => 8
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 24
    [user_busy_sms] => 24
    [28] => 1
    [user_congestion_sms] => 1
    [29] => 17
    [user_failed_sms] => 17
    [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] => 8
    [user_dnd_sms] => 8
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u122
    [created_by] => u122
    [38] => 1
    [isScheduled] => 1
    [39] => 1760677598
    [create_date] => 1760677598
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760679006,"compaign_read_start_time":1760679010,"compaign_read_complete_time":1760679010,"compaign_send_start_time":1760679062,"compaign_send_complete_time":1760679062}
    [action_time] => {"api_allot_time":1760679006,"compaign_read_start_time":1760679010,"compaign_read_complete_time":1760679010,"compaign_send_start_time":1760679062,"compaign_send_complete_time":1760679062}
    [50] => 0
    [compaign_file] => 0
    [51] => u122_66276_17102025_110005AM_620
    [common_name] => u122_66276_17102025_110005AM_620
    [52] => api_1756992122_u122_voice_474.wav
    [voice_file] => api_1756992122_u122_voice_474.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_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_57954
    [temp_group_table] => contacts_temp_group_57954
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760679242
    [last_credit_update_time] => 1760679242
    [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 : 66276
\compaign_type : Rans per 29.69657 
ans sms 83
dnd sms 8

require answer perrequire answer per : 23

user answer per : 14
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_66276 SET user_report='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_66276 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 7 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='23', `user_busy_sms`='27', `user_congestion_sms`='0', `user_failed_sms`='4', `user_hangup_sms`='0', `user_no_answer_sms`='21', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='8' WHERE `compaign_id`=66276 LIMIT 1 


Time Diff : 2.313

Array
(
    [0] => 66298
    [compaign_id] => 66298
    [1] => u122
    [user_id] => u122
    [2] => 57965,
    [group_ids] => 57965,
    [3] => 
    [sender_id] => 
    [4] => Lotuscommsmsenglish_2509.mp3
    [filename] => Lotuscommsmsenglish_2509.mp3
    [5] => 22
    [duration] => 22
    [6] => 2
    [credits_per_sms] => 2
    [7] => 15
    [user_pulse] => 15
    [8] => 1760679000
    [start_date] => 1760679000
    [9] => 0
    [end_date] => 0
    [10] => 85
    [total_sms] => 85
    [11] => 85
    [sent_sms] => 85
    [12] => 0
    [duplicate_sms] => 0
    [13] => 14
    [answered_sms] => 14
    [14] => 9
    [busy_sms] => 9
    [15] => 0
    [congestion_sms] => 0
    [16] => 19
    [failed_sms] => 19
    [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] => 31
    [dnd_sms] => 31
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 9
    [user_busy_sms] => 9
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 19
    [user_failed_sms] => 19
    [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] => 31
    [user_dnd_sms] => 31
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u122
    [created_by] => u122
    [38] => 1
    [isScheduled] => 1
    [39] => 1760678268
    [create_date] => 1760678268
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760679006,"compaign_read_start_time":1760679016,"compaign_read_complete_time":1760679017,"compaign_send_start_time":1760679062,"compaign_send_complete_time":1760679062}
    [action_time] => {"api_allot_time":1760679006,"compaign_read_start_time":1760679016,"compaign_read_complete_time":1760679017,"compaign_send_start_time":1760679062,"compaign_send_complete_time":1760679062}
    [50] => 0
    [compaign_file] => 0
    [51] => u122_66298_17102025_110005AM_609
    [common_name] => u122_66298_17102025_110005AM_609
    [52] => api_1758794786_u122_voice_529.wav
    [voice_file] => api_1758794786_u122_voice_529.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_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_57965
    [temp_group_table] => contacts_temp_group_57965
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760679242
    [last_credit_update_time] => 1760679242
    [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 : 66298
\compaign_type : Rans per 29.22101 
ans sms 85
dnd sms 31

require answer perrequire answer per : 16

user answer per : 14
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_66298 SET user_report='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_66298 SET user_report='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`='16', `user_busy_sms`='11', `user_congestion_sms`='0', `user_failed_sms`='15', `user_hangup_sms`='0', `user_no_answer_sms`='12', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='31' WHERE `compaign_id`=66298 LIMIT 1 


Time Diff : 2.188

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760420161'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760420222'  
Array
(
    [0] => 66315
    [compaign_id] => 66315
    [1] => u776
    [user_id] => u776
    [2] => 57979,
    [group_ids] => 57979,
    [3] => 
    [sender_id] => 
    [4] => jawa.mp3
    [filename] => jawa.mp3
    [5] => 43
    [duration] => 43
    [6] => 2
    [credits_per_sms] => 2
    [7] => 30
    [user_pulse] => 30
    [8] => 1760678825
    [start_date] => 1760678825
    [9] => 0
    [end_date] => 0
    [10] => 776
    [total_sms] => 776
    [11] => 776
    [sent_sms] => 776
    [12] => 0
    [duplicate_sms] => 0
    [13] => 58
    [answered_sms] => 58
    [14] => 58
    [busy_sms] => 58
    [15] => 2
    [congestion_sms] => 2
    [16] => 84
    [failed_sms] => 84
    [17] => 0
    [hangup_sms] => 0
    [18] => 72
    [no_answer_sms] => 72
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 232
    [cutting_sms] => 232
    [22] => 270
    [dnd_sms] => 270
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 58
    [user_answered_sms] => 58
    [27] => 58
    [user_busy_sms] => 58
    [28] => 2
    [user_congestion_sms] => 2
    [29] => 84
    [user_failed_sms] => 84
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 72
    [user_no_answer_sms] => 72
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 270
    [user_dnd_sms] => 270
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u776
    [created_by] => u776
    [38] => 0
    [isScheduled] => 0
    [39] => 1760678825
    [create_date] => 1760678825
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760678831,"compaign_read_start_time":1760678831,"compaign_read_complete_time":1760678832,"compaign_send_start_time":1760678881,"compaign_send_complete_time":1760678887}
    [action_time] => {"api_allot_time":1760678831,"compaign_read_start_time":1760678831,"compaign_read_complete_time":1760678832,"compaign_send_start_time":1760678881,"compaign_send_complete_time":1760678887}
    [50] => 0
    [compaign_file] => 0
    [51] => u776_66315_17102025_105710AM_594
    [common_name] => u776_66315_17102025_105710AM_594
    [52] => 1760530401_u776_voice.wav
    [voice_file] => 1760530401_u776_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_57979
    [temp_group_table] => contacts_temp_group_57979
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [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] => 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] => 1760679361
    [last_credit_update_time] => 1760679361
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1232
    [user_voice_plan_id] => 1232
    [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] => 10
    [dtmf_wait_time] => 10
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"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,u776
    [uphierarchy] => admin,sr3,u776
    [113] => 
    [extra_params_json] => 
)


Compaign : 66315
\compaign_type : Rans per 27.19708 
ans sms 776
dnd sms 270

require answer perrequire answer per : 138

user answer per : 58
below is the redis data 80 /n/r
only no answer and busy will be convert, total number require 80 /n/r
UPDATE voice_compaign_detail_66315 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 56 UPDATE voice_compaign_detail_66315 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 56 Total Failed : 147 no_answer_count : 50 Busy count :38 congestion_count : 18 failed_count : 41UPDATE voice_compaign_detail_66315 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 50 UPDATE voice_compaign_detail_66315 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 38 UPDATE voice_compaign_detail_66315 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 18 UPDATE voice_compaign_detail_66315 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`='138', `user_busy_sms`='122', `user_congestion_sms`='19', `user_failed_sms`='99', `user_hangup_sms`='0', `user_no_answer_sms`='128', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='270' WHERE `compaign_id`=66315 LIMIT 1 


Time Diff : 0.518

Array
(
    [0] => 66323
    [compaign_id] => 66323
    [1] => u691
    [user_id] => u691
    [2] => 57984,
    [group_ids] => 57984,
    [3] => 
    [sender_id] => 
    [4] => NEW ADM-LAST-DATE.mp3
    [filename] => NEW ADM-LAST-DATE.mp3
    [5] => 29
    [duration] => 29
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760679055
    [start_date] => 1760679055
    [9] => 0
    [end_date] => 0
    [10] => 257
    [total_sms] => 257
    [11] => 257
    [sent_sms] => 257
    [12] => 0
    [duplicate_sms] => 0
    [13] => 51
    [answered_sms] => 51
    [14] => 33
    [busy_sms] => 33
    [15] => 0
    [congestion_sms] => 0
    [16] => 17
    [failed_sms] => 17
    [17] => 0
    [hangup_sms] => 0
    [18] => 46
    [no_answer_sms] => 46
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 76
    [cutting_sms] => 76
    [22] => 34
    [dnd_sms] => 34
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 51
    [user_answered_sms] => 51
    [27] => 33
    [user_busy_sms] => 33
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 17
    [user_failed_sms] => 17
    [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] => 34
    [user_dnd_sms] => 34
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u691
    [created_by] => u691
    [38] => 0
    [isScheduled] => 0
    [39] => 1760679055
    [create_date] => 1760679055
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760679063,"compaign_read_start_time":1760679064,"compaign_read_complete_time":1760679065,"compaign_send_start_time":1760679122,"compaign_send_complete_time":1760679132}
    [action_time] => {"api_allot_time":1760679063,"compaign_read_start_time":1760679064,"compaign_read_complete_time":1760679065,"compaign_send_start_time":1760679122,"compaign_send_complete_time":1760679132}
    [50] => 0
    [compaign_file] => 0
    [51] => u691_66323_17102025_110102AM_571
    [common_name] => u691_66323_17102025_110102AM_571
    [52] => 1741000940_u691_voice.wav
    [voice_file] => 1741000940_u691_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_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_57984
    [temp_group_table] => contacts_temp_group_57984
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760679361
    [last_credit_update_time] => 1760679361
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1155
    [user_voice_plan_id] => 1155
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.22
    [pulse_rate] => 0.22
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 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,sr36,r76,u691
    [uphierarchy] => admin,sr36,r76,u691
    [113] => 
    [extra_params_json] => 
)


Compaign : 66323
\compaign_type : Rans per 29.61953 
ans sms 257
dnd sms 34

require answer perrequire answer per : 67

user answer per : 51
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_66323 SET user_report='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_66323 SET user_report='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 : 53 no_answer_count : 18 Busy count :14 congestion_count : 7 failed_count : 14UPDATE voice_compaign_detail_66323 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 18 UPDATE voice_compaign_detail_66323 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 14 UPDATE voice_compaign_detail_66323 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 7 UPDATE voice_compaign_detail_66323 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`='67', `user_busy_sms`='55', `user_congestion_sms`='7', `user_failed_sms`='28', `user_hangup_sms`='0', `user_no_answer_sms`='66', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='34' WHERE `compaign_id`=66323 LIMIT 1 


Time Diff : 1.035

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760420281'  
Array
(
    [0] => 66303
    [compaign_id] => 66303
    [1] => u20123
    [user_id] => u20123
    [2] => 57970,
    [group_ids] => 57970,
    [3] => 
    [sender_id] => 
    [4] => PERSONAL LOAN HINDI.mp3
    [filename] => PERSONAL LOAN HINDI.mp3
    [5] => 21
    [duration] => 21
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760678474
    [start_date] => 1760678474
    [9] => 0
    [end_date] => 0
    [10] => 49140
    [total_sms] => 49140
    [11] => 49140
    [sent_sms] => 49140
    [12] => 0
    [duplicate_sms] => 0
    [13] => 1963
    [answered_sms] => 1963
    [14] => 2310
    [busy_sms] => 2310
    [15] => 34
    [congestion_sms] => 34
    [16] => 5950
    [failed_sms] => 5950
    [17] => 0
    [hangup_sms] => 0
    [18] => 2106
    [no_answer_sms] => 2106
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 36777
    [cutting_sms] => 36777
    [22] => 0
    [dnd_sms] => 0
    [23] => 2
    [blocked_sms] => 2
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 1963
    [user_answered_sms] => 1963
    [27] => 2310
    [user_busy_sms] => 2310
    [28] => 34
    [user_congestion_sms] => 34
    [29] => 5950
    [user_failed_sms] => 5950
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2106
    [user_no_answer_sms] => 2106
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u20123
    [created_by] => u20123
    [38] => 0
    [isScheduled] => 0
    [39] => 1760678447
    [create_date] => 1760678447
    [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":1760678480,"compaign_read_start_time":1760678482,"compaign_read_complete_time":1760678559,"compaign_send_start_time":1760678582,"compaign_send_complete_time":1760678727}
    [action_time] => {"api_allot_time":1760678480,"compaign_read_start_time":1760678482,"compaign_read_complete_time":1760678559,"compaign_send_start_time":1760678582,"compaign_send_complete_time":1760678727}
    [50] => 0
    [compaign_file] => 0
    [51] => u20123_66303_17102025_105119AM_985
    [common_name] => u20123_66303_17102025_105119AM_985
    [52] => 1760505626_u20123_voice_upload.wav
    [voice_file] => 1760505626_u20123_voice_upload.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_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_57970
    [temp_group_table] => contacts_temp_group_57970
    [61] => 0
    [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] => 5
    [credit_seq] => 5
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760679481
    [last_credit_update_time] => 1760679481
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1671
    [user_voice_plan_id] => 1671
    [85] => 11
    [voice_plan_id] => 11
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.0009
    [pulse_rate] => 0.0009
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 7
    [dtmf_wait_time] => 7
    [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,u20123
    [uphierarchy] => admin,u20123
    [113] => 
    [extra_params_json] => 
)


Compaign : 66303
\compaign_type : Rans per 29.0966 
ans sms 49140
dnd sms 0

require answer perrequire answer per : 14299

user answer per : 1963
below is the redis data 12336 UPDATE voice_compaign_detail_66303 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 12336 Total Failed : 24456 no_answer_count : 8154 Busy count :6276 congestion_count : 2903 failed_count : 7123UPDATE voice_compaign_detail_66303 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 8154 UPDATE voice_compaign_detail_66303 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 6276 UPDATE voice_compaign_detail_66303 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 2903 UPDATE voice_compaign_detail_66303 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 7123 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='14299', `user_busy_sms`='8586', `user_congestion_sms`='2922', `user_failed_sms`='13073', `user_hangup_sms`='0', `user_no_answer_sms`='10260', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66303 LIMIT 1 


Time Diff : 0.018

Array
(
    [0] => 66324
    [compaign_id] => 66324
    [1] => u776
    [user_id] => u776
    [2] => 57985,
    [group_ids] => 57985,
    [3] => 
    [sender_id] => 
    [4] => diwali.mp3
    [filename] => diwali.mp3
    [5] => 26
    [duration] => 26
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760679133
    [start_date] => 1760679133
    [9] => 0
    [end_date] => 0
    [10] => 656
    [total_sms] => 656
    [11] => 656
    [sent_sms] => 656
    [12] => 0
    [duplicate_sms] => 0
    [13] => 46
    [answered_sms] => 46
    [14] => 21
    [busy_sms] => 21
    [15] => 0
    [congestion_sms] => 0
    [16] => 113
    [failed_sms] => 113
    [17] => 0
    [hangup_sms] => 0
    [18] => 41
    [no_answer_sms] => 41
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 183
    [cutting_sms] => 183
    [22] => 252
    [dnd_sms] => 252
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 46
    [user_answered_sms] => 46
    [27] => 21
    [user_busy_sms] => 21
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 113
    [user_failed_sms] => 113
    [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] => 252
    [user_dnd_sms] => 252
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u776
    [created_by] => u776
    [38] => 0
    [isScheduled] => 0
    [39] => 1760679133
    [create_date] => 1760679133
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760679138,"compaign_read_start_time":1760679140,"compaign_read_complete_time":1760679141,"compaign_send_start_time":1760679181,"compaign_send_complete_time":1760679183}
    [action_time] => {"api_allot_time":1760679138,"compaign_read_start_time":1760679140,"compaign_read_complete_time":1760679141,"compaign_send_start_time":1760679181,"compaign_send_complete_time":1760679183}
    [50] => 0
    [compaign_file] => 0
    [51] => u776_66324_17102025_110218AM_218
    [common_name] => u776_66324_17102025_110218AM_218
    [52] => 1760511341_u776_voice.wav
    [voice_file] => 1760511341_u776_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_57985
    [temp_group_table] => contacts_temp_group_57985
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [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] => 1760679422
    [last_credit_update_time] => 1760679422
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1232
    [user_voice_plan_id] => 1232
    [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] => 10
    [dtmf_wait_time] => 10
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"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,u776
    [uphierarchy] => admin,sr3,u776
    [113] => 
    [extra_params_json] => 
)


Compaign : 66324
\compaign_type : Rans per 26.73622 
ans sms 656
dnd sms 252

require answer perrequire answer per : 109

user answer per : 46
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_66324 SET user_report='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_66324 SET user_report='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 : 119 no_answer_count : 40 Busy count :31 congestion_count : 15 failed_count : 33UPDATE voice_compaign_detail_66324 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 40 UPDATE voice_compaign_detail_66324 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 31 UPDATE voice_compaign_detail_66324 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 15 UPDATE voice_compaign_detail_66324 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`='108', `user_busy_sms`='80', `user_congestion_sms`='15', `user_failed_sms`='112', `user_hangup_sms`='0', `user_no_answer_sms`='89', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='252' WHERE `compaign_id`=66324 LIMIT 1 


Time Diff : 0.503

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760420341'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760420402'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760420461'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760420521'  
Array
(
    [0] => 66307
    [compaign_id] => 66307
    [1] => u20123
    [user_id] => u20123
    [2] => 57972,
    [group_ids] => 57972,
    [3] => 
    [sender_id] => 
    [4] => PERSONAL LOAN HINDI.mp3
    [filename] => PERSONAL LOAN HINDI.mp3
    [5] => 21
    [duration] => 21
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760678616
    [start_date] => 1760678616
    [9] => 0
    [end_date] => 0
    [10] => 27927
    [total_sms] => 27927
    [11] => 27927
    [sent_sms] => 27927
    [12] => 0
    [duplicate_sms] => 0
    [13] => 907
    [answered_sms] => 907
    [14] => 981
    [busy_sms] => 981
    [15] => 15
    [congestion_sms] => 15
    [16] => 3737
    [failed_sms] => 3737
    [17] => 0
    [hangup_sms] => 0
    [18] => 1137
    [no_answer_sms] => 1137
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 21150
    [cutting_sms] => 21150
    [22] => 0
    [dnd_sms] => 0
    [23] => 1
    [blocked_sms] => 1
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 907
    [user_answered_sms] => 907
    [27] => 981
    [user_busy_sms] => 981
    [28] => 15
    [user_congestion_sms] => 15
    [29] => 3737
    [user_failed_sms] => 3737
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 1137
    [user_no_answer_sms] => 1137
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u20123
    [created_by] => u20123
    [38] => 0
    [isScheduled] => 0
    [39] => 1760678601
    [create_date] => 1760678601
    [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":1760678622,"compaign_read_start_time":1760678623,"compaign_read_complete_time":1760678678,"compaign_send_start_time":1760678702,"compaign_send_complete_time":1760678772}
    [action_time] => {"api_allot_time":1760678622,"compaign_read_start_time":1760678623,"compaign_read_complete_time":1760678678,"compaign_send_start_time":1760678702,"compaign_send_complete_time":1760678772}
    [50] => 0
    [compaign_file] => 0
    [51] => u20123_66307_17102025_105342AM_864
    [common_name] => u20123_66307_17102025_105342AM_864
    [52] => 1760505626_u20123_voice_upload.wav
    [voice_file] => 1760505626_u20123_voice_upload.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_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_57972
    [temp_group_table] => contacts_temp_group_57972
    [61] => 0
    [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] => 5
    [credit_seq] => 5
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760679661
    [last_credit_update_time] => 1760679661
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1671
    [user_voice_plan_id] => 1671
    [85] => 11
    [voice_plan_id] => 11
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.0009
    [pulse_rate] => 0.0009
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 7
    [dtmf_wait_time] => 7
    [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,u20123
    [uphierarchy] => admin,u20123
    [113] => 
    [extra_params_json] => 
)


Compaign : 66307
\compaign_type : Rans per 27.57011 
ans sms 27927
dnd sms 0

require answer perrequire answer per : 7700

user answer per : 907
below is the redis data 6793 UPDATE voice_compaign_detail_66307 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 6793 Total Failed : 14362 no_answer_count : 4789 Busy count :3686 congestion_count : 1705 failed_count : 4182UPDATE voice_compaign_detail_66307 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 4789 UPDATE voice_compaign_detail_66307 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 3686 UPDATE voice_compaign_detail_66307 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 1705 UPDATE voice_compaign_detail_66307 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 4182 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='7700', `user_busy_sms`='4667', `user_congestion_sms`='1715', `user_failed_sms`='7919', `user_hangup_sms`='0', `user_no_answer_sms`='5926', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66307 LIMIT 1 


Time Diff : 0.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>'1760420581'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760420641'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760420702'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760420761'  
Array
(
    [0] => 66314
    [compaign_id] => 66314
    [1] => u230
    [user_id] => u230
    [2] => 57978,
    [group_ids] => 57978,
    [3] => 
    [sender_id] => 
    [4] => BASUDEV_NIMAPADA_DHANTERASA2025NEW.mp3
    [filename] => BASUDEV_NIMAPADA_DHANTERASA2025NEW.mp3
    [5] => 28
    [duration] => 28
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760678787
    [start_date] => 1760678787
    [9] => 0
    [end_date] => 0
    [10] => 2882
    [total_sms] => 2882
    [11] => 2882
    [sent_sms] => 2882
    [12] => 0
    [duplicate_sms] => 0
    [13] => 370
    [answered_sms] => 370
    [14] => 190
    [busy_sms] => 190
    [15] => 8
    [congestion_sms] => 8
    [16] => 403
    [failed_sms] => 403
    [17] => 0
    [hangup_sms] => 0
    [18] => 546
    [no_answer_sms] => 546
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 1365
    [cutting_sms] => 1365
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 370
    [user_answered_sms] => 370
    [27] => 190
    [user_busy_sms] => 190
    [28] => 8
    [user_congestion_sms] => 8
    [29] => 403
    [user_failed_sms] => 403
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 546
    [user_no_answer_sms] => 546
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u230
    [created_by] => u230
    [38] => 0
    [isScheduled] => 0
    [39] => 1760678786
    [create_date] => 1760678786
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760678793,"compaign_read_start_time":1760678794,"compaign_read_complete_time":1760678799,"compaign_send_start_time":1760678822,"compaign_send_complete_time":1760678829}
    [action_time] => {"api_allot_time":1760678793,"compaign_read_start_time":1760678794,"compaign_read_complete_time":1760678799,"compaign_send_start_time":1760678822,"compaign_send_complete_time":1760678829}
    [50] => 0
    [compaign_file] => 0
    [51] => u230_66314_17102025_105632AM_568
    [common_name] => u230_66314_17102025_105632AM_568
    [52] => 1760595930_u230_voice.wav
    [voice_file] => 1760595930_u230_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_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_57978
    [temp_group_table] => contacts_temp_group_57978
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 6
    [credit_seq] => 6
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760679902
    [last_credit_update_time] => 1760679902
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 422
    [user_voice_plan_id] => 422
    [85] => 11
    [voice_plan_id] => 11
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.32
    [pulse_rate] => 0.32
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [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,sr87,u230
    [uphierarchy] => admin,sr27,sr87,u230
    [113] => 
    [extra_params_json] => 
)


Compaign : 66314
\compaign_type : Rans per 26.60265 
ans sms 2882
dnd sms 0

require answer perrequire answer per : 767

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='767', `user_busy_sms`='614', `user_congestion_sms`='113', `user_failed_sms`='541', `user_hangup_sms`='0', `user_no_answer_sms`='847', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66314 LIMIT 1 


Time Diff : 0.126

Array
(
    [0] => 66327
    [compaign_id] => 66327
    [1] => u179
    [user_id] => u179
    [2] => 57987,
    [group_ids] => 57987,
    [3] => 
    [sender_id] => 
    [4] => NEW DIWALI OFFER VOICE.mp3
    [filename] => NEW DIWALI OFFER VOICE.mp3
    [5] => 21
    [duration] => 21
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760679000
    [start_date] => 1760679000
    [9] => 0
    [end_date] => 0
    [10] => 2273
    [total_sms] => 2273
    [11] => 2273
    [sent_sms] => 2273
    [12] => 0
    [duplicate_sms] => 0
    [13] => 107
    [answered_sms] => 107
    [14] => 562
    [busy_sms] => 562
    [15] => 0
    [congestion_sms] => 0
    [16] => 84
    [failed_sms] => 84
    [17] => 0
    [hangup_sms] => 0
    [18] => 162
    [no_answer_sms] => 162
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 908
    [cutting_sms] => 908
    [22] => 450
    [dnd_sms] => 450
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 107
    [user_answered_sms] => 107
    [27] => 562
    [user_busy_sms] => 562
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 84
    [user_failed_sms] => 84
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 162
    [user_no_answer_sms] => 162
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 450
    [user_dnd_sms] => 450
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u179
    [created_by] => u179
    [38] => 1
    [isScheduled] => 1
    [39] => 1760679431
    [create_date] => 1760679431
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760679433,"compaign_read_start_time":1760679434,"compaign_read_complete_time":1760679438,"compaign_send_start_time":1760679481,"compaign_send_complete_time":1760679498}
    [action_time] => {"api_allot_time":1760679433,"compaign_read_start_time":1760679434,"compaign_read_complete_time":1760679438,"compaign_send_start_time":1760679481,"compaign_send_complete_time":1760679498}
    [50] => 0
    [compaign_file] => 0
    [51] => u179_66327_17102025_110712AM_104
    [common_name] => u179_66327_17102025_110712AM_104
    [52] => 1759899987_u179_voice.wav
    [voice_file] => 1759899987_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_57987
    [temp_group_table] => contacts_temp_group_57987
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [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] => 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] => 1760679902
    [last_credit_update_time] => 1760679902
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 336
    [user_voice_plan_id] => 336
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.3
    [pulse_rate] => 0.3
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":"2","FFL":"2"}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":"2","FFL":"2"}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr3,u179
    [uphierarchy] => admin,sr3,u179
    [113] => 
    [extra_params_json] => 
)


Compaign : 66327
\compaign_type : Rans per 29.88272 
ans sms 2273
dnd sms 450

require answer perrequire answer per : 545

user answer per : 107
below is the redis data 438 /n/r
only no answer and busy will be convert, total number require 438 /n/r
UPDATE voice_compaign_detail_66327 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 307 UPDATE voice_compaign_detail_66327 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 307 Total Failed : 347 no_answer_count : 116 Busy count :90 congestion_count : 42 failed_count : 99UPDATE voice_compaign_detail_66327 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 116 UPDATE voice_compaign_detail_66327 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 90 UPDATE voice_compaign_detail_66327 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 42 UPDATE voice_compaign_detail_66327 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`='545', `user_busy_sms`='621', `user_congestion_sms`='42', `user_failed_sms`='130', `user_hangup_sms`='0', `user_no_answer_sms`='485', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='450' WHERE `compaign_id`=66327 LIMIT 1 


Time Diff : 0.154

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760420821'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760420882'  
Array
(
    [0] => 66326
    [compaign_id] => 66326
    [1] => u179
    [user_id] => u179
    [2] => 57986,
    [group_ids] => 57986,
    [3] => 
    [sender_id] => 
    [4] => NEW DIWALI OFFER VOICE.mp3
    [filename] => NEW DIWALI OFFER VOICE.mp3
    [5] => 21
    [duration] => 21
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760679336
    [start_date] => 1760679336
    [9] => 0
    [end_date] => 0
    [10] => 2995
    [total_sms] => 2995
    [11] => 2995
    [sent_sms] => 2995
    [12] => 0
    [duplicate_sms] => 0
    [13] => 201
    [answered_sms] => 201
    [14] => 748
    [busy_sms] => 748
    [15] => 0
    [congestion_sms] => 0
    [16] => 72
    [failed_sms] => 72
    [17] => 0
    [hangup_sms] => 0
    [18] => 295
    [no_answer_sms] => 295
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 1229
    [cutting_sms] => 1229
    [22] => 450
    [dnd_sms] => 450
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 201
    [user_answered_sms] => 201
    [27] => 748
    [user_busy_sms] => 748
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 72
    [user_failed_sms] => 72
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 295
    [user_no_answer_sms] => 295
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 450
    [user_dnd_sms] => 450
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u179
    [created_by] => u179
    [38] => 0
    [isScheduled] => 0
    [39] => 1760679334
    [create_date] => 1760679334
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760679342,"compaign_read_start_time":1760679343,"compaign_read_complete_time":1760679351,"compaign_send_start_time":1760679362,"compaign_send_complete_time":1760679368}
    [action_time] => {"api_allot_time":1760679342,"compaign_read_start_time":1760679343,"compaign_read_complete_time":1760679351,"compaign_send_start_time":1760679362,"compaign_send_complete_time":1760679368}
    [50] => 0
    [compaign_file] => 0
    [51] => u179_66326_17102025_110541AM_589
    [common_name] => u179_66326_17102025_110541AM_589
    [52] => 1759899987_u179_voice.wav
    [voice_file] => 1759899987_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_57986
    [temp_group_table] => contacts_temp_group_57986
    [61] => 0
    [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] => 4
    [credit_seq] => 4
    [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] => 1760679902
    [reschedule_last_check_time] => 1760679902
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760680082
    [last_credit_update_time] => 1760680082
    [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":1760686200,"2":1760687100,"3":1760688000}
    [rt_time] => {"1":1760686200,"2":1760687100,"3":1760688000}
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":"2","FFL":"2"}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":"2","FFL":"2"}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr3,u179
    [uphierarchy] => admin,sr3,u179
    [113] => 
    [extra_params_json] => 
)


Compaign : 66326
\compaign_type : Rans per 27.27617 
ans sms 2995
dnd sms 450

require answer perrequire answer per : 695

user answer per : 201
below is the redis data 494 /n/r
only no answer and busy will be convert, total number require 494 /n/r
UPDATE voice_compaign_detail_66326 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 396 UPDATE voice_compaign_detail_66326 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 396 Total Failed : 480 no_answer_count : 161 Busy count :124 congestion_count : 57 failed_count : 138UPDATE voice_compaign_detail_66326 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 161 UPDATE voice_compaign_detail_66326 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 124 UPDATE voice_compaign_detail_66326 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 57 UPDATE voice_compaign_detail_66326 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`='695', `user_busy_sms`='917', `user_congestion_sms`='57', `user_failed_sms`='167', `user_hangup_sms`='0', `user_no_answer_sms`='709', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='450' WHERE `compaign_id`=66326 LIMIT 1 


Time Diff : 0.235

Array
(
    [0] => 66329
    [compaign_id] => 66329
    [1] => u349
    [user_id] => u349
    [2] => 57989,
    [group_ids] => 57989,
    [3] => 
    [sender_id] => 
    [4] => english and telugu 1st and 2nd installment balance recored.mp3
    [filename] => english and telugu 1st and 2nd installment balance recored.mp3
    [5] => 47
    [duration] => 47
    [6] => 2
    [credits_per_sms] => 2
    [7] => 30
    [user_pulse] => 30
    [8] => 1760679486
    [start_date] => 1760679486
    [9] => 0
    [end_date] => 0
    [10] => 74
    [total_sms] => 74
    [11] => 74
    [sent_sms] => 74
    [12] => 0
    [duplicate_sms] => 0
    [13] => 22
    [answered_sms] => 22
    [14] => 17
    [busy_sms] => 17
    [15] => 0
    [congestion_sms] => 0
    [16] => 6
    [failed_sms] => 6
    [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] => 10
    [dnd_sms] => 10
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 22
    [user_answered_sms] => 22
    [27] => 17
    [user_busy_sms] => 17
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 6
    [user_failed_sms] => 6
    [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] => 10
    [user_dnd_sms] => 10
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u349
    [created_by] => u349
    [38] => 0
    [isScheduled] => 0
    [39] => 1760679486
    [create_date] => 1760679486
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760679492,"compaign_read_start_time":1760679493,"compaign_read_complete_time":1760679494,"compaign_send_start_time":1760679542,"compaign_send_complete_time":1760679542}
    [action_time] => {"api_allot_time":1760679492,"compaign_read_start_time":1760679493,"compaign_read_complete_time":1760679494,"compaign_send_start_time":1760679542,"compaign_send_complete_time":1760679542}
    [50] => 0
    [compaign_file] => 0
    [51] => u349_66329_17102025_110811AM_792
    [common_name] => u349_66329_17102025_110811AM_792
    [52] => 1731729965_u349_voice.wav
    [voice_file] => 1731729965_u349_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_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_57989
    [temp_group_table] => contacts_temp_group_57989
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => 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] => 1760679902
    [reschedule_last_check_time] => 1760679902
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760680021
    [last_credit_update_time] => 1760680021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 810
    [user_voice_plan_id] => 810
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.33
    [pulse_rate] => 0.33
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => []
    [rt_time] => []
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr33,sr101,sr124,sr136,u349
    [uphierarchy] => admin,sr33,sr101,sr124,sr136,u349
    [113] => 
    [extra_params_json] => 
)


Compaign : 66329
\compaign_type : Rans per 25.92388 
ans sms 74
dnd sms 10

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`='17', `user_congestion_sms`='0', `user_failed_sms`='6', `user_hangup_sms`='0', `user_no_answer_sms`='19', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='10' WHERE `compaign_id`=66329 LIMIT 1 


Time Diff : 4.243

Array
(
    [0] => 66333
    [compaign_id] => 66333
    [1] => u776
    [user_id] => u776
    [2] => 57992,
    [group_ids] => 57992,
    [3] => 
    [sender_id] => 
    [4] => jawa.mp3
    [filename] => jawa.mp3
    [5] => 43
    [duration] => 43
    [6] => 2
    [credits_per_sms] => 2
    [7] => 30
    [user_pulse] => 30
    [8] => 1760679733
    [start_date] => 1760679733
    [9] => 0
    [end_date] => 0
    [10] => 638
    [total_sms] => 638
    [11] => 638
    [sent_sms] => 638
    [12] => 0
    [duplicate_sms] => 0
    [13] => 42
    [answered_sms] => 42
    [14] => 39
    [busy_sms] => 39
    [15] => 0
    [congestion_sms] => 0
    [16] => 96
    [failed_sms] => 96
    [17] => 0
    [hangup_sms] => 0
    [18] => 36
    [no_answer_sms] => 36
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 155
    [cutting_sms] => 155
    [22] => 270
    [dnd_sms] => 270
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 42
    [user_answered_sms] => 42
    [27] => 39
    [user_busy_sms] => 39
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 96
    [user_failed_sms] => 96
    [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] => 270
    [user_dnd_sms] => 270
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u776
    [created_by] => u776
    [38] => 0
    [isScheduled] => 0
    [39] => 1760679733
    [create_date] => 1760679733
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760679740,"compaign_read_start_time":1760679742,"compaign_read_complete_time":1760679743,"compaign_send_start_time":1760679782,"compaign_send_complete_time":1760679783}
    [action_time] => {"api_allot_time":1760679740,"compaign_read_start_time":1760679742,"compaign_read_complete_time":1760679743,"compaign_send_start_time":1760679782,"compaign_send_complete_time":1760679783}
    [50] => 0
    [compaign_file] => 0
    [51] => u776_66333_17102025_111219AM_309
    [common_name] => u776_66333_17102025_111219AM_309
    [52] => 1760530401_u776_voice.wav
    [voice_file] => 1760530401_u776_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_57992
    [temp_group_table] => contacts_temp_group_57992
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [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] => 1760680021
    [last_credit_update_time] => 1760680021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1232
    [user_voice_plan_id] => 1232
    [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] => 10
    [dtmf_wait_time] => 10
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"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,u776
    [uphierarchy] => admin,sr3,u776
    [113] => 
    [extra_params_json] => 
)


Compaign : 66333
\compaign_type : Rans per 25.0539 
ans sms 638
dnd sms 270

require answer perrequire answer per : 93

user answer per : 42
below is the redis data 51 /n/r
only no answer and busy will be convert, total number require 51 /n/r
UPDATE voice_compaign_detail_66333 SET user_report='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_66333 SET user_report='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 : 109 no_answer_count : 37 Busy count :28 congestion_count : 13 failed_count : 31UPDATE voice_compaign_detail_66333 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 37 UPDATE voice_compaign_detail_66333 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 28 UPDATE voice_compaign_detail_66333 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 13 UPDATE voice_compaign_detail_66333 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`='93', `user_busy_sms`='79', `user_congestion_sms`='13', `user_failed_sms`='97', `user_hangup_sms`='0', `user_no_answer_sms`='86', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='270' WHERE `compaign_id`=66333 LIMIT 1 


Time Diff : 0.444

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760420941'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760421001'  
Array
(
    [0] => 66279
    [compaign_id] => 66279
    [1] => u122
    [user_id] => u122
    [2] => 57956,
    [group_ids] => 57956,
    [3] => 
    [sender_id] => 
    [4] => shri@123shri02.mp3
    [filename] => shri@123shri02.mp3
    [5] => 31
    [duration] => 31
    [6] => 3
    [credits_per_sms] => 3
    [7] => 15
    [user_pulse] => 15
    [8] => 1760679900
    [start_date] => 1760679900
    [9] => 0
    [end_date] => 0
    [10] => 78
    [total_sms] => 78
    [11] => 78
    [sent_sms] => 78
    [12] => 0
    [duplicate_sms] => 0
    [13] => 14
    [answered_sms] => 14
    [14] => 21
    [busy_sms] => 21
    [15] => 0
    [congestion_sms] => 0
    [16] => 14
    [failed_sms] => 14
    [17] => 0
    [hangup_sms] => 0
    [18] => 20
    [no_answer_sms] => 20
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 9
    [dnd_sms] => 9
    [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] => 14
    [user_failed_sms] => 14
    [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] => 9
    [user_dnd_sms] => 9
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u122
    [created_by] => u122
    [38] => 1
    [isScheduled] => 1
    [39] => 1760677661
    [create_date] => 1760677661
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760679906,"compaign_read_start_time":1760679908,"compaign_read_complete_time":1760679908,"compaign_send_start_time":1760679961,"compaign_send_complete_time":1760679967}
    [action_time] => {"api_allot_time":1760679906,"compaign_read_start_time":1760679908,"compaign_read_complete_time":1760679908,"compaign_send_start_time":1760679961,"compaign_send_complete_time":1760679967}
    [50] => 0
    [compaign_file] => 0
    [51] => u122_66279_17102025_111506AM_860
    [common_name] => u122_66279_17102025_111506AM_860
    [52] => api_1756992183_u122_voice_523.wav
    [voice_file] => api_1756992183_u122_voice_523.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_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_57956
    [temp_group_table] => contacts_temp_group_57956
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760680201
    [last_credit_update_time] => 1760680201
    [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 : 66279
\compaign_type : Rans per 30.14227 
ans sms 78
dnd sms 9

require answer perrequire answer per : 21

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='21', `user_busy_sms`='24', `user_congestion_sms`='0', `user_failed_sms`='2', `user_hangup_sms`='0', `user_no_answer_sms`='22', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='9' WHERE `compaign_id`=66279 LIMIT 1 


Time Diff : 2.833

Array
(
    [0] => 66299
    [compaign_id] => 66299
    [1] => u122
    [user_id] => u122
    [2] => 57966,
    [group_ids] => 57966,
    [3] => 
    [sender_id] => 
    [4] => Lotuscommsmsenglish_2509.mp3
    [filename] => Lotuscommsmsenglish_2509.mp3
    [5] => 22
    [duration] => 22
    [6] => 2
    [credits_per_sms] => 2
    [7] => 15
    [user_pulse] => 15
    [8] => 1760679900
    [start_date] => 1760679900
    [9] => 0
    [end_date] => 0
    [10] => 93
    [total_sms] => 93
    [11] => 93
    [sent_sms] => 93
    [12] => 0
    [duplicate_sms] => 0
    [13] => 12
    [answered_sms] => 12
    [14] => 12
    [busy_sms] => 12
    [15] => 0
    [congestion_sms] => 0
    [16] => 17
    [failed_sms] => 17
    [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] => 45
    [dnd_sms] => 45
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 12
    [user_answered_sms] => 12
    [27] => 12
    [user_busy_sms] => 12
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 17
    [user_failed_sms] => 17
    [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] => 45
    [user_dnd_sms] => 45
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u122
    [created_by] => u122
    [38] => 1
    [isScheduled] => 1
    [39] => 1760678302
    [create_date] => 1760678302
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760679906,"compaign_read_start_time":1760679911,"compaign_read_complete_time":1760679911,"compaign_send_start_time":1760679961,"compaign_send_complete_time":1760679967}
    [action_time] => {"api_allot_time":1760679906,"compaign_read_start_time":1760679911,"compaign_read_complete_time":1760679911,"compaign_send_start_time":1760679961,"compaign_send_complete_time":1760679967}
    [50] => 0
    [compaign_file] => 0
    [51] => u122_66299_17102025_111506AM_809
    [common_name] => u122_66299_17102025_111506AM_809
    [52] => api_1758794786_u122_voice_529.wav
    [voice_file] => api_1758794786_u122_voice_529.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_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_57966
    [temp_group_table] => contacts_temp_group_57966
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760680201
    [last_credit_update_time] => 1760680201
    [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 : 66299
\compaign_type : Rans per 28.80516 
ans sms 93
dnd sms 45

require answer perrequire answer per : 14

user answer per : 12
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_66299 SET user_report='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_66299 SET user_report='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`='14', `user_busy_sms`='12', `user_congestion_sms`='0', `user_failed_sms`='13', `user_hangup_sms`='0', `user_no_answer_sms`='9', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='45' WHERE `compaign_id`=66299 LIMIT 1 


Time Diff : 2.409

Array
(
    [0] => 66302
    [compaign_id] => 66302
    [1] => u122
    [user_id] => u122
    [2] => 57969,
    [group_ids] => 57969,
    [3] => 
    [sender_id] => 
    [4] => Alarafathtrustalaf1510.mp3
    [filename] => Alarafathtrustalaf1510.mp3
    [5] => 30
    [duration] => 30
    [6] => 2
    [credits_per_sms] => 2
    [7] => 15
    [user_pulse] => 15
    [8] => 1760679900
    [start_date] => 1760679900
    [9] => 0
    [end_date] => 0
    [10] => 66
    [total_sms] => 66
    [11] => 66
    [sent_sms] => 66
    [12] => 0
    [duplicate_sms] => 0
    [13] => 15
    [answered_sms] => 15
    [14] => 5
    [busy_sms] => 5
    [15] => 0
    [congestion_sms] => 0
    [16] => 17
    [failed_sms] => 17
    [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] => 17
    [dnd_sms] => 17
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 15
    [user_answered_sms] => 15
    [27] => 5
    [user_busy_sms] => 5
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 17
    [user_failed_sms] => 17
    [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] => 17
    [user_dnd_sms] => 17
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u122
    [created_by] => u122
    [38] => 1
    [isScheduled] => 1
    [39] => 1760678429
    [create_date] => 1760678429
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760679906,"compaign_read_start_time":1760679914,"compaign_read_complete_time":1760679914,"compaign_send_start_time":1760679961,"compaign_send_complete_time":1760679967}
    [action_time] => {"api_allot_time":1760679906,"compaign_read_start_time":1760679914,"compaign_read_complete_time":1760679914,"compaign_send_start_time":1760679961,"compaign_send_complete_time":1760679967}
    [50] => 0
    [compaign_file] => 0
    [51] => u122_66302_17102025_111506AM_823
    [common_name] => u122_66302_17102025_111506AM_823
    [52] => api_1760527651_u122_voice_942.wav
    [voice_file] => api_1760527651_u122_voice_942.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_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_57969
    [temp_group_table] => contacts_temp_group_57969
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760680201
    [last_credit_update_time] => 1760680201
    [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 : 66302
\compaign_type : Rans per 25.44206 
ans sms 66
dnd sms 17

require answer perrequire answer per : 13

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


Time Diff : 3.394

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


Compaign : 66345
\compaign_type : Rans per 30.75388 
ans sms 52
dnd sms 10

require answer perrequire answer per : 13

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='13', `user_busy_sms`='10', `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`='10' WHERE `compaign_id`=66345 LIMIT 1 


Time Diff : 3.635

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760421541'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760421602'  
Array
(
    [0] => 66339
    [compaign_id] => 66339
    [1] => sr35
    [user_id] => sr35
    [2] => 57995,
    [group_ids] => 57995,
    [3] => 
    [sender_id] => 
    [4] => BUSINESS MAN CAMP...mp3
    [filename] => BUSINESS MAN CAMP...mp3
    [5] => 22
    [duration] => 22
    [6] => 2
    [credits_per_sms] => 2
    [7] => 15
    [user_pulse] => 15
    [8] => 1760680011
    [start_date] => 1760680011
    [9] => 0
    [end_date] => 0
    [10] => 3799
    [total_sms] => 3799
    [11] => 3799
    [sent_sms] => 3799
    [12] => 0
    [duplicate_sms] => 0
    [13] => 421
    [answered_sms] => 421
    [14] => 323
    [busy_sms] => 323
    [15] => 1
    [congestion_sms] => 1
    [16] => 380
    [failed_sms] => 380
    [17] => 0
    [hangup_sms] => 0
    [18] => 452
    [no_answer_sms] => 452
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 1384
    [cutting_sms] => 1384
    [22] => 838
    [dnd_sms] => 838
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 421
    [user_answered_sms] => 421
    [27] => 323
    [user_busy_sms] => 323
    [28] => 1
    [user_congestion_sms] => 1
    [29] => 380
    [user_failed_sms] => 380
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 452
    [user_no_answer_sms] => 452
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 838
    [user_dnd_sms] => 838
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => sr35
    [created_by] => sr35
    [38] => 0
    [isScheduled] => 0
    [39] => 1760680010
    [create_date] => 1760680010
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760680022,"compaign_read_start_time":1760680024,"compaign_read_complete_time":1760680033,"compaign_send_start_time":1760680082,"compaign_send_complete_time":1760680099}
    [action_time] => {"api_allot_time":1760680022,"compaign_read_start_time":1760680024,"compaign_read_complete_time":1760680033,"compaign_send_start_time":1760680082,"compaign_send_complete_time":1760680099}
    [50] => 0
    [compaign_file] => 0
    [51] => sr35_66339_17102025_111702AM_806
    [common_name] => sr35_66339_17102025_111702AM_806
    [52] => 1760680010_sr35_voice.wav
    [voice_file] => 1760680010_sr35_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_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_57995
    [temp_group_table] => contacts_temp_group_57995
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => 1760680741
    [last_credit_update_time] => 1760680741
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 102
    [user_voice_plan_id] => 102
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 15
    [pulse] => 15
    [88] => 0.06
    [pulse_rate] => 0.06
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 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,sr35
    [uphierarchy] => admin,sr35
    [113] => 
    [extra_params_json] => 
)


Compaign : 66339
\compaign_type : Rans per 25.76161 
ans sms 3799
dnd sms 838

require answer perrequire answer per : 763

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='763', `user_busy_sms`='685', `user_congestion_sms`='119', `user_failed_sms`='554', `user_hangup_sms`='0', `user_no_answer_sms`='840', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='838' WHERE `compaign_id`=66339 LIMIT 1 


Time Diff : 0.186

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760421661'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760421722'  
Array
(
    [0] => 66346
    [compaign_id] => 66346
    [1] => u179
    [user_id] => u179
    [2] => 57999,
    [group_ids] => 57999,
    [3] => 
    [sender_id] => 
    [4] => NEW DIWALI OFFER VOICE.mp3
    [filename] => NEW DIWALI OFFER VOICE.mp3
    [5] => 21
    [duration] => 21
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760679900
    [start_date] => 1760679900
    [9] => 0
    [end_date] => 0
    [10] => 1728
    [total_sms] => 1728
    [11] => 1728
    [sent_sms] => 1728
    [12] => 0
    [duplicate_sms] => 0
    [13] => 75
    [answered_sms] => 75
    [14] => 366
    [busy_sms] => 366
    [15] => 0
    [congestion_sms] => 0
    [16] => 76
    [failed_sms] => 76
    [17] => 0
    [hangup_sms] => 0
    [18] => 121
    [no_answer_sms] => 121
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 640
    [cutting_sms] => 640
    [22] => 450
    [dnd_sms] => 450
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 75
    [user_answered_sms] => 75
    [27] => 366
    [user_busy_sms] => 366
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 76
    [user_failed_sms] => 76
    [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] => 450
    [user_dnd_sms] => 450
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u179
    [created_by] => u179
    [38] => 1
    [isScheduled] => 1
    [39] => 1760680333
    [create_date] => 1760680333
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760680335,"compaign_read_start_time":1760680337,"compaign_read_complete_time":1760680340,"compaign_send_start_time":1760680381,"compaign_send_complete_time":1760680384}
    [action_time] => {"api_allot_time":1760680335,"compaign_read_start_time":1760680337,"compaign_read_complete_time":1760680340,"compaign_send_start_time":1760680381,"compaign_send_complete_time":1760680384}
    [50] => 0
    [compaign_file] => 0
    [51] => u179_66346_17102025_112214AM_588
    [common_name] => u179_66346_17102025_112214AM_588
    [52] => 1759899987_u179_voice.wav
    [voice_file] => 1759899987_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_57999
    [temp_group_table] => contacts_temp_group_57999
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [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] => 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] => 1760680862
    [last_credit_update_time] => 1760680862
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 336
    [user_voice_plan_id] => 336
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.3
    [pulse_rate] => 0.3
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":"2","FFL":"2"}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":"2","FFL":"2"}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr3,u179
    [uphierarchy] => admin,sr3,u179
    [113] => 
    [extra_params_json] => 
)


Compaign : 66346
\compaign_type : Rans per 27.10974 
ans sms 1728
dnd sms 450

require answer perrequire answer per : 347

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='347', `user_busy_sms`='440', `user_congestion_sms`='30', `user_failed_sms`='106', `user_hangup_sms`='0', `user_no_answer_sms`='355', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='450' WHERE `compaign_id`=66346 LIMIT 1 


Time Diff : 0.249

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760421781'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760421841'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760421901'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760421961'  
Array
(
    [0] => 66281
    [compaign_id] => 66281
    [1] => u122
    [user_id] => u122
    [2] => 57957,
    [group_ids] => 57957,
    [3] => 
    [sender_id] => 
    [4] => shri@123shri02.mp3
    [filename] => shri@123shri02.mp3
    [5] => 31
    [duration] => 31
    [6] => 3
    [credits_per_sms] => 3
    [7] => 15
    [user_pulse] => 15
    [8] => 1760680800
    [start_date] => 1760680800
    [9] => 0
    [end_date] => 0
    [10] => 77
    [total_sms] => 77
    [11] => 77
    [sent_sms] => 77
    [12] => 0
    [duplicate_sms] => 0
    [13] => 22
    [answered_sms] => 22
    [14] => 19
    [busy_sms] => 19
    [15] => 0
    [congestion_sms] => 0
    [16] => 14
    [failed_sms] => 14
    [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] => 9
    [dnd_sms] => 9
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 22
    [user_answered_sms] => 22
    [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] => 13
    [user_no_answer_sms] => 13
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 9
    [user_dnd_sms] => 9
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u122
    [created_by] => u122
    [38] => 1
    [isScheduled] => 1
    [39] => 1760677699
    [create_date] => 1760677699
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760680806,"compaign_read_start_time":1760680862,"compaign_read_complete_time":1760680862,"compaign_send_start_time":1760680922,"compaign_send_complete_time":1760680923}
    [action_time] => {"api_allot_time":1760680806,"compaign_read_start_time":1760680862,"compaign_read_complete_time":1760680862,"compaign_send_start_time":1760680922,"compaign_send_complete_time":1760680923}
    [50] => 0
    [compaign_file] => 0
    [51] => u122_66281_17102025_113006AM_222
    [common_name] => u122_66281_17102025_113006AM_222
    [52] => api_1756992183_u122_voice_523.wav
    [voice_file] => api_1756992183_u122_voice_523.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_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_57957
    [temp_group_table] => contacts_temp_group_57957
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760681161
    [last_credit_update_time] => 1760681161
    [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 : 66281
\compaign_type : Rans per 26.85282 
ans sms 77
dnd sms 9

require answer perrequire answer per : 19

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`='19', `user_congestion_sms`='0', `user_failed_sms`='14', `user_hangup_sms`='0', `user_no_answer_sms`='13', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='9' WHERE `compaign_id`=66281 LIMIT 1 


Time Diff : 2.909

Array
(
    [0] => 66300
    [compaign_id] => 66300
    [1] => u122
    [user_id] => u122
    [2] => 57967,
    [group_ids] => 57967,
    [3] => 
    [sender_id] => 
    [4] => Lotuscommsmsenglish_2509.mp3
    [filename] => Lotuscommsmsenglish_2509.mp3
    [5] => 22
    [duration] => 22
    [6] => 2
    [credits_per_sms] => 2
    [7] => 15
    [user_pulse] => 15
    [8] => 1760680800
    [start_date] => 1760680800
    [9] => 0
    [end_date] => 0
    [10] => 94
    [total_sms] => 94
    [11] => 94
    [sent_sms] => 94
    [12] => 0
    [duplicate_sms] => 0
    [13] => 5
    [answered_sms] => 5
    [14] => 14
    [busy_sms] => 14
    [15] => 0
    [congestion_sms] => 0
    [16] => 17
    [failed_sms] => 17
    [17] => 0
    [hangup_sms] => 0
    [18] => 3
    [no_answer_sms] => 3
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 55
    [dnd_sms] => 55
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 5
    [user_answered_sms] => 5
    [27] => 14
    [user_busy_sms] => 14
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 17
    [user_failed_sms] => 17
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 3
    [user_no_answer_sms] => 3
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 55
    [user_dnd_sms] => 55
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u122
    [created_by] => u122
    [38] => 1
    [isScheduled] => 1
    [39] => 1760678337
    [create_date] => 1760678337
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760680806,"compaign_read_start_time":1760680864,"compaign_read_complete_time":1760680865,"compaign_send_start_time":1760680922,"compaign_send_complete_time":1760680922}
    [action_time] => {"api_allot_time":1760680806,"compaign_read_start_time":1760680864,"compaign_read_complete_time":1760680865,"compaign_send_start_time":1760680922,"compaign_send_complete_time":1760680922}
    [50] => 0
    [compaign_file] => 0
    [51] => u122_66300_17102025_113006AM_909
    [common_name] => u122_66300_17102025_113006AM_909
    [52] => api_1758794786_u122_voice_529.wav
    [voice_file] => api_1758794786_u122_voice_529.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_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_57967
    [temp_group_table] => contacts_temp_group_57967
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760681161
    [last_credit_update_time] => 1760681161
    [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 : 66300
\compaign_type : Rans per 30.99352 
ans sms 94
dnd sms 55

require answer perrequire answer per : 13

user answer per : 5
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_66300 SET user_report='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_66300 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 6 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

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


Time Diff : 2.362

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


Compaign : 66242
\compaign_type : ATans per 26.43058 
ans sms 6864
dnd sms 0

require answer perrequire answer per : 1815

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='37', `user_busy_sms`='1394', `user_congestion_sms`='0', `user_failed_sms`='5130', `user_hangup_sms`='0', `user_no_answer_sms`='303', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


Time Diff : 0.837

Array
(
    [0] => 66332
    [compaign_id] => 66332
    [1] => u20123
    [user_id] => u20123
    [2] => 57991,
    [group_ids] => 57991,
    [3] => 
    [sender_id] => 
    [4] => Nisha_आपके_लिए-volume-adjusted.wav
    [filename] => Nisha_आपके_लिए-volume-adjusted.wav
    [5] => 20
    [duration] => 20
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760679684
    [start_date] => 1760679684
    [9] => 0
    [end_date] => 0
    [10] => 49188
    [total_sms] => 49188
    [11] => 49188
    [sent_sms] => 49188
    [12] => 0
    [duplicate_sms] => 0
    [13] => 2827
    [answered_sms] => 2827
    [14] => 3282
    [busy_sms] => 3282
    [15] => 28
    [congestion_sms] => 28
    [16] => 5167
    [failed_sms] => 5167
    [17] => 0
    [hangup_sms] => 0
    [18] => 2536
    [no_answer_sms] => 2536
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 35348
    [cutting_sms] => 35348
    [22] => 0
    [dnd_sms] => 0
    [23] => 2
    [blocked_sms] => 2
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 2827
    [user_answered_sms] => 2827
    [27] => 3282
    [user_busy_sms] => 3282
    [28] => 28
    [user_congestion_sms] => 28
    [29] => 5167
    [user_failed_sms] => 5167
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2536
    [user_no_answer_sms] => 2536
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u20123
    [created_by] => u20123
    [38] => 0
    [isScheduled] => 0
    [39] => 1760679654
    [create_date] => 1760679654
    [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":1760679690,"compaign_read_start_time":1760679691,"compaign_read_complete_time":1760679794,"compaign_send_start_time":1760679841,"compaign_send_complete_time":1760679991}
    [action_time] => {"api_allot_time":1760679690,"compaign_read_start_time":1760679691,"compaign_read_complete_time":1760679794,"compaign_send_start_time":1760679841,"compaign_send_complete_time":1760679991}
    [50] => 0
    [compaign_file] => 0
    [51] => u20123_66332_17102025_111129AM_840
    [common_name] => u20123_66332_17102025_111129AM_840
    [52] => 1758275916_u20123_voice.wav
    [voice_file] => 1758275916_u20123_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_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_57991
    [temp_group_table] => contacts_temp_group_57991
    [61] => 0
    [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] => 7
    [credit_seq] => 7
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760681222
    [last_credit_update_time] => 1760681222
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1671
    [user_voice_plan_id] => 1671
    [85] => 11
    [voice_plan_id] => 11
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.0009
    [pulse_rate] => 0.0009
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 7
    [dtmf_wait_time] => 7
    [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,u20123
    [uphierarchy] => admin,u20123
    [113] => 
    [extra_params_json] => 
)


Compaign : 66332
\compaign_type : Rans per 25.93688 
ans sms 49188
dnd sms 0

require answer perrequire answer per : 12758

user answer per : 2827
below is the redis data 9931 UPDATE voice_compaign_detail_66332 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 9931 Total Failed : 25424 no_answer_count : 8477 Busy count :6524 congestion_count : 3018 failed_count : 7405UPDATE voice_compaign_detail_66332 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 8477 UPDATE voice_compaign_detail_66332 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 6524 UPDATE voice_compaign_detail_66332 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 3018 UPDATE voice_compaign_detail_66332 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 7405 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='12758', `user_busy_sms`='9806', `user_congestion_sms`='3039', `user_failed_sms`='12572', `user_hangup_sms`='0', `user_no_answer_sms`='11013', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66332 LIMIT 1 


Time Diff : 0.028

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760422081'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760422142'  
Array
(
    [0] => 66334
    [compaign_id] => 66334
    [1] => u20123
    [user_id] => u20123
    [2] => 57993,
    [group_ids] => 57993,
    [3] => 
    [sender_id] => 
    [4] => Nisha_आपके_लिए-volume-adjusted.wav
    [filename] => Nisha_आपके_लिए-volume-adjusted.wav
    [5] => 20
    [duration] => 20
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760679777
    [start_date] => 1760679777
    [9] => 0
    [end_date] => 0
    [10] => 49250
    [total_sms] => 49250
    [11] => 49250
    [sent_sms] => 49250
    [12] => 0
    [duplicate_sms] => 0
    [13] => 2146
    [answered_sms] => 2146
    [14] => 2768
    [busy_sms] => 2768
    [15] => 16
    [congestion_sms] => 16
    [16] => 4046
    [failed_sms] => 4046
    [17] => 0
    [hangup_sms] => 0
    [18] => 1938
    [no_answer_sms] => 1938
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 38336
    [cutting_sms] => 38336
    [22] => 0
    [dnd_sms] => 0
    [23] => 1
    [blocked_sms] => 1
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 2146
    [user_answered_sms] => 2146
    [27] => 2768
    [user_busy_sms] => 2768
    [28] => 16
    [user_congestion_sms] => 16
    [29] => 4046
    [user_failed_sms] => 4046
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 1938
    [user_no_answer_sms] => 1938
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u20123
    [created_by] => u20123
    [38] => 0
    [isScheduled] => 0
    [39] => 1760679745
    [create_date] => 1760679745
    [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":1760679784,"compaign_read_start_time":1760679784,"compaign_read_complete_time":1760679882,"compaign_send_start_time":1760679902,"compaign_send_complete_time":1760680028}
    [action_time] => {"api_allot_time":1760679784,"compaign_read_start_time":1760679784,"compaign_read_complete_time":1760679882,"compaign_send_start_time":1760679902,"compaign_send_complete_time":1760680028}
    [50] => 0
    [compaign_file] => 0
    [51] => u20123_66334_17102025_111303AM_363
    [common_name] => u20123_66334_17102025_111303AM_363
    [52] => 1758275916_u20123_voice.wav
    [voice_file] => 1758275916_u20123_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_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_57993
    [temp_group_table] => contacts_temp_group_57993
    [61] => 0
    [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] => 7
    [credit_seq] => 7
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760681281
    [last_credit_update_time] => 1760681281
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1671
    [user_voice_plan_id] => 1671
    [85] => 11
    [voice_plan_id] => 11
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.0009
    [pulse_rate] => 0.0009
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 7
    [dtmf_wait_time] => 7
    [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,u20123
    [uphierarchy] => admin,u20123
    [113] => 
    [extra_params_json] => 
)


Compaign : 66334
\compaign_type : Rans per 26.55453 
ans sms 49250
dnd sms 0

require answer perrequire answer per : 13079

user answer per : 2146
below is the redis data 10933 UPDATE voice_compaign_detail_66334 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 10933 Total Failed : 27405 no_answer_count : 9137 Busy count :7033 congestion_count : 3253 failed_count : 7982UPDATE voice_compaign_detail_66334 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 9137 UPDATE voice_compaign_detail_66334 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 7033 UPDATE voice_compaign_detail_66334 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 3253 UPDATE voice_compaign_detail_66334 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 7982 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='13079', `user_busy_sms`='9801', `user_congestion_sms`='3267', `user_failed_sms`='12028', `user_hangup_sms`='0', `user_no_answer_sms`='11075', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66334 LIMIT 1 


Time Diff : 0.026

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760422201'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760422262'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760422322'  
Array
(
    [0] => 66340
    [compaign_id] => 66340
    [1] => u288
    [user_id] => u288
    [2] => 57996,
    [group_ids] => 57996,
    [3] => 
    [sender_id] => 
    [4] => mp3-output-ttsfree(dot)com (2).mp3
    [filename] => mp3-output-ttsfree(dot)com (2).mp3
    [5] => 12
    [duration] => 12
    [6] => 1
    [credits_per_sms] => 1
    [7] => 15
    [user_pulse] => 15
    [8] => 1760680108
    [start_date] => 1760680108
    [9] => 0
    [end_date] => 0
    [10] => 207
    [total_sms] => 207
    [11] => 207
    [sent_sms] => 207
    [12] => 0
    [duplicate_sms] => 0
    [13] => 21
    [answered_sms] => 21
    [14] => 47
    [busy_sms] => 47
    [15] => 0
    [congestion_sms] => 0
    [16] => 55
    [failed_sms] => 55
    [17] => 0
    [hangup_sms] => 0
    [18] => 28
    [no_answer_sms] => 28
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 56
    [cutting_sms] => 56
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 21
    [user_answered_sms] => 21
    [27] => 47
    [user_busy_sms] => 47
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 55
    [user_failed_sms] => 55
    [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] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u288
    [created_by] => u288
    [38] => 0
    [isScheduled] => 0
    [39] => 1760680107
    [create_date] => 1760680107
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760680114,"compaign_read_start_time":1760680115,"compaign_read_complete_time":1760680115,"compaign_send_start_time":1760680141,"compaign_send_complete_time":1760680142}
    [action_time] => {"api_allot_time":1760680114,"compaign_read_start_time":1760680115,"compaign_read_complete_time":1760680115,"compaign_send_start_time":1760680141,"compaign_send_complete_time":1760680142}
    [50] => 0
    [compaign_file] => 0
    [51] => u288_66340_17102025_111834AM_733
    [common_name] => u288_66340_17102025_111834AM_733
    [52] => 1731909711_u288_voice.wav
    [voice_file] => 1731909711_u288_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_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_57996
    [temp_group_table] => contacts_temp_group_57996
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 7
    [credit_seq] => 7
    [70] => 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] => 1760681402
    [reschedule_last_check_time] => 1760681402
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760681465
    [last_credit_update_time] => 1760681465
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 504
    [user_voice_plan_id] => 504
    [85] => 54
    [voice_plan_id] => 54
    [86] => 0
    [gateway_id] => 0
    [87] => 15
    [pulse] => 15
    [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,sr33,sr101,sr147,u288
    [uphierarchy] => admin,sr33,sr101,sr147,u288
    [113] => 
    [extra_params_json] => 
)


Compaign : 66340
\compaign_type : Rans per 27.64719 
ans sms 207
dnd sms 0

require answer perrequire answer per : 58

user answer per : 21
below is the redis data 37 /n/r
only no answer and busy will be convert, total number require 37 /n/r
UPDATE voice_compaign_detail_66340 SET user_report='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_66340 SET user_report='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 : 30 no_answer_count : 11 Busy count :8 congestion_count : 4 failed_count : 7UPDATE voice_compaign_detail_66340 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 11 UPDATE voice_compaign_detail_66340 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 8 UPDATE voice_compaign_detail_66340 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 4 UPDATE voice_compaign_detail_66340 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`='58', `user_busy_sms`='57', `user_congestion_sms`='4', `user_failed_sms`='34', `user_hangup_sms`='0', `user_no_answer_sms`='54', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66340 LIMIT 1 


Time Diff : 1.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>'1760422381'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760422442'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760422501'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760422562'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760422621'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760422681'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760422746'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760422804'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760422862'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760422921'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760422981'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760423041'  
Array
(
    [0] => 66360
    [compaign_id] => 66360
    [1] => sr180
    [user_id] => sr180
    [2] => 58008,
    [group_ids] => 58008,
    [3] => 
    [sender_id] => 
    [4] => vinayakvoice.mp3
    [filename] => vinayakvoice.mp3
    [5] => 23
    [duration] => 23
    [6] => 2
    [credits_per_sms] => 2
    [7] => 15
    [user_pulse] => 15
    [8] => 1760681484
    [start_date] => 1760681484
    [9] => 0
    [end_date] => 0
    [10] => 5071
    [total_sms] => 5071
    [11] => 5071
    [sent_sms] => 5071
    [12] => 0
    [duplicate_sms] => 0
    [13] => 294
    [answered_sms] => 294
    [14] => 281
    [busy_sms] => 281
    [15] => 0
    [congestion_sms] => 0
    [16] => 486
    [failed_sms] => 486
    [17] => 0
    [hangup_sms] => 0
    [18] => 417
    [no_answer_sms] => 417
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 1661
    [cutting_sms] => 1661
    [22] => 1932
    [dnd_sms] => 1932
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 294
    [user_answered_sms] => 294
    [27] => 281
    [user_busy_sms] => 281
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 486
    [user_failed_sms] => 486
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 417
    [user_no_answer_sms] => 417
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 1932
    [user_dnd_sms] => 1932
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => sr180
    [created_by] => sr180
    [38] => 0
    [isScheduled] => 0
    [39] => 1760681482
    [create_date] => 1760681482
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760681491,"compaign_read_start_time":1760681492,"compaign_read_complete_time":1760681506,"compaign_send_start_time":1760681522,"compaign_send_complete_time":1760681530}
    [action_time] => {"api_allot_time":1760681491,"compaign_read_start_time":1760681492,"compaign_read_complete_time":1760681506,"compaign_send_start_time":1760681522,"compaign_send_complete_time":1760681530}
    [50] => 0
    [compaign_file] => 0
    [51] => sr180_66360_17102025_114130AM_768
    [common_name] => sr180_66360_17102025_114130AM_768
    [52] => 1760681482_sr180_voice.wav
    [voice_file] => 1760681482_sr180_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_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_58008
    [temp_group_table] => contacts_temp_group_58008
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => 1760682182
    [last_credit_update_time] => 1760682182
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 678
    [user_voice_plan_id] => 678
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 15
    [pulse] => 15
    [88] => 0.06
    [pulse_rate] => 0.06
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr83,sr180
    [uphierarchy] => admin,sr83,sr180
    [113] => 
    [extra_params_json] => 
)


Compaign : 66360
\compaign_type : Rans per 25.38119 
ans sms 5071
dnd sms 1932

require answer perrequire answer per : 797

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='797', `user_busy_sms`='740', `user_congestion_sms`='125', `user_failed_sms`='613', `user_hangup_sms`='0', `user_no_answer_sms`='864', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='1932' WHERE `compaign_id`=66360 LIMIT 1 


Time Diff : 0.079

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760423105'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760423162'  
Array
(
    [0] => 66355
    [compaign_id] => 66355
    [1] => u179
    [user_id] => u179
    [2] => 58006,
    [group_ids] => 58006,
    [3] => 
    [sender_id] => 
    [4] => NEW DIWALI OFFER VOICE.mp3
    [filename] => NEW DIWALI OFFER VOICE.mp3
    [5] => 21
    [duration] => 21
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760680800
    [start_date] => 1760680800
    [9] => 0
    [end_date] => 0
    [10] => 1381
    [total_sms] => 1381
    [11] => 1381
    [sent_sms] => 1381
    [12] => 0
    [duplicate_sms] => 0
    [13] => 44
    [answered_sms] => 44
    [14] => 314
    [busy_sms] => 314
    [15] => 0
    [congestion_sms] => 0
    [16] => 79
    [failed_sms] => 79
    [17] => 0
    [hangup_sms] => 0
    [18] => 71
    [no_answer_sms] => 71
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 423
    [cutting_sms] => 423
    [22] => 450
    [dnd_sms] => 450
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 44
    [user_answered_sms] => 44
    [27] => 314
    [user_busy_sms] => 314
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 79
    [user_failed_sms] => 79
    [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] => 450
    [user_dnd_sms] => 450
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u179
    [created_by] => u179
    [38] => 1
    [isScheduled] => 1
    [39] => 1760681233
    [create_date] => 1760681233
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760681235,"compaign_read_start_time":1760681237,"compaign_read_complete_time":1760681242,"compaign_send_start_time":1760681281,"compaign_send_complete_time":1760681284}
    [action_time] => {"api_allot_time":1760681235,"compaign_read_start_time":1760681237,"compaign_read_complete_time":1760681242,"compaign_send_start_time":1760681281,"compaign_send_complete_time":1760681284}
    [50] => 0
    [compaign_file] => 0
    [51] => u179_66355_17102025_113714AM_279
    [common_name] => u179_66355_17102025_113714AM_279
    [52] => 1759899987_u179_voice.wav
    [voice_file] => 1759899987_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_58006
    [temp_group_table] => contacts_temp_group_58006
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [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] => 6
    [credit_seq] => 6
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760682305
    [last_credit_update_time] => 1760682305
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 336
    [user_voice_plan_id] => 336
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.3
    [pulse_rate] => 0.3
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":"2","FFL":"2"}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":"2","FFL":"2"}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr3,u179
    [uphierarchy] => admin,sr3,u179
    [113] => 
    [extra_params_json] => 
)


Compaign : 66355
\compaign_type : Rans per 30.85127 
ans sms 1381
dnd sms 450

require answer perrequire answer per : 288

user answer per : 44
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_66355 SET user_report='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_66355 SET user_report='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 : 92 no_answer_count : 31 Busy count :24 congestion_count : 11 failed_count : 26UPDATE voice_compaign_detail_66355 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 31 UPDATE voice_compaign_detail_66355 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 24 UPDATE voice_compaign_detail_66355 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 11 UPDATE voice_compaign_detail_66355 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`='288', `user_busy_sms`='335', `user_congestion_sms`='11', `user_failed_sms`='44', `user_hangup_sms`='0', `user_no_answer_sms`='253', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='450' WHERE `compaign_id`=66355 LIMIT 1 


Time Diff : 0.626

Array
(
    [0] => 66354
    [compaign_id] => 66354
    [1] => u179
    [user_id] => u179
    [2] => 58005,
    [group_ids] => 58005,
    [3] => 
    [sender_id] => 
    [4] => NEW DIWALI OFFER VOICE.mp3
    [filename] => NEW DIWALI OFFER VOICE.mp3
    [5] => 21
    [duration] => 21
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760681192
    [start_date] => 1760681192
    [9] => 0
    [end_date] => 0
    [10] => 2995
    [total_sms] => 2995
    [11] => 2995
    [sent_sms] => 2995
    [12] => 0
    [duplicate_sms] => 0
    [13] => 196
    [answered_sms] => 196
    [14] => 780
    [busy_sms] => 780
    [15] => 0
    [congestion_sms] => 0
    [16] => 87
    [failed_sms] => 87
    [17] => 0
    [hangup_sms] => 0
    [18] => 277
    [no_answer_sms] => 277
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 1205
    [cutting_sms] => 1205
    [22] => 450
    [dnd_sms] => 450
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 196
    [user_answered_sms] => 196
    [27] => 780
    [user_busy_sms] => 780
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 87
    [user_failed_sms] => 87
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 277
    [user_no_answer_sms] => 277
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 450
    [user_dnd_sms] => 450
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u179
    [created_by] => u179
    [38] => 0
    [isScheduled] => 0
    [39] => 1760681190
    [create_date] => 1760681190
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760681198,"compaign_read_start_time":1760681200,"compaign_read_complete_time":1760681207,"compaign_send_start_time":1760681222,"compaign_send_complete_time":1760681234}
    [action_time] => {"api_allot_time":1760681198,"compaign_read_start_time":1760681200,"compaign_read_complete_time":1760681207,"compaign_send_start_time":1760681222,"compaign_send_complete_time":1760681234}
    [50] => 0
    [compaign_file] => 0
    [51] => u179_66354_17102025_113638AM_461
    [common_name] => u179_66354_17102025_113638AM_461
    [52] => 1759899987_u179_voice.wav
    [voice_file] => 1759899987_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_58005
    [temp_group_table] => contacts_temp_group_58005
    [61] => 0
    [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] => 6
    [credit_seq] => 6
    [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] => 1760682306
    [reschedule_last_check_time] => 1760682306
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760682305
    [last_credit_update_time] => 1760682305
    [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":1760693400,"2":1760694300,"3":1760695200}
    [rt_time] => {"1":1760693400,"2":1760694300,"3":1760695200}
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":"2","FFL":"2"}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":"2","FFL":"2"}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr3,u179
    [uphierarchy] => admin,sr3,u179
    [113] => 
    [extra_params_json] => 
)


Compaign : 66354
\compaign_type : Rans per 26.37872 
ans sms 2995
dnd sms 450

require answer perrequire answer per : 672

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='672', `user_busy_sms`='917', `user_congestion_sms`='68', `user_failed_sms`='203', `user_hangup_sms`='0', `user_no_answer_sms`='685', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='450' WHERE `compaign_id`=66354 LIMIT 1 


Time Diff : 0.375

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760423221'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760423282'  
Array
(
    [0] => 66341
    [compaign_id] => 66341
    [1] => u20123
    [user_id] => u20123
    [2] => 57997,
    [group_ids] => 57997,
    [3] => 
    [sender_id] => 
    [4] => Nisha_आपके_लिए-volume-adjusted.wav
    [filename] => Nisha_आपके_लिए-volume-adjusted.wav
    [5] => 20
    [duration] => 20
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760680215
    [start_date] => 1760680215
    [9] => 0
    [end_date] => 0
    [10] => 49179
    [total_sms] => 49179
    [11] => 49179
    [sent_sms] => 49179
    [12] => 0
    [duplicate_sms] => 0
    [13] => 2400
    [answered_sms] => 2400
    [14] => 2940
    [busy_sms] => 2940
    [15] => 42
    [congestion_sms] => 42
    [16] => 4439
    [failed_sms] => 4439
    [17] => 0
    [hangup_sms] => 0
    [18] => 2060
    [no_answer_sms] => 2060
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 37298
    [cutting_sms] => 37298
    [22] => 0
    [dnd_sms] => 0
    [23] => 1
    [blocked_sms] => 1
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 2400
    [user_answered_sms] => 2400
    [27] => 2940
    [user_busy_sms] => 2940
    [28] => 42
    [user_congestion_sms] => 42
    [29] => 4439
    [user_failed_sms] => 4439
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2060
    [user_no_answer_sms] => 2060
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u20123
    [created_by] => u20123
    [38] => 0
    [isScheduled] => 0
    [39] => 1760680186
    [create_date] => 1760680186
    [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":1760680222,"compaign_read_start_time":1760680222,"compaign_read_complete_time":1760680324,"compaign_send_start_time":1760680381,"compaign_send_complete_time":1760680515}
    [action_time] => {"api_allot_time":1760680222,"compaign_read_start_time":1760680222,"compaign_read_complete_time":1760680324,"compaign_send_start_time":1760680381,"compaign_send_complete_time":1760680515}
    [50] => 0
    [compaign_file] => 0
    [51] => u20123_66341_17102025_112021AM_276
    [common_name] => u20123_66341_17102025_112021AM_276
    [52] => 1758275916_u20123_voice.wav
    [voice_file] => 1758275916_u20123_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_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_57997
    [temp_group_table] => contacts_temp_group_57997
    [61] => 0
    [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] => 10
    [credit_seq] => 10
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760682428
    [last_credit_update_time] => 1760682428
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1671
    [user_voice_plan_id] => 1671
    [85] => 11
    [voice_plan_id] => 11
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.0009
    [pulse_rate] => 0.0009
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 7
    [dtmf_wait_time] => 7
    [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,u20123
    [uphierarchy] => admin,u20123
    [113] => 
    [extra_params_json] => 
)


Compaign : 66341
\compaign_type : Rans per 29.36772 
ans sms 49179
dnd sms 0

require answer perrequire answer per : 14443

user answer per : 2407
below is the redis data 12036 UPDATE voice_compaign_detail_66341 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 12036 Total Failed : 25275 no_answer_count : 8427 Busy count :6486 congestion_count : 3001 failed_count : 7361UPDATE voice_compaign_detail_66341 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 8427 UPDATE voice_compaign_detail_66341 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 6486 UPDATE voice_compaign_detail_66341 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 3001 UPDATE voice_compaign_detail_66341 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 7361 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='14443', `user_busy_sms`='9426', `user_congestion_sms`='3023', `user_failed_sms`='11800', `user_hangup_sms`='0', `user_no_answer_sms`='10487', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66341 LIMIT 1 


Time Diff : 0.026

Array
(
    [0] => 66356
    [compaign_id] => 66356
    [1] => sr35
    [user_id] => sr35
    [2] => 58007,
    [group_ids] => 58007,
    [3] => 
    [sender_id] => 
    [4] => BUSINESS MAN CAMP...mp3
    [filename] => BUSINESS MAN CAMP...mp3
    [5] => 22
    [duration] => 22
    [6] => 2
    [credits_per_sms] => 2
    [7] => 15
    [user_pulse] => 15
    [8] => 1760681256
    [start_date] => 1760681256
    [9] => 0
    [end_date] => 0
    [10] => 3036
    [total_sms] => 3036
    [11] => 3036
    [sent_sms] => 3036
    [12] => 0
    [duplicate_sms] => 0
    [13] => 197
    [answered_sms] => 197
    [14] => 256
    [busy_sms] => 256
    [15] => 2
    [congestion_sms] => 2
    [16] => 325
    [failed_sms] => 325
    [17] => 0
    [hangup_sms] => 0
    [18] => 307
    [no_answer_sms] => 307
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 1111
    [cutting_sms] => 1111
    [22] => 838
    [dnd_sms] => 838
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 197
    [user_answered_sms] => 197
    [27] => 256
    [user_busy_sms] => 256
    [28] => 2
    [user_congestion_sms] => 2
    [29] => 325
    [user_failed_sms] => 325
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 307
    [user_no_answer_sms] => 307
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 838
    [user_dnd_sms] => 838
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => sr35
    [created_by] => sr35
    [38] => 0
    [isScheduled] => 0
    [39] => 1760681256
    [create_date] => 1760681256
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760681263,"compaign_read_start_time":1760681264,"compaign_read_complete_time":1760681273,"compaign_send_start_time":1760681281,"compaign_send_complete_time":1760681295}
    [action_time] => {"api_allot_time":1760681263,"compaign_read_start_time":1760681264,"compaign_read_complete_time":1760681273,"compaign_send_start_time":1760681281,"compaign_send_complete_time":1760681295}
    [50] => 0
    [compaign_file] => 0
    [51] => sr35_66356_17102025_113742AM_957
    [common_name] => sr35_66356_17102025_113742AM_957
    [52] => 1760680010_sr35_voice.wav
    [voice_file] => 1760680010_sr35_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_58007
    [temp_group_table] => contacts_temp_group_58007
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 6
    [credit_seq] => 6
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760682423
    [last_credit_update_time] => 1760682423
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 102
    [user_voice_plan_id] => 102
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 15
    [pulse] => 15
    [88] => 0.06
    [pulse_rate] => 0.06
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 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,sr35
    [uphierarchy] => admin,sr35
    [113] => 
    [extra_params_json] => 
)


Compaign : 66356
\compaign_type : Rans per 30.31635 
ans sms 3036
dnd sms 838

require answer perrequire answer per : 667

user answer per : 197
below is the redis data 470 /n/r
only no answer and busy will be convert, total number require 470 /n/r
UPDATE voice_compaign_detail_66356 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 358 UPDATE voice_compaign_detail_66356 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 358 Total Failed : 541 no_answer_count : 181 Busy count :139 congestion_count : 65 failed_count : 156UPDATE voice_compaign_detail_66356 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 181 UPDATE voice_compaign_detail_66356 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 139 UPDATE voice_compaign_detail_66356 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 65 UPDATE voice_compaign_detail_66356 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`='667', `user_busy_sms`='541', `user_congestion_sms`='66', `user_failed_sms`='336', `user_hangup_sms`='0', `user_no_answer_sms`='588', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='838' WHERE `compaign_id`=66356 LIMIT 1 


Time Diff : 0.335

Array
(
    [0] => 66283
    [compaign_id] => 66283
    [1] => u122
    [user_id] => u122
    [2] => 57958,
    [group_ids] => 57958,
    [3] => 
    [sender_id] => 
    [4] => shri@123shri03.mp3
    [filename] => shri@123shri03.mp3
    [5] => 28
    [duration] => 28
    [6] => 2
    [credits_per_sms] => 2
    [7] => 15
    [user_pulse] => 15
    [8] => 1760681700
    [start_date] => 1760681700
    [9] => 0
    [end_date] => 0
    [10] => 86
    [total_sms] => 86
    [11] => 86
    [sent_sms] => 86
    [12] => 0
    [duplicate_sms] => 0
    [13] => 12
    [answered_sms] => 12
    [14] => 28
    [busy_sms] => 28
    [15] => 0
    [congestion_sms] => 0
    [16] => 15
    [failed_sms] => 15
    [17] => 0
    [hangup_sms] => 0
    [18] => 23
    [no_answer_sms] => 23
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 8
    [dnd_sms] => 8
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 12
    [user_answered_sms] => 12
    [27] => 28
    [user_busy_sms] => 28
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 15
    [user_failed_sms] => 15
    [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] => 8
    [user_dnd_sms] => 8
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u122
    [created_by] => u122
    [38] => 1
    [isScheduled] => 1
    [39] => 1760677730
    [create_date] => 1760677730
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760681706,"compaign_read_start_time":1760681707,"compaign_read_complete_time":1760681708,"compaign_send_start_time":1760681762,"compaign_send_complete_time":1760681763}
    [action_time] => {"api_allot_time":1760681706,"compaign_read_start_time":1760681707,"compaign_read_complete_time":1760681708,"compaign_send_start_time":1760681762,"compaign_send_complete_time":1760681763}
    [50] => 0
    [compaign_file] => 0
    [51] => u122_66283_17102025_114505AM_694
    [common_name] => u122_66283_17102025_114505AM_694
    [52] => api_1756992278_u122_voice_151.wav
    [voice_file] => api_1756992278_u122_voice_151.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_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_57958
    [temp_group_table] => contacts_temp_group_57958
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => 1760682423
    [last_credit_update_time] => 1760682423
    [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 : 66283
\compaign_type : Rans per 25.42055 
ans sms 86
dnd sms 8

require answer perrequire answer per : 20

user answer per : 12
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_66283 SET user_report='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_66283 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 6 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='20', `user_busy_sms`='30', `user_congestion_sms`='0', `user_failed_sms`='3', `user_hangup_sms`='0', `user_no_answer_sms`='25', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='8' WHERE `compaign_id`=66283 LIMIT 1 


Time Diff : 3.814

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760423341'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760423401'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760423461'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760423521'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760423581'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760423641'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760423702'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760423762'  
Array
(
    [0] => 66342
    [compaign_id] => 66342
    [1] => u20123
    [user_id] => u20123
    [2] => 57998,
    [group_ids] => 57998,
    [3] => 
    [sender_id] => 
    [4] => Nisha_आपके_लिए-volume-adjusted.wav
    [filename] => Nisha_आपके_लिए-volume-adjusted.wav
    [5] => 20
    [duration] => 20
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760680292
    [start_date] => 1760680292
    [9] => 0
    [end_date] => 0
    [10] => 49247
    [total_sms] => 49247
    [11] => 49247
    [sent_sms] => 49247
    [12] => 0
    [duplicate_sms] => 0
    [13] => 2691
    [answered_sms] => 2691
    [14] => 3134
    [busy_sms] => 3134
    [15] => 36
    [congestion_sms] => 36
    [16] => 4759
    [failed_sms] => 4759
    [17] => 0
    [hangup_sms] => 0
    [18] => 2259
    [no_answer_sms] => 2259
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 36368
    [cutting_sms] => 36368
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 2691
    [user_answered_sms] => 2691
    [27] => 3134
    [user_busy_sms] => 3134
    [28] => 36
    [user_congestion_sms] => 36
    [29] => 4759
    [user_failed_sms] => 4759
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2259
    [user_no_answer_sms] => 2259
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u20123
    [created_by] => u20123
    [38] => 0
    [isScheduled] => 0
    [39] => 1760680263
    [create_date] => 1760680263
    [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":1760680299,"compaign_read_start_time":1760680301,"compaign_read_complete_time":1760680394,"compaign_send_start_time":1760680442,"compaign_send_complete_time":1760680580}
    [action_time] => {"api_allot_time":1760680299,"compaign_read_start_time":1760680301,"compaign_read_complete_time":1760680394,"compaign_send_start_time":1760680442,"compaign_send_complete_time":1760680580}
    [50] => 0
    [compaign_file] => 0
    [51] => u20123_66342_17102025_112138AM_238
    [common_name] => u20123_66342_17102025_112138AM_238
    [52] => 1758275916_u20123_voice.wav
    [voice_file] => 1758275916_u20123_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_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_57998
    [temp_group_table] => contacts_temp_group_57998
    [61] => 0
    [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] => 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] => 1760682904
    [last_credit_update_time] => 1760682904
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1671
    [user_voice_plan_id] => 1671
    [85] => 11
    [voice_plan_id] => 11
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.0009
    [pulse_rate] => 0.0009
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 7
    [dtmf_wait_time] => 7
    [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,u20123
    [uphierarchy] => admin,u20123
    [113] => 
    [extra_params_json] => 
)


Compaign : 66342
\compaign_type : Rans per 28.7291 
ans sms 49247
dnd sms 0

require answer perrequire answer per : 14149

user answer per : 2691
below is the redis data 11458 UPDATE voice_compaign_detail_66342 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 11458 Total Failed : 24920 no_answer_count : 8309 Busy count :6395 congestion_count : 2959 failed_count : 7257UPDATE voice_compaign_detail_66342 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 8309 UPDATE voice_compaign_detail_66342 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 6395 UPDATE voice_compaign_detail_66342 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 2959 UPDATE voice_compaign_detail_66342 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 7257 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='14149', `user_busy_sms`='9529', `user_congestion_sms`='2985', `user_failed_sms`='12016', `user_hangup_sms`='0', `user_no_answer_sms`='10568', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66342 LIMIT 1 


Time Diff : 0.03

Array
(
    [0] => 66284
    [compaign_id] => 66284
    [1] => u122
    [user_id] => u122
    [2] => 57959,
    [group_ids] => 57959,
    [3] => 
    [sender_id] => 
    [4] => shri@123shri03.mp3
    [filename] => shri@123shri03.mp3
    [5] => 28
    [duration] => 28
    [6] => 2
    [credits_per_sms] => 2
    [7] => 15
    [user_pulse] => 15
    [8] => 1760682600
    [start_date] => 1760682600
    [9] => 0
    [end_date] => 0
    [10] => 85
    [total_sms] => 85
    [11] => 85
    [sent_sms] => 85
    [12] => 0
    [duplicate_sms] => 0
    [13] => 18
    [answered_sms] => 18
    [14] => 19
    [busy_sms] => 19
    [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] => 0
    [cutting_sms] => 0
    [22] => 9
    [dnd_sms] => 9
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 18
    [user_answered_sms] => 18
    [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] => 25
    [user_no_answer_sms] => 25
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 9
    [user_dnd_sms] => 9
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u122
    [created_by] => u122
    [38] => 1
    [isScheduled] => 1
    [39] => 1760677757
    [create_date] => 1760677757
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760682606,"compaign_read_start_time":1760682608,"compaign_read_complete_time":1760682608,"compaign_send_start_time":1760682661,"compaign_send_complete_time":1760682662}
    [action_time] => {"api_allot_time":1760682606,"compaign_read_start_time":1760682608,"compaign_read_complete_time":1760682608,"compaign_send_start_time":1760682661,"compaign_send_complete_time":1760682662}
    [50] => 0
    [compaign_file] => 0
    [51] => u122_66284_17102025_120006PM_299
    [common_name] => u122_66284_17102025_120006PM_299
    [52] => api_1756992278_u122_voice_151.wav
    [voice_file] => api_1756992278_u122_voice_151.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_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_57959
    [temp_group_table] => contacts_temp_group_57959
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760682902
    [last_credit_update_time] => 1760682902
    [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 : 66284
\compaign_type : Rans per 25.28051 
ans sms 85
dnd sms 9

require answer perrequire answer per : 20

user answer per : 18
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_66284 SET user_report='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_66284 SET user_report='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`='20', `user_busy_sms`='21', `user_congestion_sms`='0', `user_failed_sms`='10', `user_hangup_sms`='0', `user_no_answer_sms`='25', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='9' WHERE `compaign_id`=66284 LIMIT 1 


Time Diff : 1.882

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760423821'  
Array
(
    [0] => 66369
    [compaign_id] => 66369
    [1] => u179
    [user_id] => u179
    [2] => 58012,
    [group_ids] => 58012,
    [3] => 
    [sender_id] => 
    [4] => NEW DIWALI OFFER VOICE.mp3
    [filename] => NEW DIWALI OFFER VOICE.mp3
    [5] => 21
    [duration] => 21
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760682518
    [start_date] => 1760682518
    [9] => 0
    [end_date] => 0
    [10] => 3482
    [total_sms] => 3482
    [11] => 3482
    [sent_sms] => 3482
    [12] => 0
    [duplicate_sms] => 0
    [13] => 171
    [answered_sms] => 171
    [14] => 856
    [busy_sms] => 856
    [15] => 1
    [congestion_sms] => 1
    [16] => 130
    [failed_sms] => 130
    [17] => 0
    [hangup_sms] => 0
    [18] => 265
    [no_answer_sms] => 265
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 1515
    [cutting_sms] => 1515
    [22] => 544
    [dnd_sms] => 544
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 171
    [user_answered_sms] => 171
    [27] => 856
    [user_busy_sms] => 856
    [28] => 1
    [user_congestion_sms] => 1
    [29] => 130
    [user_failed_sms] => 130
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 265
    [user_no_answer_sms] => 265
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 544
    [user_dnd_sms] => 544
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u179
    [created_by] => u179
    [38] => 0
    [isScheduled] => 0
    [39] => 1760682516
    [create_date] => 1760682516
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760682525,"compaign_read_start_time":1760682526,"compaign_read_complete_time":1760682534,"compaign_send_start_time":1760682541,"compaign_send_complete_time":1760682551}
    [action_time] => {"api_allot_time":1760682525,"compaign_read_start_time":1760682526,"compaign_read_complete_time":1760682534,"compaign_send_start_time":1760682541,"compaign_send_complete_time":1760682551}
    [50] => 0
    [compaign_file] => 0
    [51] => u179_66369_17102025_115844AM_142
    [common_name] => u179_66369_17102025_115844AM_142
    [52] => 1759899987_u179_voice.wav
    [voice_file] => 1759899987_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_58012
    [temp_group_table] => contacts_temp_group_58012
    [61] => 0
    [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] => 3
    [credit_seq] => 3
    [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] => 1760682902
    [reschedule_last_check_time] => 1760682902
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760682962
    [last_credit_update_time] => 1760682962
    [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":1760682600,"2":1760683500,"3":1760684400}
    [rt_time] => {"1":1760682600,"2":1760683500,"3":1760684400}
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":"2","FFL":"2"}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":"2","FFL":"2"}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr3,u179
    [uphierarchy] => admin,sr3,u179
    [113] => 
    [extra_params_json] => 
)


Compaign : 66369
\compaign_type : Rans per 26.98029 
ans sms 3482
dnd sms 544

require answer perrequire answer per : 793

user answer per : 171
below is the redis data 622 /n/r
only no answer and busy will be convert, total number require 622 /n/r
UPDATE voice_compaign_detail_66369 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 461 UPDATE voice_compaign_detail_66369 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 461 Total Failed : 658 no_answer_count : 220 Busy count :169 congestion_count : 79 failed_count : 190UPDATE voice_compaign_detail_66369 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 220 UPDATE voice_compaign_detail_66369 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 169 UPDATE voice_compaign_detail_66369 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 79 UPDATE voice_compaign_detail_66369 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`='793', `user_busy_sms`='1019', `user_congestion_sms`='80', `user_failed_sms`='255', `user_hangup_sms`='0', `user_no_answer_sms`='791', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='544' WHERE `compaign_id`=66369 LIMIT 1 


Time Diff : 0.133

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760423882'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760423941'  
Array
(
    [0] => 66256
    [compaign_id] => 66256
    [1] => u179
    [user_id] => u179
    [2] => 57948,
    [group_ids] => 57948,
    [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] => 1760682600
    [start_date] => 1760682600
    [9] => 0
    [end_date] => 0
    [10] => 86
    [total_sms] => 86
    [11] => 86
    [sent_sms] => 86
    [12] => 0
    [duplicate_sms] => 0
    [13] => 10
    [answered_sms] => 10
    [14] => 18
    [busy_sms] => 18
    [15] => 0
    [congestion_sms] => 0
    [16] => 20
    [failed_sms] => 20
    [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] => 19
    [dnd_sms] => 19
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 10
    [user_answered_sms] => 10
    [27] => 18
    [user_busy_sms] => 18
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 20
    [user_failed_sms] => 20
    [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] => 19
    [user_dnd_sms] => 19
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u179
    [created_by] => u179
    [38] => 1
    [isScheduled] => 1
    [39] => 1760676722
    [create_date] => 1760676722
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760682608,"compaign_read_start_time":1760682661,"compaign_read_complete_time":1760682662,"compaign_send_start_time":1760682722,"compaign_send_complete_time":1760682725}
    [action_time] => {"api_allot_time":1760682608,"compaign_read_start_time":1760682661,"compaign_read_complete_time":1760682662,"compaign_send_start_time":1760682722,"compaign_send_complete_time":1760682725}
    [50] => 0
    [compaign_file] => 0
    [51] => u179_66256_17102025_120006PM_931
    [common_name] => u179_66256_17102025_120006PM_931
    [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_57948
    [temp_group_table] => contacts_temp_group_57948
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [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] => 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] => 1760683141
    [last_credit_update_time] => 1760683141
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 336
    [user_voice_plan_id] => 336
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.3
    [pulse_rate] => 0.3
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":"2","FFL":"2"}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":"2","FFL":"2"}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr3,u179
    [uphierarchy] => admin,sr3,u179
    [113] => 
    [extra_params_json] => 
)


Compaign : 66256
\compaign_type : Rans per 29.72472 
ans sms 86
dnd sms 19

require answer perrequire answer per : 20

user answer per : 10
below is the redis data 10 /n/r
only no answer and busy will be convert, total number require 10 /n/r
UPDATE voice_compaign_detail_66256 SET user_report='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_66256 SET user_report='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 : 0 no_answer_count : 0 Busy count :0 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`='21', `user_congestion_sms`='0', `user_failed_sms`='4', `user_hangup_sms`='0', `user_no_answer_sms`='22', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='19' WHERE `compaign_id`=66256 LIMIT 1 


Time Diff : 3.221

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


Compaign : 66242
\compaign_type : ATans per 30.58071 
ans sms 8334
dnd sms 0

require answer perrequire answer per : 2549

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='53', `user_busy_sms`='1899', `user_congestion_sms`='0', `user_failed_sms`='5973', `user_hangup_sms`='0', `user_no_answer_sms`='409', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


Time Diff : 0.927

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760424061'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760424121'  
Array
(
    [0] => 66376
    [compaign_id] => 66376
    [1] => u22468
    [user_id] => u22468
    [2] => 58016,
    [group_ids] => 58016,
    [3] => 
    [sender_id] => 
    [4] => AZEEM KHAN NAGAD.mp3
    [filename] => AZEEM KHAN NAGAD.mp3
    [5] => 17
    [duration] => 17
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760682975
    [start_date] => 1760682975
    [9] => 0
    [end_date] => 0
    [10] => 2003
    [total_sms] => 2003
    [11] => 2003
    [sent_sms] => 2003
    [12] => 0
    [duplicate_sms] => 0
    [13] => 413
    [answered_sms] => 413
    [14] => 158
    [busy_sms] => 158
    [15] => 5
    [congestion_sms] => 5
    [16] => 86
    [failed_sms] => 86
    [17] => 0
    [hangup_sms] => 0
    [18] => 244
    [no_answer_sms] => 244
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 771
    [cutting_sms] => 771
    [22] => 326
    [dnd_sms] => 326
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 413
    [user_answered_sms] => 413
    [27] => 158
    [user_busy_sms] => 158
    [28] => 5
    [user_congestion_sms] => 5
    [29] => 86
    [user_failed_sms] => 86
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 244
    [user_no_answer_sms] => 244
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 326
    [user_dnd_sms] => 326
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u22468
    [created_by] => u22468
    [38] => 0
    [isScheduled] => 0
    [39] => 1760682974
    [create_date] => 1760682974
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760682981,"compaign_read_start_time":1760682983,"compaign_read_complete_time":1760682989,"compaign_send_start_time":1760683022,"compaign_send_complete_time":1760683026}
    [action_time] => {"api_allot_time":1760682981,"compaign_read_start_time":1760682983,"compaign_read_complete_time":1760682989,"compaign_send_start_time":1760683022,"compaign_send_complete_time":1760683026}
    [50] => 0
    [compaign_file] => 0
    [51] => u22468_66376_17102025_120620PM_698
    [common_name] => u22468_66376_17102025_120620PM_698
    [52] => 1760682973_u22468_voice.wav
    [voice_file] => 1760682973_u22468_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_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_58016
    [temp_group_table] => contacts_temp_group_58016
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760683262
    [last_credit_update_time] => 1760683262
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1719
    [user_voice_plan_id] => 1719
    [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,sr173,u22468
    [uphierarchy] => admin,sr173,u22468
    [113] => 
    [extra_params_json] => 
)


Compaign : 66376
\compaign_type : Rans per 26.49016 
ans sms 2003
dnd sms 326

require answer perrequire answer per : 445

user answer per : 413
below is the redis data 32 UPDATE voice_compaign_detail_66376 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 32 Total Failed : 740 no_answer_count : 247 Busy count :190 congestion_count : 88 failed_count : 215UPDATE voice_compaign_detail_66376 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 247 UPDATE voice_compaign_detail_66376 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 190 UPDATE voice_compaign_detail_66376 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 88 UPDATE voice_compaign_detail_66376 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 215 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='445', `user_busy_sms`='348', `user_congestion_sms`='92', `user_failed_sms`='301', `user_hangup_sms`='0', `user_no_answer_sms`='491', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='326' WHERE `compaign_id`=66376 LIMIT 1 


Time Diff : 0.141

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760424181'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760424241'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760424301'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760424361'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760424421'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760424482'  
Array
(
    [0] => 66350
    [compaign_id] => 66350
    [1] => u20123
    [user_id] => u20123
    [2] => 58003,
    [group_ids] => 58003,
    [3] => 
    [sender_id] => 
    [4] => Nisha_आपके_लिए-volume-adjusted.wav
    [filename] => Nisha_आपके_लिए-volume-adjusted.wav
    [5] => 20
    [duration] => 20
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760680791
    [start_date] => 1760680791
    [9] => 0
    [end_date] => 0
    [10] => 48433
    [total_sms] => 48433
    [11] => 48433
    [sent_sms] => 48433
    [12] => 0
    [duplicate_sms] => 0
    [13] => 2755
    [answered_sms] => 2755
    [14] => 3174
    [busy_sms] => 3174
    [15] => 44
    [congestion_sms] => 44
    [16] => 4927
    [failed_sms] => 4927
    [17] => 0
    [hangup_sms] => 0
    [18] => 2247
    [no_answer_sms] => 2247
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 35286
    [cutting_sms] => 35286
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 2755
    [user_answered_sms] => 2755
    [27] => 3174
    [user_busy_sms] => 3174
    [28] => 44
    [user_congestion_sms] => 44
    [29] => 4927
    [user_failed_sms] => 4927
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2247
    [user_no_answer_sms] => 2247
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u20123
    [created_by] => u20123
    [38] => 0
    [isScheduled] => 0
    [39] => 1760680763
    [create_date] => 1760680763
    [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":1760680804,"compaign_read_start_time":1760680805,"compaign_read_complete_time":1760680885,"compaign_send_start_time":1760680922,"compaign_send_complete_time":1760681070}
    [action_time] => {"api_allot_time":1760680804,"compaign_read_start_time":1760680805,"compaign_read_complete_time":1760680885,"compaign_send_start_time":1760680922,"compaign_send_complete_time":1760681070}
    [50] => 0
    [compaign_file] => 0
    [51] => u20123_66350_17102025_113003AM_334
    [common_name] => u20123_66350_17102025_113003AM_334
    [52] => 1758275916_u20123_voice.wav
    [voice_file] => 1758275916_u20123_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_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_58003
    [temp_group_table] => contacts_temp_group_58003
    [61] => 0
    [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] => 13
    [credit_seq] => 13
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760683622
    [last_credit_update_time] => 1760683622
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1671
    [user_voice_plan_id] => 1671
    [85] => 11
    [voice_plan_id] => 11
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.0009
    [pulse_rate] => 0.0009
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 7
    [dtmf_wait_time] => 7
    [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,u20123
    [uphierarchy] => admin,u20123
    [113] => 
    [extra_params_json] => 
)


Compaign : 66350
\compaign_type : Rans per 28.1853 
ans sms 48433
dnd sms 0

require answer perrequire answer per : 13651

user answer per : 2755
below is the redis data 10896 UPDATE voice_compaign_detail_66350 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 10896 Total Failed : 24407 no_answer_count : 8138 Busy count :6263 congestion_count : 2898 failed_count : 7108UPDATE voice_compaign_detail_66350 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 8138 UPDATE voice_compaign_detail_66350 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 6263 UPDATE voice_compaign_detail_66350 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 2898 UPDATE voice_compaign_detail_66350 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 7108 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='13651', `user_busy_sms`='9437', `user_congestion_sms`='2925', `user_failed_sms`='12035', `user_hangup_sms`='0', `user_no_answer_sms`='10385', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66350 LIMIT 1 


Time Diff : 0.021

Array
(
    [0] => 66363
    [compaign_id] => 66363
    [1] => u288
    [user_id] => u288
    [2] => 58010,
    [group_ids] => 58010,
    [3] => 
    [sender_id] => 
    [4] => mp3-output-ttsfree(dot)com (2).mp3
    [filename] => mp3-output-ttsfree(dot)com (2).mp3
    [5] => 12
    [duration] => 12
    [6] => 1
    [credits_per_sms] => 1
    [7] => 15
    [user_pulse] => 15
    [8] => 1760681822
    [start_date] => 1760681822
    [9] => 0
    [end_date] => 0
    [10] => 149
    [total_sms] => 149
    [11] => 149
    [sent_sms] => 149
    [12] => 0
    [duplicate_sms] => 0
    [13] => 11
    [answered_sms] => 11
    [14] => 37
    [busy_sms] => 37
    [15] => 0
    [congestion_sms] => 0
    [16] => 55
    [failed_sms] => 55
    [17] => 0
    [hangup_sms] => 0
    [18] => 18
    [no_answer_sms] => 18
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 28
    [cutting_sms] => 28
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 11
    [user_answered_sms] => 11
    [27] => 37
    [user_busy_sms] => 37
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 55
    [user_failed_sms] => 55
    [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] => u288
    [created_by] => u288
    [38] => 0
    [isScheduled] => 0
    [39] => 1760681822
    [create_date] => 1760681822
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760681828,"compaign_read_start_time":1760681830,"compaign_read_complete_time":1760681830,"compaign_send_start_time":1760681882,"compaign_send_complete_time":1760681885}
    [action_time] => {"api_allot_time":1760681828,"compaign_read_start_time":1760681830,"compaign_read_complete_time":1760681830,"compaign_send_start_time":1760681882,"compaign_send_complete_time":1760681885}
    [50] => 0
    [compaign_file] => 0
    [51] => u288_66363_17102025_114707AM_658
    [common_name] => u288_66363_17102025_114707AM_658
    [52] => 1731909711_u288_voice.wav
    [voice_file] => 1731909711_u288_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_58010
    [temp_group_table] => contacts_temp_group_58010
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 9
    [credit_seq] => 9
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760683621
    [last_credit_update_time] => 1760683621
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 504
    [user_voice_plan_id] => 504
    [85] => 54
    [voice_plan_id] => 54
    [86] => 0
    [gateway_id] => 0
    [87] => 15
    [pulse] => 15
    [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,sr33,sr101,sr147,u288
    [uphierarchy] => admin,sr33,sr101,sr147,u288
    [113] => 
    [extra_params_json] => 
)


Compaign : 66363
\compaign_type : Rans per 26.6021 
ans sms 149
dnd sms 0

require answer perrequire answer per : 40

user answer per : 11
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_66363 SET user_report='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_66363 SET user_report='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 : 13 no_answer_count : 5 Busy count :4 congestion_count : 2 failed_count : 2UPDATE voice_compaign_detail_66363 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 5 UPDATE voice_compaign_detail_66363 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 4 UPDATE voice_compaign_detail_66363 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 2 UPDATE voice_compaign_detail_66363 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`='39', `user_congestion_sms`='2', `user_failed_sms`='30', `user_hangup_sms`='0', `user_no_answer_sms`='38', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66363 LIMIT 1 


Time Diff : 1.98

Array
(
    [0] => 66378
    [compaign_id] => 66378
    [1] => u288
    [user_id] => u288
    [2] => 58018,
    [group_ids] => 58018,
    [3] => 
    [sender_id] => 
    [4] => mp3-output-ttsfree(dot)com (2).mp3
    [filename] => mp3-output-ttsfree(dot)com (2).mp3
    [5] => 12
    [duration] => 12
    [6] => 1
    [credits_per_sms] => 1
    [7] => 15
    [user_pulse] => 15
    [8] => 1760683111
    [start_date] => 1760683111
    [9] => 0
    [end_date] => 0
    [10] => 201
    [total_sms] => 201
    [11] => 201
    [sent_sms] => 201
    [12] => 0
    [duplicate_sms] => 0
    [13] => 14
    [answered_sms] => 14
    [14] => 45
    [busy_sms] => 45
    [15] => 1
    [congestion_sms] => 1
    [16] => 66
    [failed_sms] => 66
    [17] => 0
    [hangup_sms] => 0
    [18] => 30
    [no_answer_sms] => 30
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 45
    [cutting_sms] => 45
    [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] => 45
    [user_busy_sms] => 45
    [28] => 1
    [user_congestion_sms] => 1
    [29] => 66
    [user_failed_sms] => 66
    [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] => u288
    [created_by] => u288
    [38] => 0
    [isScheduled] => 0
    [39] => 1760683111
    [create_date] => 1760683111
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760683117,"compaign_read_start_time":1760683118,"compaign_read_complete_time":1760683118,"compaign_send_start_time":1760683141,"compaign_send_complete_time":1760683143}
    [action_time] => {"api_allot_time":1760683117,"compaign_read_start_time":1760683118,"compaign_read_complete_time":1760683118,"compaign_send_start_time":1760683141,"compaign_send_complete_time":1760683143}
    [50] => 0
    [compaign_file] => 0
    [51] => u288_66378_17102025_120836PM_202
    [common_name] => u288_66378_17102025_120836PM_202
    [52] => 1731909711_u288_voice.wav
    [voice_file] => 1731909711_u288_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_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_58018
    [temp_group_table] => contacts_temp_group_58018
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => 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] => 1760683502
    [reschedule_last_check_time] => 1760683502
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760683621
    [last_credit_update_time] => 1760683621
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 504
    [user_voice_plan_id] => 504
    [85] => 54
    [voice_plan_id] => 54
    [86] => 0
    [gateway_id] => 0
    [87] => 15
    [pulse] => 15
    [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,sr33,sr101,sr147,u288
    [uphierarchy] => admin,sr33,sr101,sr147,u288
    [113] => 
    [extra_params_json] => 
)


Compaign : 66378
\compaign_type : Rans per 28.05648 
ans sms 201
dnd sms 0

require answer perrequire answer per : 57

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


Time Diff : 1.154

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760424541'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760424602'  
Array
(
    [0] => 66377
    [compaign_id] => 66377
    [1] => u22470
    [user_id] => u22470
    [2] => 58017,
    [group_ids] => 58017,
    [3] => 
    [sender_id] => 
    [4] => MANOJ JEWALERS_KENDRAPADA_DHANTERASA25.mp3
    [filename] => MANOJ JEWALERS_KENDRAPADA_DHANTERASA25.mp3
    [5] => 29
    [duration] => 29
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760683011
    [start_date] => 1760683011
    [9] => 0
    [end_date] => 0
    [10] => 1356
    [total_sms] => 1356
    [11] => 1356
    [sent_sms] => 1356
    [12] => 0
    [duplicate_sms] => 0
    [13] => 178
    [answered_sms] => 178
    [14] => 93
    [busy_sms] => 93
    [15] => 4
    [congestion_sms] => 4
    [16] => 243
    [failed_sms] => 243
    [17] => 0
    [hangup_sms] => 0
    [18] => 209
    [no_answer_sms] => 209
    [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] => 178
    [user_answered_sms] => 178
    [27] => 93
    [user_busy_sms] => 93
    [28] => 4
    [user_congestion_sms] => 4
    [29] => 243
    [user_failed_sms] => 243
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 209
    [user_no_answer_sms] => 209
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u22470
    [created_by] => u22470
    [38] => 0
    [isScheduled] => 0
    [39] => 1760683008
    [create_date] => 1760683008
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760683023,"compaign_read_start_time":1760683024,"compaign_read_complete_time":1760683026,"compaign_send_start_time":1760683082,"compaign_send_complete_time":1760683086}
    [action_time] => {"api_allot_time":1760683023,"compaign_read_start_time":1760683024,"compaign_read_complete_time":1760683026,"compaign_send_start_time":1760683082,"compaign_send_complete_time":1760683086}
    [50] => 0
    [compaign_file] => 0
    [51] => u22470_66377_17102025_120702PM_744
    [common_name] => u22470_66377_17102025_120702PM_744
    [52] => 1760683008_u22470_voice.wav
    [voice_file] => 1760683008_u22470_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_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_58017
    [temp_group_table] => contacts_temp_group_58017
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => 1760683741
    [last_credit_update_time] => 1760683741
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1723
    [user_voice_plan_id] => 1723
    [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,sr27,sr87,u22470
    [uphierarchy] => admin,sr27,sr87,u22470
    [113] => 
    [extra_params_json] => 
)


Compaign : 66377
\compaign_type : Rans per 30.34586 
ans sms 1356
dnd sms 0

require answer perrequire answer per : 412

user answer per : 178
below is the redis data 234 UPDATE voice_compaign_detail_66377 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 234 Total Failed : 396 no_answer_count : 133 Busy count :102 congestion_count : 48 failed_count : 113UPDATE voice_compaign_detail_66377 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 133 UPDATE voice_compaign_detail_66377 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 102 UPDATE voice_compaign_detail_66377 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 48 UPDATE voice_compaign_detail_66377 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`='412', `user_busy_sms`='195', `user_congestion_sms`='51', `user_failed_sms`='356', `user_hangup_sms`='0', `user_no_answer_sms`='342', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66377 LIMIT 1 


Time Diff : 0.273

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760424662'  
Array
(
    [0] => 66381
    [compaign_id] => 66381
    [1] => u179
    [user_id] => u179
    [2] => 58020,
    [group_ids] => 58020,
    [3] => 
    [sender_id] => 
    [4] => NEW DIWALI OFFER VOICE.mp3
    [filename] => NEW DIWALI OFFER VOICE.mp3
    [5] => 21
    [duration] => 21
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760682600
    [start_date] => 1760682600
    [9] => 0
    [end_date] => 0
    [10] => 2689
    [total_sms] => 2689
    [11] => 2689
    [sent_sms] => 2689
    [12] => 0
    [duplicate_sms] => 0
    [13] => 124
    [answered_sms] => 124
    [14] => 681
    [busy_sms] => 681
    [15] => 0
    [congestion_sms] => 0
    [16] => 141
    [failed_sms] => 141
    [17] => 0
    [hangup_sms] => 0
    [18] => 211
    [no_answer_sms] => 211
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 988
    [cutting_sms] => 988
    [22] => 544
    [dnd_sms] => 544
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 124
    [user_answered_sms] => 124
    [27] => 681
    [user_busy_sms] => 681
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 141
    [user_failed_sms] => 141
    [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] => 544
    [user_dnd_sms] => 544
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u179
    [created_by] => u179
    [38] => 1
    [isScheduled] => 1
    [39] => 1760683337
    [create_date] => 1760683337
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760683338,"compaign_read_start_time":1760683339,"compaign_read_complete_time":1760683347,"compaign_send_start_time":1760683382,"compaign_send_complete_time":1760683386}
    [action_time] => {"api_allot_time":1760683338,"compaign_read_start_time":1760683339,"compaign_read_complete_time":1760683347,"compaign_send_start_time":1760683382,"compaign_send_complete_time":1760683386}
    [50] => 0
    [compaign_file] => 0
    [51] => u179_66381_17102025_121217PM_376
    [common_name] => u179_66381_17102025_121217PM_376
    [52] => 1759899987_u179_voice.wav
    [voice_file] => 1759899987_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_58020
    [temp_group_table] => contacts_temp_group_58020
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [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] => 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] => 1760683802
    [last_credit_update_time] => 1760683802
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 336
    [user_voice_plan_id] => 336
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.3
    [pulse_rate] => 0.3
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":"2","FFL":"2"}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":"2","FFL":"2"}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr3,u179
    [uphierarchy] => admin,sr3,u179
    [113] => 
    [extra_params_json] => 
)


Compaign : 66381
\compaign_type : Rans per 25.76635 
ans sms 2689
dnd sms 544

require answer perrequire answer per : 553

user answer per : 124
below is the redis data 429 /n/r
only no answer and busy will be convert, total number require 429 /n/r
UPDATE voice_compaign_detail_66381 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 301 UPDATE voice_compaign_detail_66381 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 301 Total Failed : 470 no_answer_count : 157 Busy count :121 congestion_count : 56 failed_count : 136UPDATE voice_compaign_detail_66381 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 157 UPDATE voice_compaign_detail_66381 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 121 UPDATE voice_compaign_detail_66381 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 56 UPDATE voice_compaign_detail_66381 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`='553', `user_busy_sms`='769', `user_congestion_sms`='56', `user_failed_sms`='193', `user_hangup_sms`='0', `user_no_answer_sms`='574', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='544' WHERE `compaign_id`=66381 LIMIT 1 


Time Diff : 0.173

Array
(
    [0] => 66380
    [compaign_id] => 66380
    [1] => u179
    [user_id] => u179
    [2] => 58019,
    [group_ids] => 58019,
    [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] => 1760683500
    [start_date] => 1760683500
    [9] => 0
    [end_date] => 0
    [10] => 66
    [total_sms] => 66
    [11] => 66
    [sent_sms] => 66
    [12] => 0
    [duplicate_sms] => 0
    [13] => 1
    [answered_sms] => 1
    [14] => 15
    [busy_sms] => 15
    [15] => 0
    [congestion_sms] => 0
    [16] => 19
    [failed_sms] => 19
    [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] => 19
    [dnd_sms] => 19
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 1
    [user_answered_sms] => 1
    [27] => 15
    [user_busy_sms] => 15
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 19
    [user_failed_sms] => 19
    [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] => 19
    [user_dnd_sms] => 19
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u179
    [created_by] => u179
    [38] => 1
    [isScheduled] => 1
    [39] => 1760683329
    [create_date] => 1760683329
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760683507,"compaign_read_start_time":1760683508,"compaign_read_complete_time":1760683508,"compaign_send_start_time":1760683561,"compaign_send_complete_time":1760683562}
    [action_time] => {"api_allot_time":1760683507,"compaign_read_start_time":1760683508,"compaign_read_complete_time":1760683508,"compaign_send_start_time":1760683561,"compaign_send_complete_time":1760683562}
    [50] => 0
    [compaign_file] => 0
    [51] => u179_66380_17102025_121506PM_650
    [common_name] => u179_66380_17102025_121506PM_650
    [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_58019
    [temp_group_table] => contacts_temp_group_58019
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [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] => 1760683802
    [last_credit_update_time] => 1760683802
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 336
    [user_voice_plan_id] => 336
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.3
    [pulse_rate] => 0.3
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":"2","FFL":"2"}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":"2","FFL":"2"}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr3,u179
    [uphierarchy] => admin,sr3,u179
    [113] => 
    [extra_params_json] => 
)


Compaign : 66380
\compaign_type : Rans per 26.85243 
ans sms 66
dnd sms 19

require answer perrequire answer per : 13

user answer per : 1
below is the redis data 12 /n/r
only no answer and busy will be convert, total number require 12 /n/r
UPDATE voice_compaign_detail_66380 SET user_report='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_66380 SET user_report='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 : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

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


Time Diff : 4.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>'1760424721'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760424781'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760424841'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760424902'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760424961'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760425022'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760425081'  
Array
(
    [0] => 66389
    [compaign_id] => 66389
    [1] => u288
    [user_id] => u288
    [2] => 58026,
    [group_ids] => 58026,
    [3] => 
    [sender_id] => 
    [4] => mp3-output-ttsfree(dot)com (2).mp3
    [filename] => mp3-output-ttsfree(dot)com (2).mp3
    [5] => 12
    [duration] => 12
    [6] => 1
    [credits_per_sms] => 1
    [7] => 15
    [user_pulse] => 15
    [8] => 1760683922
    [start_date] => 1760683922
    [9] => 0
    [end_date] => 0
    [10] => 109
    [total_sms] => 109
    [11] => 109
    [sent_sms] => 109
    [12] => 0
    [duplicate_sms] => 0
    [13] => 7
    [answered_sms] => 7
    [14] => 25
    [busy_sms] => 25
    [15] => 0
    [congestion_sms] => 0
    [16] => 61
    [failed_sms] => 61
    [17] => 0
    [hangup_sms] => 0
    [18] => 12
    [no_answer_sms] => 12
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 4
    [cutting_sms] => 4
    [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] => 25
    [user_busy_sms] => 25
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 61
    [user_failed_sms] => 61
    [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] => u288
    [created_by] => u288
    [38] => 0
    [isScheduled] => 0
    [39] => 1760683922
    [create_date] => 1760683922
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760683928,"compaign_read_start_time":1760683930,"compaign_read_complete_time":1760683930,"compaign_send_start_time":1760683981,"compaign_send_complete_time":1760683982}
    [action_time] => {"api_allot_time":1760683928,"compaign_read_start_time":1760683930,"compaign_read_complete_time":1760683930,"compaign_send_start_time":1760683981,"compaign_send_complete_time":1760683982}
    [50] => 0
    [compaign_file] => 0
    [51] => u288_66389_17102025_122207PM_662
    [common_name] => u288_66389_17102025_122207PM_662
    [52] => 1731909711_u288_voice.wav
    [voice_file] => 1731909711_u288_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_58026
    [temp_group_table] => contacts_temp_group_58026
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760684222
    [last_credit_update_time] => 1760684222
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 504
    [user_voice_plan_id] => 504
    [85] => 54
    [voice_plan_id] => 54
    [86] => 0
    [gateway_id] => 0
    [87] => 15
    [pulse] => 15
    [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,sr33,sr101,sr147,u288
    [uphierarchy] => admin,sr33,sr101,sr147,u288
    [113] => 
    [extra_params_json] => 
)


Compaign : 66389
\compaign_type : Rans per 29.83033 
ans sms 109
dnd sms 0

require answer perrequire answer per : 33

user answer per : 7
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_66389 SET user_report='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_66389 SET user_report='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 : 3 no_answer_count : 2 Busy count :1 congestion_count : 1 failed_count : -1UPDATE voice_compaign_detail_66389 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 2 UPDATE voice_compaign_detail_66389 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 1 UPDATE voice_compaign_detail_66389 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 1 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

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


Time Diff : 2.56

Array
(
    [0] => 66390
    [compaign_id] => 66390
    [1] => u288
    [user_id] => u288
    [2] => 58024,
    [group_ids] => 58024,
    [3] => 
    [sender_id] => 
    [4] => mp3-output-ttsfree(dot)com (2).mp3
    [filename] => mp3-output-ttsfree(dot)com (2).mp3
    [5] => 12
    [duration] => 12
    [6] => 1
    [credits_per_sms] => 1
    [7] => 15
    [user_pulse] => 15
    [8] => 1760683922
    [start_date] => 1760683922
    [9] => 0
    [end_date] => 0
    [10] => 144
    [total_sms] => 144
    [11] => 144
    [sent_sms] => 144
    [12] => 0
    [duplicate_sms] => 0
    [13] => 12
    [answered_sms] => 12
    [14] => 25
    [busy_sms] => 25
    [15] => 0
    [congestion_sms] => 0
    [16] => 72
    [failed_sms] => 72
    [17] => 0
    [hangup_sms] => 0
    [18] => 13
    [no_answer_sms] => 13
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 22
    [cutting_sms] => 22
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 12
    [user_answered_sms] => 12
    [27] => 25
    [user_busy_sms] => 25
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 72
    [user_failed_sms] => 72
    [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] => u288
    [created_by] => u288
    [38] => 0
    [isScheduled] => 0
    [39] => 1760683922
    [create_date] => 1760683922
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760683928,"compaign_read_start_time":1760683933,"compaign_read_complete_time":1760683933,"compaign_send_start_time":1760683981,"compaign_send_complete_time":1760683982}
    [action_time] => {"api_allot_time":1760683928,"compaign_read_start_time":1760683933,"compaign_read_complete_time":1760683933,"compaign_send_start_time":1760683981,"compaign_send_complete_time":1760683982}
    [50] => 0
    [compaign_file] => 0
    [51] => u288_66390_17102025_122207PM_115
    [common_name] => u288_66390_17102025_122207PM_115
    [52] => 1731909711_u288_voice.wav
    [voice_file] => 1731909711_u288_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_58024
    [temp_group_table] => contacts_temp_group_58024
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760684222
    [last_credit_update_time] => 1760684222
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 504
    [user_voice_plan_id] => 504
    [85] => 54
    [voice_plan_id] => 54
    [86] => 0
    [gateway_id] => 0
    [87] => 15
    [pulse] => 15
    [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,sr33,sr101,sr147,u288
    [uphierarchy] => admin,sr33,sr101,sr147,u288
    [113] => 
    [extra_params_json] => 
)


Compaign : 66390
\compaign_type : Rans per 30.93427 
ans sms 144
dnd sms 0

require answer perrequire answer per : 45

user answer per : 12
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_66390 SET user_report='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_66390 SET user_report='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 : 10 no_answer_count : 4 Busy count :3 congestion_count : 2 failed_count : 1UPDATE voice_compaign_detail_66390 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 4 UPDATE voice_compaign_detail_66390 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 3 UPDATE voice_compaign_detail_66390 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 2 UPDATE voice_compaign_detail_66390 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`='45', `user_busy_sms`='29', `user_congestion_sms`='2', `user_failed_sms`='37', `user_hangup_sms`='0', `user_no_answer_sms`='31', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66390 LIMIT 1 


Time Diff : 1.938

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


Compaign : 66242
\compaign_type : ATans per 30.14327 
ans sms 9339
dnd sms 0

require answer perrequire answer per : 2816

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='60', `user_busy_sms`='2249', `user_congestion_sms`='0', `user_failed_sms`='6552', `user_hangup_sms`='0', `user_no_answer_sms`='478', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


Time Diff : 0.981

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760425501'  
Array
(
    [0] => 66388
    [compaign_id] => 66388
    [1] => u179
    [user_id] => u179
    [2] => 58025,
    [group_ids] => 58025,
    [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] => 1760684400
    [start_date] => 1760684400
    [9] => 0
    [end_date] => 0
    [10] => 53
    [total_sms] => 53
    [11] => 53
    [sent_sms] => 53
    [12] => 0
    [duplicate_sms] => 0
    [13] => 2
    [answered_sms] => 2
    [14] => 9
    [busy_sms] => 9
    [15] => 0
    [congestion_sms] => 0
    [16] => 18
    [failed_sms] => 18
    [17] => 0
    [hangup_sms] => 0
    [18] => 5
    [no_answer_sms] => 5
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 19
    [dnd_sms] => 19
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 2
    [user_answered_sms] => 2
    [27] => 9
    [user_busy_sms] => 9
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 18
    [user_failed_sms] => 18
    [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] => 19
    [user_dnd_sms] => 19
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u179
    [created_by] => u179
    [38] => 1
    [isScheduled] => 1
    [39] => 1760683922
    [create_date] => 1760683922
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760684407,"compaign_read_start_time":1760684408,"compaign_read_complete_time":1760684408,"compaign_send_start_time":1760684462,"compaign_send_complete_time":1760684462}
    [action_time] => {"api_allot_time":1760684407,"compaign_read_start_time":1760684408,"compaign_read_complete_time":1760684408,"compaign_send_start_time":1760684462,"compaign_send_complete_time":1760684462}
    [50] => 0
    [compaign_file] => 0
    [51] => u179_66388_17102025_123006PM_349
    [common_name] => u179_66388_17102025_123006PM_349
    [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_58025
    [temp_group_table] => contacts_temp_group_58025
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [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] => 1760684642
    [last_credit_update_time] => 1760684642
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 336
    [user_voice_plan_id] => 336
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.3
    [pulse_rate] => 0.3
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":"2","FFL":"2"}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":"2","FFL":"2"}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr3,u179
    [uphierarchy] => admin,sr3,u179
    [113] => 
    [extra_params_json] => 
)


Compaign : 66388
\compaign_type : Rans per 26.71943 
ans sms 53
dnd sms 19

require answer perrequire answer per : 10

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='10', `user_busy_sms`='11', `user_congestion_sms`='0', `user_failed_sms`='6', `user_hangup_sms`='0', `user_no_answer_sms`='7', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='19' WHERE `compaign_id`=66388 LIMIT 1 


Time Diff : 4.151

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760425562'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760425621'  
Array
(
    [0] => 66393
    [compaign_id] => 66393
    [1] => u179
    [user_id] => u179
    [2] => 58028,
    [group_ids] => 58028,
    [3] => 
    [sender_id] => 
    [4] => NEW DIWALI OFFER VOICE.mp3
    [filename] => NEW DIWALI OFFER VOICE.mp3
    [5] => 21
    [duration] => 21
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760683500
    [start_date] => 1760683500
    [9] => 0
    [end_date] => 0
    [10] => 2136
    [total_sms] => 2136
    [11] => 2136
    [sent_sms] => 2136
    [12] => 0
    [duplicate_sms] => 0
    [13] => 71
    [answered_sms] => 71
    [14] => 465
    [busy_sms] => 465
    [15] => 0
    [congestion_sms] => 0
    [16] => 124
    [failed_sms] => 124
    [17] => 0
    [hangup_sms] => 0
    [18] => 139
    [no_answer_sms] => 139
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 793
    [cutting_sms] => 793
    [22] => 544
    [dnd_sms] => 544
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 71
    [user_answered_sms] => 71
    [27] => 465
    [user_busy_sms] => 465
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 124
    [user_failed_sms] => 124
    [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] => 544
    [user_dnd_sms] => 544
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u179
    [created_by] => u179
    [38] => 1
    [isScheduled] => 1
    [39] => 1760684229
    [create_date] => 1760684229
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760684231,"compaign_read_start_time":1760684234,"compaign_read_complete_time":1760684240,"compaign_send_start_time":1760684281,"compaign_send_complete_time":1760684285}
    [action_time] => {"api_allot_time":1760684231,"compaign_read_start_time":1760684234,"compaign_read_complete_time":1760684240,"compaign_send_start_time":1760684281,"compaign_send_complete_time":1760684285}
    [50] => 0
    [compaign_file] => 0
    [51] => u179_66393_17102025_122710PM_774
    [common_name] => u179_66393_17102025_122710PM_774
    [52] => 1759899987_u179_voice.wav
    [voice_file] => 1759899987_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_58028
    [temp_group_table] => contacts_temp_group_58028
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [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] => 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] => 1760684762
    [last_credit_update_time] => 1760684762
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 336
    [user_voice_plan_id] => 336
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.3
    [pulse_rate] => 0.3
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":"2","FFL":"2"}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":"2","FFL":"2"}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr3,u179
    [uphierarchy] => admin,sr3,u179
    [113] => 
    [extra_params_json] => 
)


Compaign : 66393
\compaign_type : Rans per 30.23852 
ans sms 2136
dnd sms 544

require answer perrequire answer per : 482

user answer per : 71
below is the redis data 411 /n/r
only no answer and busy will be convert, total number require 411 /n/r
UPDATE voice_compaign_detail_66393 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 288 UPDATE voice_compaign_detail_66393 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 288 Total Failed : 285 no_answer_count : 96 Busy count :74 congestion_count : 34 failed_count : 81UPDATE voice_compaign_detail_66393 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 96 UPDATE voice_compaign_detail_66393 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 74 UPDATE voice_compaign_detail_66393 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 34 UPDATE voice_compaign_detail_66393 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`='482', `user_busy_sms`='511', `user_congestion_sms`='34', `user_failed_sms`='137', `user_hangup_sms`='0', `user_no_answer_sms`='428', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='544' WHERE `compaign_id`=66393 LIMIT 1 


Time Diff : 0.243

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760425681'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760425742'  
Array
(
    [0] => 66387
    [compaign_id] => 66387
    [1] => u20123
    [user_id] => u20123
    [2] => 58023,
    [group_ids] => 58023,
    [3] => 
    [sender_id] => 
    [4] => Nisha_आपके_लिए-volume-adjusted.wav
    [filename] => Nisha_आपके_लिए-volume-adjusted.wav
    [5] => 20
    [duration] => 20
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760683919
    [start_date] => 1760683919
    [9] => 0
    [end_date] => 0
    [10] => 49220
    [total_sms] => 49220
    [11] => 49220
    [sent_sms] => 49220
    [12] => 0
    [duplicate_sms] => 0
    [13] => 2634
    [answered_sms] => 2634
    [14] => 3673
    [busy_sms] => 3673
    [15] => 38
    [congestion_sms] => 38
    [16] => 5162
    [failed_sms] => 5162
    [17] => 0
    [hangup_sms] => 0
    [18] => 2343
    [no_answer_sms] => 2343
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 35370
    [cutting_sms] => 35370
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 2634
    [user_answered_sms] => 2634
    [27] => 3673
    [user_busy_sms] => 3673
    [28] => 38
    [user_congestion_sms] => 38
    [29] => 5162
    [user_failed_sms] => 5162
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2343
    [user_no_answer_sms] => 2343
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u20123
    [created_by] => u20123
    [38] => 0
    [isScheduled] => 0
    [39] => 1760683892
    [create_date] => 1760683892
    [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":1760683926,"compaign_read_start_time":1760683927,"compaign_read_complete_time":1760684001,"compaign_send_start_time":1760684042,"compaign_send_complete_time":1760684194}
    [action_time] => {"api_allot_time":1760683926,"compaign_read_start_time":1760683927,"compaign_read_complete_time":1760684001,"compaign_send_start_time":1760684042,"compaign_send_complete_time":1760684194}
    [50] => 0
    [compaign_file] => 0
    [51] => u20123_66387_17102025_122205PM_275
    [common_name] => u20123_66387_17102025_122205PM_275
    [52] => 1758275916_u20123_voice.wav
    [voice_file] => 1758275916_u20123_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_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_58023
    [temp_group_table] => contacts_temp_group_58023
    [61] => 0
    [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] => 5
    [credit_seq] => 5
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760684881
    [last_credit_update_time] => 1760684881
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1671
    [user_voice_plan_id] => 1671
    [85] => 11
    [voice_plan_id] => 11
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.0009
    [pulse_rate] => 0.0009
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 7
    [dtmf_wait_time] => 7
    [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,u20123
    [uphierarchy] => admin,u20123
    [113] => 
    [extra_params_json] => 
)


Compaign : 66387
\compaign_type : Rans per 27.82842 
ans sms 49220
dnd sms 0

require answer perrequire answer per : 13698

user answer per : 2634
below is the redis data 11064 UPDATE voice_compaign_detail_66387 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 11064 Total Failed : 24326 no_answer_count : 8111 Busy count :6243 congestion_count : 2888 failed_count : 7084UPDATE voice_compaign_detail_66387 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 8111 UPDATE voice_compaign_detail_66387 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 6243 UPDATE voice_compaign_detail_66387 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 2888 UPDATE voice_compaign_detail_66387 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 7084 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='13698', `user_busy_sms`='9916', `user_congestion_sms`='2906', `user_failed_sms`='12246', `user_hangup_sms`='0', `user_no_answer_sms`='10454', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66387 LIMIT 1 


Time Diff : 0.018

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760425801'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760425862'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760425921'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760425981'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760426041'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760426110'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760426161'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760426221'  
Array
(
    [0] => 66402
    [compaign_id] => 66402
    [1] => u179
    [user_id] => u179
    [2] => 58031,
    [group_ids] => 58031,
    [3] => 
    [sender_id] => 
    [4] => NEW DIWALI OFFER VOICE.mp3
    [filename] => NEW DIWALI OFFER VOICE.mp3
    [5] => 21
    [duration] => 21
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760684400
    [start_date] => 1760684400
    [9] => 0
    [end_date] => 0
    [10] => 1654
    [total_sms] => 1654
    [11] => 1654
    [sent_sms] => 1654
    [12] => 0
    [duplicate_sms] => 0
    [13] => 39
    [answered_sms] => 39
    [14] => 318
    [busy_sms] => 318
    [15] => 0
    [congestion_sms] => 0
    [16] => 143
    [failed_sms] => 143
    [17] => 0
    [hangup_sms] => 0
    [18] => 87
    [no_answer_sms] => 87
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 523
    [cutting_sms] => 523
    [22] => 544
    [dnd_sms] => 544
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 39
    [user_answered_sms] => 39
    [27] => 318
    [user_busy_sms] => 318
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 143
    [user_failed_sms] => 143
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 87
    [user_no_answer_sms] => 87
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 544
    [user_dnd_sms] => 544
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u179
    [created_by] => u179
    [38] => 1
    [isScheduled] => 1
    [39] => 1760685128
    [create_date] => 1760685128
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760685130,"compaign_read_start_time":1760685133,"compaign_read_complete_time":1760685136,"compaign_send_start_time":1760685182,"compaign_send_complete_time":1760685191}
    [action_time] => {"api_allot_time":1760685130,"compaign_read_start_time":1760685133,"compaign_read_complete_time":1760685136,"compaign_send_start_time":1760685182,"compaign_send_complete_time":1760685191}
    [50] => 0
    [compaign_file] => 0
    [51] => u179_66402_17102025_124209PM_477
    [common_name] => u179_66402_17102025_124209PM_477
    [52] => 1759899987_u179_voice.wav
    [voice_file] => 1759899987_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_58031
    [temp_group_table] => contacts_temp_group_58031
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [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] => 1760685421
    [last_credit_update_time] => 1760685421
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 336
    [user_voice_plan_id] => 336
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.3
    [pulse_rate] => 0.3
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":"2","FFL":"2"}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":"2","FFL":"2"}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr3,u179
    [uphierarchy] => admin,sr3,u179
    [113] => 
    [extra_params_json] => 
)


Compaign : 66402
\compaign_type : Rans per 30.28224 
ans sms 1654
dnd sms 544

require answer perrequire answer per : 337

user answer per : 39
below is the redis data 298 /n/r
only no answer and busy will be convert, total number require 298 /n/r
UPDATE voice_compaign_detail_66402 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 239 UPDATE voice_compaign_detail_66402 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 239 Total Failed : 150 no_answer_count : 51 Busy count :39 congestion_count : 18 failed_count : 42UPDATE voice_compaign_detail_66402 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 51 UPDATE voice_compaign_detail_66402 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 39 UPDATE voice_compaign_detail_66402 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 18 UPDATE voice_compaign_detail_66402 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`='337', `user_busy_sms`='355', `user_congestion_sms`='18', `user_failed_sms`='80', `user_hangup_sms`='0', `user_no_answer_sms`='320', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='544' WHERE `compaign_id`=66402 LIMIT 1 


Time Diff : 0.132

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760426282'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760426341'  
Array
(
    [0] => 66392
    [compaign_id] => 66392
    [1] => u20123
    [user_id] => u20123
    [2] => 58027,
    [group_ids] => 58027,
    [3] => 
    [sender_id] => 
    [4] => Nisha_आपके_लिए-volume-adjusted.wav
    [filename] => Nisha_आपके_लिए-volume-adjusted.wav
    [5] => 20
    [duration] => 20
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760684185
    [start_date] => 1760684185
    [9] => 0
    [end_date] => 0
    [10] => 49229
    [total_sms] => 49229
    [11] => 49229
    [sent_sms] => 49229
    [12] => 0
    [duplicate_sms] => 0
    [13] => 2340
    [answered_sms] => 2340
    [14] => 3331
    [busy_sms] => 3331
    [15] => 21
    [congestion_sms] => 21
    [16] => 4559
    [failed_sms] => 4559
    [17] => 0
    [hangup_sms] => 0
    [18] => 2132
    [no_answer_sms] => 2132
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 36846
    [cutting_sms] => 36846
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 2340
    [user_answered_sms] => 2340
    [27] => 3331
    [user_busy_sms] => 3331
    [28] => 21
    [user_congestion_sms] => 21
    [29] => 4559
    [user_failed_sms] => 4559
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2132
    [user_no_answer_sms] => 2132
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u20123
    [created_by] => u20123
    [38] => 0
    [isScheduled] => 0
    [39] => 1760684155
    [create_date] => 1760684155
    [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":1760684192,"compaign_read_start_time":1760684194,"compaign_read_complete_time":1760684274,"compaign_send_start_time":1760684281,"compaign_send_complete_time":1760684425}
    [action_time] => {"api_allot_time":1760684192,"compaign_read_start_time":1760684194,"compaign_read_complete_time":1760684274,"compaign_send_start_time":1760684281,"compaign_send_complete_time":1760684425}
    [50] => 0
    [compaign_file] => 0
    [51] => u20123_66392_17102025_122631PM_545
    [common_name] => u20123_66392_17102025_122631PM_545
    [52] => 1758275916_u20123_voice.wav
    [voice_file] => 1758275916_u20123_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_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_58027
    [temp_group_table] => contacts_temp_group_58027
    [61] => 0
    [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] => 6
    [credit_seq] => 6
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760685482
    [last_credit_update_time] => 1760685482
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1671
    [user_voice_plan_id] => 1671
    [85] => 11
    [voice_plan_id] => 11
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.0009
    [pulse_rate] => 0.0009
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 7
    [dtmf_wait_time] => 7
    [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,u20123
    [uphierarchy] => admin,u20123
    [113] => 
    [extra_params_json] => 
)


Compaign : 66392
\compaign_type : Rans per 30.96113 
ans sms 49229
dnd sms 0

require answer perrequire answer per : 15242

user answer per : 2340
below is the redis data 12902 UPDATE voice_compaign_detail_66392 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 12902 Total Failed : 23948 no_answer_count : 7985 Busy count :6146 congestion_count : 2843 failed_count : 6974UPDATE voice_compaign_detail_66392 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 7985 UPDATE voice_compaign_detail_66392 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 6146 UPDATE voice_compaign_detail_66392 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 2843 UPDATE voice_compaign_detail_66392 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 6974 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='15242', `user_busy_sms`='9477', `user_congestion_sms`='2860', `user_failed_sms`='11533', `user_hangup_sms`='0', `user_no_answer_sms`='10117', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66392 LIMIT 1 


Time Diff : 0.017

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760426401'  
Array
(
    [0] => 66397
    [compaign_id] => 66397
    [1] => u288
    [user_id] => u288
    [2] => 58030,
    [group_ids] => 58030,
    [3] => 
    [sender_id] => 
    [4] => mp3-output-ttsfree(dot)com (2).mp3
    [filename] => mp3-output-ttsfree(dot)com (2).mp3
    [5] => 12
    [duration] => 12
    [6] => 1
    [credits_per_sms] => 1
    [7] => 15
    [user_pulse] => 15
    [8] => 1760684523
    [start_date] => 1760684523
    [9] => 0
    [end_date] => 0
    [10] => 76
    [total_sms] => 76
    [11] => 76
    [sent_sms] => 76
    [12] => 0
    [duplicate_sms] => 0
    [13] => 1
    [answered_sms] => 1
    [14] => 4
    [busy_sms] => 4
    [15] => 0
    [congestion_sms] => 0
    [16] => 66
    [failed_sms] => 66
    [17] => 0
    [hangup_sms] => 0
    [18] => 5
    [no_answer_sms] => 5
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 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] => 4
    [user_busy_sms] => 4
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 66
    [user_failed_sms] => 66
    [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] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u288
    [created_by] => u288
    [38] => 0
    [isScheduled] => 0
    [39] => 1760684523
    [create_date] => 1760684523
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760684529,"compaign_read_start_time":1760684531,"compaign_read_complete_time":1760684531,"compaign_send_start_time":1760684581,"compaign_send_complete_time":1760684582}
    [action_time] => {"api_allot_time":1760684529,"compaign_read_start_time":1760684531,"compaign_read_complete_time":1760684531,"compaign_send_start_time":1760684581,"compaign_send_complete_time":1760684582}
    [50] => 0
    [compaign_file] => 0
    [51] => u288_66397_17102025_123208PM_319
    [common_name] => u288_66397_17102025_123208PM_319
    [52] => 1731909711_u288_voice.wav
    [voice_file] => 1731909711_u288_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_58030
    [temp_group_table] => contacts_temp_group_58030
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1760685542
    [last_credit_update_time] => 1760685542
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 504
    [user_voice_plan_id] => 504
    [85] => 54
    [voice_plan_id] => 54
    [86] => 0
    [gateway_id] => 0
    [87] => 15
    [pulse] => 15
    [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,sr33,sr101,sr147,u288
    [uphierarchy] => admin,sr33,sr101,sr147,u288
    [113] => 
    [extra_params_json] => 
)


Compaign : 66397
\compaign_type : Rans per 29.16585 
ans sms 76
dnd sms 0

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_66397 SET user_report='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_66397 SET user_report='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 : 0 no_answer_count : 0 Busy count :0 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`='17', `user_congestion_sms`='0', `user_failed_sms`='32', `user_hangup_sms`='0', `user_no_answer_sms`='17', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66397 LIMIT 1 


Time Diff : 3.974

Array
(
    [0] => 66398
    [compaign_id] => 66398
    [1] => u288
    [user_id] => u288
    [2] => 58029,
    [group_ids] => 58029,
    [3] => 
    [sender_id] => 
    [4] => mp3-output-ttsfree(dot)com (2).mp3
    [filename] => mp3-output-ttsfree(dot)com (2).mp3
    [5] => 12
    [duration] => 12
    [6] => 1
    [credits_per_sms] => 1
    [7] => 15
    [user_pulse] => 15
    [8] => 1760684523
    [start_date] => 1760684523
    [9] => 0
    [end_date] => 0
    [10] => 99
    [total_sms] => 99
    [11] => 99
    [sent_sms] => 99
    [12] => 0
    [duplicate_sms] => 0
    [13] => 6
    [answered_sms] => 6
    [14] => 9
    [busy_sms] => 9
    [15] => 0
    [congestion_sms] => 0
    [16] => 78
    [failed_sms] => 78
    [17] => 0
    [hangup_sms] => 0
    [18] => 6
    [no_answer_sms] => 6
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 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] => 9
    [user_busy_sms] => 9
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 78
    [user_failed_sms] => 78
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 6
    [user_no_answer_sms] => 6
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u288
    [created_by] => u288
    [38] => 0
    [isScheduled] => 0
    [39] => 1760684523
    [create_date] => 1760684523
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760684529,"compaign_read_start_time":1760684534,"compaign_read_complete_time":1760684534,"compaign_send_start_time":1760684581,"compaign_send_complete_time":1760684582}
    [action_time] => {"api_allot_time":1760684529,"compaign_read_start_time":1760684534,"compaign_read_complete_time":1760684534,"compaign_send_start_time":1760684581,"compaign_send_complete_time":1760684582}
    [50] => 0
    [compaign_file] => 0
    [51] => u288_66398_17102025_123208PM_497
    [common_name] => u288_66398_17102025_123208PM_497
    [52] => 1731909711_u288_voice.wav
    [voice_file] => 1731909711_u288_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_58029
    [temp_group_table] => contacts_temp_group_58029
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1760685542
    [last_credit_update_time] => 1760685542
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 504
    [user_voice_plan_id] => 504
    [85] => 54
    [voice_plan_id] => 54
    [86] => 0
    [gateway_id] => 0
    [87] => 15
    [pulse] => 15
    [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,sr33,sr101,sr147,u288
    [uphierarchy] => admin,sr33,sr101,sr147,u288
    [113] => 
    [extra_params_json] => 
)


Compaign : 66398
\compaign_type : Rans per 29.32236 
ans sms 99
dnd sms 0

require answer perrequire answer per : 30

user answer per : 6
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_66398 SET user_report='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_66398 SET user_report='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 : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='21', `user_busy_sms`='18', `user_congestion_sms`='0', `user_failed_sms`='42', `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`=66398 LIMIT 1 


Time Diff : 3.081

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760426462'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760426521'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760426582'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760426641'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760426701'  
Array
(
    [0] => 66410
    [compaign_id] => 66410
    [1] => u288
    [user_id] => u288
    [2] => 58034,
    [group_ids] => 58034,
    [3] => 
    [sender_id] => 
    [4] => mp3-output-ttsfree(dot)com (2).mp3
    [filename] => mp3-output-ttsfree(dot)com (2).mp3
    [5] => 12
    [duration] => 12
    [6] => 1
    [credits_per_sms] => 1
    [7] => 15
    [user_pulse] => 15
    [8] => 1760685722
    [start_date] => 1760685722
    [9] => 0
    [end_date] => 0
    [10] => 66
    [total_sms] => 66
    [11] => 66
    [sent_sms] => 66
    [12] => 0
    [duplicate_sms] => 0
    [13] => 1
    [answered_sms] => 1
    [14] => 1
    [busy_sms] => 1
    [15] => 0
    [congestion_sms] => 0
    [16] => 64
    [failed_sms] => 64
    [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] => 1
    [user_busy_sms] => 1
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 64
    [user_failed_sms] => 64
    [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] => u288
    [created_by] => u288
    [38] => 0
    [isScheduled] => 0
    [39] => 1760685722
    [create_date] => 1760685722
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760685728,"compaign_read_start_time":1760685733,"compaign_read_complete_time":1760685733,"compaign_send_start_time":1760685782,"compaign_send_complete_time":1760685783}
    [action_time] => {"api_allot_time":1760685728,"compaign_read_start_time":1760685733,"compaign_read_complete_time":1760685733,"compaign_send_start_time":1760685782,"compaign_send_complete_time":1760685783}
    [50] => 0
    [compaign_file] => 0
    [51] => u288_66410_17102025_125207PM_647
    [common_name] => u288_66410_17102025_125207PM_647
    [52] => 1731909711_u288_voice.wav
    [voice_file] => 1731909711_u288_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_58034
    [temp_group_table] => contacts_temp_group_58034
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760685841
    [last_credit_update_time] => 1760685841
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 504
    [user_voice_plan_id] => 504
    [85] => 54
    [voice_plan_id] => 54
    [86] => 0
    [gateway_id] => 0
    [87] => 15
    [pulse] => 15
    [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,sr33,sr101,sr147,u288
    [uphierarchy] => admin,sr33,sr101,sr147,u288
    [113] => 
    [extra_params_json] => 
)


Compaign : 66410
\compaign_type : Rans per 27.90141 
ans sms 66
dnd sms 0

require answer perrequire answer per : 19

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='2', `user_busy_sms`='14', `user_congestion_sms`='0', `user_failed_sms`='36', `user_hangup_sms`='0', `user_no_answer_sms`='14', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66410 LIMIT 1 


Time Diff : 1.485

Array
(
    [0] => 66411
    [compaign_id] => 66411
    [1] => u288
    [user_id] => u288
    [2] => 58035,
    [group_ids] => 58035,
    [3] => 
    [sender_id] => 
    [4] => mp3-output-ttsfree(dot)com (2).mp3
    [filename] => mp3-output-ttsfree(dot)com (2).mp3
    [5] => 12
    [duration] => 12
    [6] => 1
    [credits_per_sms] => 1
    [7] => 15
    [user_pulse] => 15
    [8] => 1760685722
    [start_date] => 1760685722
    [9] => 0
    [end_date] => 0
    [10] => 78
    [total_sms] => 78
    [11] => 78
    [sent_sms] => 78
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 75
    [failed_sms] => 75
    [17] => 0
    [hangup_sms] => 0
    [18] => 3
    [no_answer_sms] => 3
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 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] => 75
    [user_failed_sms] => 75
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 3
    [user_no_answer_sms] => 3
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u288
    [created_by] => u288
    [38] => 0
    [isScheduled] => 0
    [39] => 1760685722
    [create_date] => 1760685722
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760685729,"compaign_read_start_time":1760685736,"compaign_read_complete_time":1760685736,"compaign_send_start_time":1760685782,"compaign_send_complete_time":1760685783}
    [action_time] => {"api_allot_time":1760685729,"compaign_read_start_time":1760685736,"compaign_read_complete_time":1760685736,"compaign_send_start_time":1760685782,"compaign_send_complete_time":1760685783}
    [50] => 0
    [compaign_file] => 0
    [51] => u288_66411_17102025_125207PM_638
    [common_name] => u288_66411_17102025_125207PM_638
    [52] => 1731909711_u288_voice.wav
    [voice_file] => 1731909711_u288_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_58035
    [temp_group_table] => contacts_temp_group_58035
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760685841
    [last_credit_update_time] => 1760685841
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 504
    [user_voice_plan_id] => 504
    [85] => 54
    [voice_plan_id] => 54
    [86] => 0
    [gateway_id] => 0
    [87] => 15
    [pulse] => 15
    [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,sr33,sr101,sr147,u288
    [uphierarchy] => admin,sr33,sr101,sr147,u288
    [113] => 
    [extra_params_json] => 
)


Compaign : 66411
\compaign_type : Rans per 26.46397 
ans sms 78
dnd sms 0

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_66411 SET user_report='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_66411 SET user_report='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 : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='3', `user_busy_sms`='17', `user_congestion_sms`='0', `user_failed_sms`='41', `user_hangup_sms`='0', `user_no_answer_sms`='17', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66411 LIMIT 1 


Time Diff : 1.256

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760426762'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760426821'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760426882'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760426941'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760427001'  
Array
(
    [0] => 66415
    [compaign_id] => 66415
    [1] => u288
    [user_id] => u288
    [2] => 58040,
    [group_ids] => 58040,
    [3] => 
    [sender_id] => 
    [4] => mp3-output-ttsfree(dot)com (2).mp3
    [filename] => mp3-output-ttsfree(dot)com (2).mp3
    [5] => 12
    [duration] => 12
    [6] => 1
    [credits_per_sms] => 1
    [7] => 15
    [user_pulse] => 15
    [8] => 1760686022
    [start_date] => 1760686022
    [9] => 0
    [end_date] => 0
    [10] => 64
    [total_sms] => 64
    [11] => 64
    [sent_sms] => 64
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 1
    [busy_sms] => 1
    [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] => 0
    [cutting_sms] => 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] => 1
    [user_busy_sms] => 1
    [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] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u288
    [created_by] => u288
    [38] => 0
    [isScheduled] => 0
    [39] => 1760686022
    [create_date] => 1760686022
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760686028,"compaign_read_start_time":1760686030,"compaign_read_complete_time":1760686030,"compaign_send_start_time":1760686082,"compaign_send_complete_time":1760686083}
    [action_time] => {"api_allot_time":1760686028,"compaign_read_start_time":1760686030,"compaign_read_complete_time":1760686030,"compaign_send_start_time":1760686082,"compaign_send_complete_time":1760686083}
    [50] => 0
    [compaign_file] => 0
    [51] => u288_66415_17102025_125707PM_477
    [common_name] => u288_66415_17102025_125707PM_477
    [52] => 1731909711_u288_voice.wav
    [voice_file] => 1731909711_u288_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_58040
    [temp_group_table] => contacts_temp_group_58040
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760686141
    [last_credit_update_time] => 1760686141
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 504
    [user_voice_plan_id] => 504
    [85] => 54
    [voice_plan_id] => 54
    [86] => 0
    [gateway_id] => 0
    [87] => 15
    [pulse] => 15
    [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,sr33,sr101,sr147,u288
    [uphierarchy] => admin,sr33,sr101,sr147,u288
    [113] => 
    [extra_params_json] => 
)


Compaign : 66415
\compaign_type : Rans per 29.67559 
ans sms 64
dnd sms 0

require answer perrequire answer per : 19

user answer per : 0
below is the redis data 19 /n/r
only no answer and busy will be convert, total number require 19 /n/r
UPDATE voice_compaign_detail_66415 SET user_report='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_66415 SET user_report='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 : 0 no_answer_count : 0 Busy count :0 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`='15', `user_congestion_sms`='0', `user_failed_sms`='33', `user_hangup_sms`='0', `user_no_answer_sms`='15', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66415 LIMIT 1 


Time Diff : 1.578

Array
(
    [0] => 66416
    [compaign_id] => 66416
    [1] => u288
    [user_id] => u288
    [2] => 58039,
    [group_ids] => 58039,
    [3] => 
    [sender_id] => 
    [4] => mp3-output-ttsfree(dot)com (2).mp3
    [filename] => mp3-output-ttsfree(dot)com (2).mp3
    [5] => 12
    [duration] => 12
    [6] => 1
    [credits_per_sms] => 1
    [7] => 15
    [user_pulse] => 15
    [8] => 1760686022
    [start_date] => 1760686022
    [9] => 0
    [end_date] => 0
    [10] => 75
    [total_sms] => 75
    [11] => 75
    [sent_sms] => 75
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 74
    [failed_sms] => 74
    [17] => 0
    [hangup_sms] => 0
    [18] => 1
    [no_answer_sms] => 1
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 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] => 74
    [user_failed_sms] => 74
    [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] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u288
    [created_by] => u288
    [38] => 0
    [isScheduled] => 0
    [39] => 1760686022
    [create_date] => 1760686022
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760686028,"compaign_read_start_time":1760686033,"compaign_read_complete_time":1760686033,"compaign_send_start_time":1760686082,"compaign_send_complete_time":1760686083}
    [action_time] => {"api_allot_time":1760686028,"compaign_read_start_time":1760686033,"compaign_read_complete_time":1760686033,"compaign_send_start_time":1760686082,"compaign_send_complete_time":1760686083}
    [50] => 0
    [compaign_file] => 0
    [51] => u288_66416_17102025_125707PM_351
    [common_name] => u288_66416_17102025_125707PM_351
    [52] => 1731909711_u288_voice.wav
    [voice_file] => 1731909711_u288_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_58039
    [temp_group_table] => contacts_temp_group_58039
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760686141
    [last_credit_update_time] => 1760686141
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 504
    [user_voice_plan_id] => 504
    [85] => 54
    [voice_plan_id] => 54
    [86] => 0
    [gateway_id] => 0
    [87] => 15
    [pulse] => 15
    [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,sr33,sr101,sr147,u288
    [uphierarchy] => admin,sr33,sr101,sr147,u288
    [113] => 
    [extra_params_json] => 
)


Compaign : 66416
\compaign_type : Rans per 26.54373 
ans sms 75
dnd sms 0

require answer perrequire answer per : 20

user answer per : 0
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_66416 SET user_report='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_66416 SET user_report='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 : 0 no_answer_count : 0 Busy count :0 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`='16', `user_congestion_sms`='0', `user_failed_sms`='42', `user_hangup_sms`='0', `user_no_answer_sms`='16', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66416 LIMIT 1 


Time Diff : 1.347

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760427062'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760427121'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760427181'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760427241'  
Array
(
    [0] => 66417
    [compaign_id] => 66417
    [1] => r117
    [user_id] => r117
    [2] => 58041,
    [group_ids] => 58041,
    [3] => 
    [sender_id] => 
    [4] => CHIK FREE ENG.mp3
    [filename] => CHIK FREE ENG.mp3
    [5] => 21
    [duration] => 21
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760686104
    [start_date] => 1760686104
    [9] => 0
    [end_date] => 0
    [10] => 169
    [total_sms] => 169
    [11] => 169
    [sent_sms] => 169
    [12] => 0
    [duplicate_sms] => 0
    [13] => 37
    [answered_sms] => 37
    [14] => 24
    [busy_sms] => 24
    [15] => 0
    [congestion_sms] => 0
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 37
    [no_answer_sms] => 37
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 31
    [cutting_sms] => 31
    [22] => 28
    [dnd_sms] => 28
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 37
    [user_answered_sms] => 37
    [27] => 24
    [user_busy_sms] => 24
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 12
    [user_failed_sms] => 12
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 37
    [user_no_answer_sms] => 37
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 28
    [user_dnd_sms] => 28
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => r117
    [created_by] => r117
    [38] => 0
    [isScheduled] => 0
    [39] => 1760686104
    [create_date] => 1760686104
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760686111,"compaign_read_start_time":1760686112,"compaign_read_complete_time":1760686112,"compaign_send_start_time":1760686141,"compaign_send_complete_time":1760686151}
    [action_time] => {"api_allot_time":1760686111,"compaign_read_start_time":1760686112,"compaign_read_complete_time":1760686112,"compaign_send_start_time":1760686141,"compaign_send_complete_time":1760686151}
    [50] => 0
    [compaign_file] => 0
    [51] => r117_66417_17102025_125830PM_982
    [common_name] => r117_66417_17102025_125830PM_982
    [52] => 1758966680_r117_voice.wav
    [voice_file] => 1758966680_r117_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_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_58041
    [temp_group_table] => contacts_temp_group_58041
    [61] => 0
    [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] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760686382
    [last_credit_update_time] => 1760686382
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1681
    [user_voice_plan_id] => 1681
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [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] => 2
    [dtmf_wait_time] => 2
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":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,r117
    [uphierarchy] => admin,sr95,r117
    [113] => 
    [extra_params_json] => 
)


Compaign : 66417
\compaign_type : Rans per 30.80761 
ans sms 169
dnd sms 28

require answer perrequire answer per : 44

user answer per : 37
below is the redis data 7 UPDATE voice_compaign_detail_66417 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 7 Total Failed : 24 no_answer_count : 9 Busy count :7 congestion_count : 3 failed_count : 5UPDATE voice_compaign_detail_66417 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 9 UPDATE voice_compaign_detail_66417 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 7 UPDATE voice_compaign_detail_66417 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 3 UPDATE voice_compaign_detail_66417 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`='31', `user_congestion_sms`='3', `user_failed_sms`='17', `user_hangup_sms`='0', `user_no_answer_sms`='46', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='28' WHERE `compaign_id`=66417 LIMIT 1 


Time Diff : 1.645

Array
(
    [0] => 66419
    [compaign_id] => 66419
    [1] => r117
    [user_id] => r117
    [2] => 58042,
    [group_ids] => 58042,
    [3] => 
    [sender_id] => 
    [4] => SSM FREE ENG 2.mp3
    [filename] => SSM FREE ENG 2.mp3
    [5] => 21
    [duration] => 21
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760686142
    [start_date] => 1760686142
    [9] => 0
    [end_date] => 0
    [10] => 347
    [total_sms] => 347
    [11] => 347
    [sent_sms] => 347
    [12] => 0
    [duplicate_sms] => 0
    [13] => 62
    [answered_sms] => 62
    [14] => 41
    [busy_sms] => 41
    [15] => 0
    [congestion_sms] => 0
    [16] => 18
    [failed_sms] => 18
    [17] => 0
    [hangup_sms] => 0
    [18] => 72
    [no_answer_sms] => 72
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 108
    [cutting_sms] => 108
    [22] => 46
    [dnd_sms] => 46
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 62
    [user_answered_sms] => 62
    [27] => 41
    [user_busy_sms] => 41
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 18
    [user_failed_sms] => 18
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 72
    [user_no_answer_sms] => 72
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 46
    [user_dnd_sms] => 46
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => r117
    [created_by] => r117
    [38] => 0
    [isScheduled] => 0
    [39] => 1760686142
    [create_date] => 1760686142
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760686148,"compaign_read_start_time":1760686150,"compaign_read_complete_time":1760686151,"compaign_send_start_time":1760686202,"compaign_send_complete_time":1760686203}
    [action_time] => {"api_allot_time":1760686148,"compaign_read_start_time":1760686150,"compaign_read_complete_time":1760686151,"compaign_send_start_time":1760686202,"compaign_send_complete_time":1760686203}
    [50] => 0
    [compaign_file] => 0
    [51] => r117_66419_17102025_125907PM_511
    [common_name] => r117_66419_17102025_125907PM_511
    [52] => 1759164450_r117_voice.wav
    [voice_file] => 1759164450_r117_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_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_58042
    [temp_group_table] => contacts_temp_group_58042
    [61] => 0
    [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] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760686382
    [last_credit_update_time] => 1760686382
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1681
    [user_voice_plan_id] => 1681
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [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] => 2
    [dtmf_wait_time] => 2
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":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,r117
    [uphierarchy] => admin,sr95,r117
    [113] => 
    [extra_params_json] => 
)


Compaign : 66419
\compaign_type : Rans per 30.95967 
ans sms 347
dnd sms 46

require answer perrequire answer per : 94

user answer per : 62
below is the redis data 32 UPDATE voice_compaign_detail_66419 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 32 Total Failed : 76 no_answer_count : 26 Busy count :20 congestion_count : 10 failed_count : 20UPDATE voice_compaign_detail_66419 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 26 UPDATE voice_compaign_detail_66419 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 20 UPDATE voice_compaign_detail_66419 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 10 UPDATE voice_compaign_detail_66419 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`='94', `user_busy_sms`='61', `user_congestion_sms`='10', `user_failed_sms`='38', `user_hangup_sms`='0', `user_no_answer_sms`='98', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='46' WHERE `compaign_id`=66419 LIMIT 1 


Time Diff : 0.643

Array
(
    [0] => 66420
    [compaign_id] => 66420
    [1] => r117
    [user_id] => r117
    [2] => 58043,
    [group_ids] => 58043,
    [3] => 
    [sender_id] => 
    [4] => TKM FREE KAN 3.mp3
    [filename] => TKM FREE KAN 3.mp3
    [5] => 21
    [duration] => 21
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760686179
    [start_date] => 1760686179
    [9] => 0
    [end_date] => 0
    [10] => 445
    [total_sms] => 445
    [11] => 445
    [sent_sms] => 445
    [12] => 0
    [duplicate_sms] => 0
    [13] => 60
    [answered_sms] => 60
    [14] => 42
    [busy_sms] => 42
    [15] => 0
    [congestion_sms] => 0
    [16] => 21
    [failed_sms] => 21
    [17] => 0
    [hangup_sms] => 0
    [18] => 84
    [no_answer_sms] => 84
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 151
    [cutting_sms] => 151
    [22] => 87
    [dnd_sms] => 87
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 60
    [user_answered_sms] => 60
    [27] => 42
    [user_busy_sms] => 42
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 21
    [user_failed_sms] => 21
    [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] => 87
    [user_dnd_sms] => 87
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => r117
    [created_by] => r117
    [38] => 0
    [isScheduled] => 0
    [39] => 1760686179
    [create_date] => 1760686179
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760686187,"compaign_read_start_time":1760686189,"compaign_read_complete_time":1760686190,"compaign_send_start_time":1760686202,"compaign_send_complete_time":1760686203}
    [action_time] => {"api_allot_time":1760686187,"compaign_read_start_time":1760686189,"compaign_read_complete_time":1760686190,"compaign_send_start_time":1760686202,"compaign_send_complete_time":1760686203}
    [50] => 0
    [compaign_file] => 0
    [51] => r117_66420_17102025_125946PM_349
    [common_name] => r117_66420_17102025_125946PM_349
    [52] => 1759164601_r117_voice.wav
    [voice_file] => 1759164601_r117_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_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_58043
    [temp_group_table] => contacts_temp_group_58043
    [61] => 0
    [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] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760686382
    [last_credit_update_time] => 1760686382
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1681
    [user_voice_plan_id] => 1681
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [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] => 2
    [dtmf_wait_time] => 2
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":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,r117
    [uphierarchy] => admin,sr95,r117
    [113] => 
    [extra_params_json] => 
)


Compaign : 66420
\compaign_type : Rans per 29.84165 
ans sms 445
dnd sms 87

require answer perrequire answer per : 107

user answer per : 60
below is the redis data 47 UPDATE voice_compaign_detail_66420 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 47 Total Failed : 104 no_answer_count : 35 Busy count :27 congestion_count : 13 failed_count : 29UPDATE voice_compaign_detail_66420 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 35 UPDATE voice_compaign_detail_66420 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 27 UPDATE voice_compaign_detail_66420 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 13 UPDATE voice_compaign_detail_66420 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`='107', `user_busy_sms`='69', `user_congestion_sms`='13', `user_failed_sms`='50', `user_hangup_sms`='0', `user_no_answer_sms`='119', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='87' WHERE `compaign_id`=66420 LIMIT 1 


Time Diff : 0.501

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760427302'  
Array
(
    [0] => 66421
    [compaign_id] => 66421
    [1] => u288
    [user_id] => u288
    [2] => 58044,
    [group_ids] => 58044,
    [3] => 
    [sender_id] => 
    [4] => mp3-output-ttsfree(dot)com (2).mp3
    [filename] => mp3-output-ttsfree(dot)com (2).mp3
    [5] => 12
    [duration] => 12
    [6] => 1
    [credits_per_sms] => 1
    [7] => 15
    [user_pulse] => 15
    [8] => 1760686322
    [start_date] => 1760686322
    [9] => 0
    [end_date] => 0
    [10] => 74
    [total_sms] => 74
    [11] => 74
    [sent_sms] => 74
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 1
    [busy_sms] => 1
    [15] => 0
    [congestion_sms] => 0
    [16] => 73
    [failed_sms] => 73
    [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] => 1
    [user_busy_sms] => 1
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 73
    [user_failed_sms] => 73
    [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] => u288
    [created_by] => u288
    [38] => 0
    [isScheduled] => 0
    [39] => 1760686322
    [create_date] => 1760686322
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760686328,"compaign_read_start_time":1760686330,"compaign_read_complete_time":1760686330,"compaign_send_start_time":1760686382,"compaign_send_complete_time":1760686383}
    [action_time] => {"api_allot_time":1760686328,"compaign_read_start_time":1760686330,"compaign_read_complete_time":1760686330,"compaign_send_start_time":1760686382,"compaign_send_complete_time":1760686383}
    [50] => 0
    [compaign_file] => 0
    [51] => u288_66421_17102025_010207PM_731
    [common_name] => u288_66421_17102025_010207PM_731
    [52] => 1731909711_u288_voice.wav
    [voice_file] => 1731909711_u288_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_58044
    [temp_group_table] => contacts_temp_group_58044
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760686441
    [last_credit_update_time] => 1760686441
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 504
    [user_voice_plan_id] => 504
    [85] => 54
    [voice_plan_id] => 54
    [86] => 0
    [gateway_id] => 0
    [87] => 15
    [pulse] => 15
    [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,sr33,sr101,sr147,u288
    [uphierarchy] => admin,sr33,sr101,sr147,u288
    [113] => 
    [extra_params_json] => 
)


Compaign : 66421
\compaign_type : Rans per 27.42368 
ans sms 74
dnd sms 0

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_66421 SET user_report='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_66421 SET user_report='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 : 0 no_answer_count : 0 Busy count :0 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`='17', `user_congestion_sms`='0', `user_failed_sms`='39', `user_hangup_sms`='0', `user_no_answer_sms`='17', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66421 LIMIT 1 


Time Diff : 1.405

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760427362'  
Array
(
    [0] => 66316
    [compaign_id] => 66316
    [1] => u122
    [user_id] => u122
    [2] => 57980,
    [group_ids] => 57980,
    [3] => 
    [sender_id] => 
    [4] => shri@123shri01.mp3
    [filename] => shri@123shri01.mp3
    [5] => 30
    [duration] => 30
    [6] => 2
    [credits_per_sms] => 2
    [7] => 15
    [user_pulse] => 15
    [8] => 1760686200
    [start_date] => 1760686200
    [9] => 0
    [end_date] => 0
    [10] => 83
    [total_sms] => 83
    [11] => 83
    [sent_sms] => 83
    [12] => 0
    [duplicate_sms] => 0
    [13] => 9
    [answered_sms] => 9
    [14] => 30
    [busy_sms] => 30
    [15] => 0
    [congestion_sms] => 0
    [16] => 20
    [failed_sms] => 20
    [17] => 0
    [hangup_sms] => 0
    [18] => 16
    [no_answer_sms] => 16
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 8
    [dnd_sms] => 8
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 9
    [user_answered_sms] => 9
    [27] => 30
    [user_busy_sms] => 30
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 20
    [user_failed_sms] => 20
    [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] => 8
    [user_dnd_sms] => 8
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u122
    [created_by] => u122
    [38] => 1
    [isScheduled] => 1
    [39] => 1760678829
    [create_date] => 1760678829
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760686207,"compaign_read_start_time":1760686207,"compaign_read_complete_time":1760686208,"compaign_send_start_time":1760686262,"compaign_send_complete_time":1760686263}
    [action_time] => {"api_allot_time":1760686207,"compaign_read_start_time":1760686207,"compaign_read_complete_time":1760686208,"compaign_send_start_time":1760686262,"compaign_send_complete_time":1760686263}
    [50] => 0
    [compaign_file] => 0
    [51] => u122_66316_17102025_010005PM_192
    [common_name] => u122_66316_17102025_010005PM_192
    [52] => api_1756992122_u122_voice_474.wav
    [voice_file] => api_1756992122_u122_voice_474.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_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_57980
    [temp_group_table] => contacts_temp_group_57980
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760686502
    [last_credit_update_time] => 1760686502
    [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 : 66316
\compaign_type : Rans per 27.26131 
ans sms 83
dnd sms 8

require answer perrequire answer per : 21

user answer per : 9
below is the redis data 12 /n/r
only no answer and busy will be convert, total number require 12 /n/r
UPDATE voice_compaign_detail_66316 SET user_report='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_66316 SET user_report='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 : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

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


Time Diff : 3.422

Array
(
    [0] => 66347
    [compaign_id] => 66347
    [1] => u179
    [user_id] => u179
    [2] => 58001,
    [group_ids] => 58001,
    [3] => 
    [sender_id] => 
    [4] => NEW DIWALI OFFER VOICE.mp3
    [filename] => NEW DIWALI OFFER VOICE.mp3
    [5] => 21
    [duration] => 21
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760686200
    [start_date] => 1760686200
    [9] => 0
    [end_date] => 0
    [10] => 2300
    [total_sms] => 2300
    [11] => 2300
    [sent_sms] => 2300
    [12] => 0
    [duplicate_sms] => 0
    [13] => 113
    [answered_sms] => 113
    [14] => 625
    [busy_sms] => 625
    [15] => 0
    [congestion_sms] => 0
    [16] => 81
    [failed_sms] => 81
    [17] => 0
    [hangup_sms] => 0
    [18] => 173
    [no_answer_sms] => 173
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 858
    [cutting_sms] => 858
    [22] => 450
    [dnd_sms] => 450
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 113
    [user_answered_sms] => 113
    [27] => 625
    [user_busy_sms] => 625
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 81
    [user_failed_sms] => 81
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 173
    [user_no_answer_sms] => 173
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 450
    [user_dnd_sms] => 450
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u179
    [created_by] => u179
    [38] => 1
    [isScheduled] => 1
    [39] => 1760680336
    [create_date] => 1760680336
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760686206,"compaign_read_start_time":1760686210,"compaign_read_complete_time":1760686217,"compaign_send_start_time":1760686262,"compaign_send_complete_time":1760686267}
    [action_time] => {"api_allot_time":1760686206,"compaign_read_start_time":1760686210,"compaign_read_complete_time":1760686217,"compaign_send_start_time":1760686262,"compaign_send_complete_time":1760686267}
    [50] => 0
    [compaign_file] => 0
    [51] => u179_66347_17102025_010005PM_640
    [common_name] => u179_66347_17102025_010005PM_640
    [52] => 1759899987_u179_voice.wav
    [voice_file] => 1759899987_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_58001
    [temp_group_table] => contacts_temp_group_58001
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [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] => 1760686502
    [last_credit_update_time] => 1760686502
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 336
    [user_voice_plan_id] => 336
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.3
    [pulse_rate] => 0.3
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":"2","FFL":"2"}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":"2","FFL":"2"}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr3,u179
    [uphierarchy] => admin,sr3,u179
    [113] => 
    [extra_params_json] => 
)


Compaign : 66347
\compaign_type : Rans per 29.2048 
ans sms 2300
dnd sms 450

require answer perrequire answer per : 541

user answer per : 113
below is the redis data 428 /n/r
only no answer and busy will be convert, total number require 428 /n/r
UPDATE voice_compaign_detail_66347 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 317 UPDATE voice_compaign_detail_66347 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 317 Total Failed : 279 no_answer_count : 94 Busy count :72 congestion_count : 34 failed_count : 79UPDATE voice_compaign_detail_66347 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 94 UPDATE voice_compaign_detail_66347 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 72 UPDATE voice_compaign_detail_66347 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 34 UPDATE voice_compaign_detail_66347 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`='541', `user_busy_sms`='684', `user_congestion_sms`='34', `user_failed_sms`='105', `user_hangup_sms`='0', `user_no_answer_sms`='486', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='450' WHERE `compaign_id`=66347 LIMIT 1 


Time Diff : 0.123

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760427421'  
Array
(
    [0] => 66422
    [compaign_id] => 66422
    [1] => r117
    [user_id] => r117
    [2] => 58045,
    [group_ids] => 58045,
    [3] => 
    [sender_id] => 
    [4] => SSM PAID ENG 2.mp3
    [filename] => SSM PAID ENG 2.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760686332
    [start_date] => 1760686332
    [9] => 0
    [end_date] => 0
    [10] => 611
    [total_sms] => 611
    [11] => 611
    [sent_sms] => 611
    [12] => 0
    [duplicate_sms] => 0
    [13] => 70
    [answered_sms] => 70
    [14] => 74
    [busy_sms] => 74
    [15] => 0
    [congestion_sms] => 0
    [16] => 52
    [failed_sms] => 52
    [17] => 0
    [hangup_sms] => 0
    [18] => 111
    [no_answer_sms] => 111
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 218
    [cutting_sms] => 218
    [22] => 86
    [dnd_sms] => 86
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 70
    [user_answered_sms] => 70
    [27] => 74
    [user_busy_sms] => 74
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 52
    [user_failed_sms] => 52
    [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] => 86
    [user_dnd_sms] => 86
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => r117
    [created_by] => r117
    [38] => 0
    [isScheduled] => 0
    [39] => 1760686331
    [create_date] => 1760686331
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760686338,"compaign_read_start_time":1760686339,"compaign_read_complete_time":1760686340,"compaign_send_start_time":1760686382,"compaign_send_complete_time":1760686384}
    [action_time] => {"api_allot_time":1760686338,"compaign_read_start_time":1760686339,"compaign_read_complete_time":1760686340,"compaign_send_start_time":1760686382,"compaign_send_complete_time":1760686384}
    [50] => 0
    [compaign_file] => 0
    [51] => r117_66422_17102025_010217PM_590
    [common_name] => r117_66422_17102025_010217PM_590
    [52] => 1759164523_r117_voice.wav
    [voice_file] => 1759164523_r117_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_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_58045
    [temp_group_table] => contacts_temp_group_58045
    [61] => 0
    [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] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760686621
    [last_credit_update_time] => 1760686621
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1681
    [user_voice_plan_id] => 1681
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [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] => 2
    [dtmf_wait_time] => 2
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":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,r117
    [uphierarchy] => admin,sr95,r117
    [113] => 
    [extra_params_json] => 
)


Compaign : 66422
\compaign_type : Rans per 29.8284 
ans sms 611
dnd sms 86

require answer perrequire answer per : 157

user answer per : 70
below is the redis data 87 UPDATE voice_compaign_detail_66422 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 87 Total Failed : 131 no_answer_count : 44 Busy count :34 congestion_count : 16 failed_count : 37UPDATE voice_compaign_detail_66422 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 44 UPDATE voice_compaign_detail_66422 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 34 UPDATE voice_compaign_detail_66422 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 16 UPDATE voice_compaign_detail_66422 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`='157', `user_busy_sms`='108', `user_congestion_sms`='16', `user_failed_sms`='89', `user_hangup_sms`='0', `user_no_answer_sms`='155', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='86' WHERE `compaign_id`=66422 LIMIT 1 


Time Diff : 0.367

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760427481'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760427542'  
Array
(
    [0] => 66423
    [compaign_id] => 66423
    [1] => r117
    [user_id] => r117
    [2] => 58046,
    [group_ids] => 58046,
    [3] => 
    [sender_id] => 
    [4] => CHIK PAID ENG 1.mp3
    [filename] => CHIK PAID ENG 1.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760686394
    [start_date] => 1760686394
    [9] => 0
    [end_date] => 0
    [10] => 193
    [total_sms] => 193
    [11] => 193
    [sent_sms] => 193
    [12] => 0
    [duplicate_sms] => 0
    [13] => 19
    [answered_sms] => 19
    [14] => 25
    [busy_sms] => 25
    [15] => 0
    [congestion_sms] => 0
    [16] => 27
    [failed_sms] => 27
    [17] => 0
    [hangup_sms] => 0
    [18] => 51
    [no_answer_sms] => 51
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 41
    [cutting_sms] => 41
    [22] => 30
    [dnd_sms] => 30
    [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] => 27
    [user_failed_sms] => 27
    [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] => 30
    [user_dnd_sms] => 30
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => r117
    [created_by] => r117
    [38] => 0
    [isScheduled] => 0
    [39] => 1760686394
    [create_date] => 1760686394
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760686401,"compaign_read_start_time":1760686403,"compaign_read_complete_time":1760686403,"compaign_send_start_time":1760686441,"compaign_send_complete_time":1760686447}
    [action_time] => {"api_allot_time":1760686401,"compaign_read_start_time":1760686403,"compaign_read_complete_time":1760686403,"compaign_send_start_time":1760686441,"compaign_send_complete_time":1760686447}
    [50] => 0
    [compaign_file] => 0
    [51] => r117_66423_17102025_010320PM_579
    [common_name] => r117_66423_17102025_010320PM_579
    [52] => 1759164696_r117_voice.wav
    [voice_file] => 1759164696_r117_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_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_58046
    [temp_group_table] => contacts_temp_group_58046
    [61] => 0
    [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] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760686682
    [last_credit_update_time] => 1760686682
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1681
    [user_voice_plan_id] => 1681
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [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] => 2
    [dtmf_wait_time] => 2
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":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,r117
    [uphierarchy] => admin,sr95,r117
    [113] => 
    [extra_params_json] => 
)


Compaign : 66423
\compaign_type : Rans per 27.83935 
ans sms 193
dnd sms 30

require answer perrequire answer per : 46

user answer per : 19
below is the redis data 27 UPDATE voice_compaign_detail_66423 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 27 Total Failed : 14 no_answer_count : 5 Busy count :4 congestion_count : 2 failed_count : 3UPDATE voice_compaign_detail_66423 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 5 UPDATE voice_compaign_detail_66423 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 4 UPDATE voice_compaign_detail_66423 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 2 UPDATE voice_compaign_detail_66423 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`='46', `user_busy_sms`='29', `user_congestion_sms`='2', `user_failed_sms`='30', `user_hangup_sms`='0', `user_no_answer_sms`='56', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='30' WHERE `compaign_id`=66423 LIMIT 1 


Time Diff : 1.477

Array
(
    [0] => 66424
    [compaign_id] => 66424
    [1] => r117
    [user_id] => r117
    [2] => 58047,
    [group_ids] => 58047,
    [3] => 
    [sender_id] => 
    [4] => TKM PAID ENG 3.mp3
    [filename] => TKM PAID ENG 3.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760686435
    [start_date] => 1760686435
    [9] => 0
    [end_date] => 0
    [10] => 835
    [total_sms] => 835
    [11] => 835
    [sent_sms] => 835
    [12] => 0
    [duplicate_sms] => 0
    [13] => 84
    [answered_sms] => 84
    [14] => 96
    [busy_sms] => 96
    [15] => 0
    [congestion_sms] => 0
    [16] => 78
    [failed_sms] => 78
    [17] => 0
    [hangup_sms] => 0
    [18] => 113
    [no_answer_sms] => 113
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 302
    [cutting_sms] => 302
    [22] => 162
    [dnd_sms] => 162
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 84
    [user_answered_sms] => 84
    [27] => 96
    [user_busy_sms] => 96
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 78
    [user_failed_sms] => 78
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 113
    [user_no_answer_sms] => 113
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 162
    [user_dnd_sms] => 162
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => r117
    [created_by] => r117
    [38] => 0
    [isScheduled] => 0
    [39] => 1760686435
    [create_date] => 1760686435
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760686442,"compaign_read_start_time":1760686444,"compaign_read_complete_time":1760686446,"compaign_send_start_time":1760686502,"compaign_send_complete_time":1760686504}
    [action_time] => {"api_allot_time":1760686442,"compaign_read_start_time":1760686444,"compaign_read_complete_time":1760686446,"compaign_send_start_time":1760686502,"compaign_send_complete_time":1760686504}
    [50] => 0
    [compaign_file] => 0
    [51] => r117_66424_17102025_010401PM_254
    [common_name] => r117_66424_17102025_010401PM_254
    [52] => 1759164811_r117_voice.wav
    [voice_file] => 1759164811_r117_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_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_58047
    [temp_group_table] => contacts_temp_group_58047
    [61] => 0
    [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] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760686742
    [last_credit_update_time] => 1760686742
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1681
    [user_voice_plan_id] => 1681
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [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] => 2
    [dtmf_wait_time] => 2
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":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,r117
    [uphierarchy] => admin,sr95,r117
    [113] => 
    [extra_params_json] => 
)


Compaign : 66424
\compaign_type : Rans per 28.22422 
ans sms 835
dnd sms 162

require answer perrequire answer per : 190

user answer per : 84
below is the redis data 106 UPDATE voice_compaign_detail_66424 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 106 Total Failed : 196 no_answer_count : 66 Busy count :51 congestion_count : 24 failed_count : 55UPDATE voice_compaign_detail_66424 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 66 UPDATE voice_compaign_detail_66424 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 51 UPDATE voice_compaign_detail_66424 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 24 UPDATE voice_compaign_detail_66424 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`='190', `user_busy_sms`='147', `user_congestion_sms`='24', `user_failed_sms`='133', `user_hangup_sms`='0', `user_no_answer_sms`='179', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='162' WHERE `compaign_id`=66424 LIMIT 1 


Time Diff : 0.269

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


Compaign : 66242
\compaign_type : ATans per 27.56385 
ans sms 11121
dnd sms 0

require answer perrequire answer per : 3066

user answer per : 76
below is the redis data 2990 UPDATE voice_compaign_detail_66242 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 2990 Total Failed : 0 no_answer_count : 0 Busy count :0 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`='2885', `user_congestion_sms`='0', `user_failed_sms`='7571', `user_hangup_sms`='0', `user_no_answer_sms`='589', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


Time Diff : 1.04

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760427902'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760427961'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760428022'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760428081'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760428142'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760428202'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760428261'  
Array
(
    [0] => 66319
    [compaign_id] => 66319
    [1] => u122
    [user_id] => u122
    [2] => 57981,
    [group_ids] => 57981,
    [3] => 
    [sender_id] => 
    [4] => shri@123shri02.mp3
    [filename] => shri@123shri02.mp3
    [5] => 31
    [duration] => 31
    [6] => 3
    [credits_per_sms] => 3
    [7] => 15
    [user_pulse] => 15
    [8] => 1760687100
    [start_date] => 1760687100
    [9] => 0
    [end_date] => 0
    [10] => 91
    [total_sms] => 91
    [11] => 91
    [sent_sms] => 91
    [12] => 0
    [duplicate_sms] => 0
    [13] => 22
    [answered_sms] => 22
    [14] => 25
    [busy_sms] => 25
    [15] => 0
    [congestion_sms] => 0
    [16] => 17
    [failed_sms] => 17
    [17] => 0
    [hangup_sms] => 0
    [18] => 16
    [no_answer_sms] => 16
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 11
    [dnd_sms] => 11
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 22
    [user_answered_sms] => 22
    [27] => 25
    [user_busy_sms] => 25
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 17
    [user_failed_sms] => 17
    [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] => 11
    [user_dnd_sms] => 11
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u122
    [created_by] => u122
    [38] => 1
    [isScheduled] => 1
    [39] => 1760678863
    [create_date] => 1760678863
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760687107,"compaign_read_start_time":1760687108,"compaign_read_complete_time":1760687109,"compaign_send_start_time":1760687162,"compaign_send_complete_time":1760687163}
    [action_time] => {"api_allot_time":1760687107,"compaign_read_start_time":1760687108,"compaign_read_complete_time":1760687109,"compaign_send_start_time":1760687162,"compaign_send_complete_time":1760687163}
    [50] => 0
    [compaign_file] => 0
    [51] => u122_66319_17102025_011506PM_551
    [common_name] => u122_66319_17102025_011506PM_551
    [52] => api_1756992183_u122_voice_523.wav
    [voice_file] => api_1756992183_u122_voice_523.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_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_57981
    [temp_group_table] => contacts_temp_group_57981
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760687402
    [last_credit_update_time] => 1760687402
    [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 : 66319
\compaign_type : Rans per 26.86971 
ans sms 91
dnd sms 11

require answer perrequire answer per : 22

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


 Blank User Record End

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


Time Diff : 3.033

Array
(
    [0] => 66429
    [compaign_id] => 66429
    [1] => u179
    [user_id] => u179
    [2] => 58051,
    [group_ids] => 58051,
    [3] => 
    [sender_id] => 
    [4] => NEW DIWALI OFFER VOICE.mp3
    [filename] => NEW DIWALI OFFER VOICE.mp3
    [5] => 21
    [duration] => 21
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760687100
    [start_date] => 1760687100
    [9] => 0
    [end_date] => 0
    [10] => 1759
    [total_sms] => 1759
    [11] => 1759
    [sent_sms] => 1759
    [12] => 0
    [duplicate_sms] => 0
    [13] => 64
    [answered_sms] => 64
    [14] => 392
    [busy_sms] => 392
    [15] => 1
    [congestion_sms] => 1
    [16] => 83
    [failed_sms] => 83
    [17] => 0
    [hangup_sms] => 0
    [18] => 110
    [no_answer_sms] => 110
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 659
    [cutting_sms] => 659
    [22] => 450
    [dnd_sms] => 450
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 64
    [user_answered_sms] => 64
    [27] => 392
    [user_busy_sms] => 392
    [28] => 1
    [user_congestion_sms] => 1
    [29] => 83
    [user_failed_sms] => 83
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 110
    [user_no_answer_sms] => 110
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 450
    [user_dnd_sms] => 450
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u179
    [created_by] => u179
    [38] => 1
    [isScheduled] => 1
    [39] => 1760686930
    [create_date] => 1760686930
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760687107,"compaign_read_start_time":1760687111,"compaign_read_complete_time":1760687114,"compaign_send_start_time":1760687162,"compaign_send_complete_time":1760687165}
    [action_time] => {"api_allot_time":1760687107,"compaign_read_start_time":1760687111,"compaign_read_complete_time":1760687114,"compaign_send_start_time":1760687162,"compaign_send_complete_time":1760687165}
    [50] => 0
    [compaign_file] => 0
    [51] => u179_66429_17102025_011506PM_693
    [common_name] => u179_66429_17102025_011506PM_693
    [52] => 1759899987_u179_voice.wav
    [voice_file] => 1759899987_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_58051
    [temp_group_table] => contacts_temp_group_58051
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [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] => 1760687402
    [last_credit_update_time] => 1760687402
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 336
    [user_voice_plan_id] => 336
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.3
    [pulse_rate] => 0.3
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":"2","FFL":"2"}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":"2","FFL":"2"}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr3,u179
    [uphierarchy] => admin,sr3,u179
    [113] => 
    [extra_params_json] => 
)


Compaign : 66429
\compaign_type : Rans per 25.60688 
ans sms 1759
dnd sms 450

require answer perrequire answer per : 336

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='336', `user_busy_sms`='462', `user_congestion_sms`='35', `user_failed_sms`='120', `user_hangup_sms`='0', `user_no_answer_sms`='356', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='450' WHERE `compaign_id`=66429 LIMIT 1 


Time Diff : 0.157

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760428322'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760428381'  
Array
(
    [0] => 66425
    [compaign_id] => 66425
    [1] => u20123
    [user_id] => u20123
    [2] => 58048,
    [group_ids] => 58048,
    [3] => 
    [sender_id] => 
    [4] => Nisha_आपके_लिए-volume-adjusted.wav
    [filename] => Nisha_आपके_लिए-volume-adjusted.wav
    [5] => 20
    [duration] => 20
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760686463
    [start_date] => 1760686463
    [9] => 0
    [end_date] => 0
    [10] => 49201
    [total_sms] => 49201
    [11] => 49201
    [sent_sms] => 49201
    [12] => 0
    [duplicate_sms] => 0
    [13] => 2380
    [answered_sms] => 2380
    [14] => 3404
    [busy_sms] => 3404
    [15] => 25
    [congestion_sms] => 25
    [16] => 4882
    [failed_sms] => 4882
    [17] => 0
    [hangup_sms] => 0
    [18] => 2177
    [no_answer_sms] => 2177
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 36333
    [cutting_sms] => 36333
    [22] => 0
    [dnd_sms] => 0
    [23] => 2
    [blocked_sms] => 2
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 2380
    [user_answered_sms] => 2380
    [27] => 3404
    [user_busy_sms] => 3404
    [28] => 25
    [user_congestion_sms] => 25
    [29] => 4882
    [user_failed_sms] => 4882
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2177
    [user_no_answer_sms] => 2177
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u20123
    [created_by] => u20123
    [38] => 0
    [isScheduled] => 0
    [39] => 1760686436
    [create_date] => 1760686436
    [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":1760686470,"compaign_read_start_time":1760686471,"compaign_read_complete_time":1760686561,"compaign_send_start_time":1760686562,"compaign_send_complete_time":1760686711}
    [action_time] => {"api_allot_time":1760686470,"compaign_read_start_time":1760686471,"compaign_read_complete_time":1760686561,"compaign_send_start_time":1760686562,"compaign_send_complete_time":1760686711}
    [50] => 0
    [compaign_file] => 0
    [51] => u20123_66425_17102025_010429PM_407
    [common_name] => u20123_66425_17102025_010429PM_407
    [52] => 1758275916_u20123_voice.wav
    [voice_file] => 1758275916_u20123_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_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_58048
    [temp_group_table] => contacts_temp_group_58048
    [61] => 0
    [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] => 5
    [credit_seq] => 5
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760687522
    [last_credit_update_time] => 1760687522
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1671
    [user_voice_plan_id] => 1671
    [85] => 11
    [voice_plan_id] => 11
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.0009
    [pulse_rate] => 0.0009
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 7
    [dtmf_wait_time] => 7
    [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,u20123
    [uphierarchy] => admin,u20123
    [113] => 
    [extra_params_json] => 
)


Compaign : 66425
\compaign_type : Rans per 29.45277 
ans sms 49201
dnd sms 0

require answer perrequire answer per : 14492

user answer per : 2380
below is the redis data 12112 UPDATE voice_compaign_detail_66425 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 12112 Total Failed : 24232 no_answer_count : 8079 Busy count :6218 congestion_count : 2877 failed_count : 7058UPDATE voice_compaign_detail_66425 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 8079 UPDATE voice_compaign_detail_66425 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 6218 UPDATE voice_compaign_detail_66425 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 2877 UPDATE voice_compaign_detail_66425 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 7058 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='14492', `user_busy_sms`='9622', `user_congestion_sms`='2891', `user_failed_sms`='11940', `user_hangup_sms`='0', `user_no_answer_sms`='10256', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66425 LIMIT 1 


Time Diff : 0.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>'1760428441'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760428502'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760428561'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760428621'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760428682'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760428741'  
Array
(
    [0] => 66426
    [compaign_id] => 66426
    [1] => u20123
    [user_id] => u20123
    [2] => 58049,
    [group_ids] => 58049,
    [3] => 
    [sender_id] => 
    [4] => Nisha_आपके_लिए-volume-adjusted.wav
    [filename] => Nisha_आपके_लिए-volume-adjusted.wav
    [5] => 20
    [duration] => 20
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760686537
    [start_date] => 1760686537
    [9] => 0
    [end_date] => 0
    [10] => 49185
    [total_sms] => 49185
    [11] => 49185
    [sent_sms] => 49185
    [12] => 0
    [duplicate_sms] => 0
    [13] => 2204
    [answered_sms] => 2204
    [14] => 3003
    [busy_sms] => 3003
    [15] => 27
    [congestion_sms] => 27
    [16] => 4181
    [failed_sms] => 4181
    [17] => 0
    [hangup_sms] => 0
    [18] => 1973
    [no_answer_sms] => 1973
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 37797
    [cutting_sms] => 37797
    [22] => 0
    [dnd_sms] => 0
    [23] => 1
    [blocked_sms] => 1
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 2204
    [user_answered_sms] => 2204
    [27] => 3003
    [user_busy_sms] => 3003
    [28] => 27
    [user_congestion_sms] => 27
    [29] => 4181
    [user_failed_sms] => 4181
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 1973
    [user_no_answer_sms] => 1973
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u20123
    [created_by] => u20123
    [38] => 0
    [isScheduled] => 0
    [39] => 1760686508
    [create_date] => 1760686508
    [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":1760686543,"compaign_read_start_time":1760686544,"compaign_read_complete_time":1760686634,"compaign_send_start_time":1760686682,"compaign_send_complete_time":1760686811}
    [action_time] => {"api_allot_time":1760686543,"compaign_read_start_time":1760686544,"compaign_read_complete_time":1760686634,"compaign_send_start_time":1760686682,"compaign_send_complete_time":1760686811}
    [50] => 0
    [compaign_file] => 0
    [51] => u20123_66426_17102025_010542PM_225
    [common_name] => u20123_66426_17102025_010542PM_225
    [52] => 1758275916_u20123_voice.wav
    [voice_file] => 1758275916_u20123_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_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_58049
    [temp_group_table] => contacts_temp_group_58049
    [61] => 0
    [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] => 6
    [credit_seq] => 6
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760687882
    [last_credit_update_time] => 1760687882
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1671
    [user_voice_plan_id] => 1671
    [85] => 11
    [voice_plan_id] => 11
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.0009
    [pulse_rate] => 0.0009
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 7
    [dtmf_wait_time] => 7
    [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,u20123
    [uphierarchy] => admin,u20123
    [113] => 
    [extra_params_json] => 
)


Compaign : 66426
\compaign_type : Rans per 25.12231 
ans sms 49185
dnd sms 0

require answer perrequire answer per : 12357

user answer per : 2204
below is the redis data 10153 UPDATE voice_compaign_detail_66426 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 10153 Total Failed : 27651 no_answer_count : 9219 Busy count :7096 congestion_count : 3283 failed_count : 8053UPDATE voice_compaign_detail_66426 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 9219 UPDATE voice_compaign_detail_66426 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 7096 UPDATE voice_compaign_detail_66426 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 3283 UPDATE voice_compaign_detail_66426 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 8053 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='12357', `user_busy_sms`='10099', `user_congestion_sms`='3303', `user_failed_sms`='12234', `user_hangup_sms`='0', `user_no_answer_sms`='11192', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66426 LIMIT 1 


Time Diff : 0.019

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760428802'  
Array
(
    [0] => 66437
    [compaign_id] => 66437
    [1] => sr60
    [user_id] => sr60
    [2] => 58054,
    [group_ids] => 58054,
    [3] => 
    [sender_id] => 
    [4] => JDA RAMCHANDRA VIHAR.mp3
    [filename] => JDA RAMCHANDRA VIHAR.mp3
    [5] => 15
    [duration] => 15
    [6] => 1
    [credits_per_sms] => 1
    [7] => 15
    [user_pulse] => 15
    [8] => 1760687704
    [start_date] => 1760687704
    [9] => 0
    [end_date] => 0
    [10] => 784
    [total_sms] => 784
    [11] => 784
    [sent_sms] => 784
    [12] => 0
    [duplicate_sms] => 0
    [13] => 70
    [answered_sms] => 70
    [14] => 69
    [busy_sms] => 69
    [15] => 0
    [congestion_sms] => 0
    [16] => 106
    [failed_sms] => 106
    [17] => 0
    [hangup_sms] => 0
    [18] => 64
    [no_answer_sms] => 64
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 235
    [cutting_sms] => 235
    [22] => 240
    [dnd_sms] => 240
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 70
    [user_answered_sms] => 70
    [27] => 69
    [user_busy_sms] => 69
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 106
    [user_failed_sms] => 106
    [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] => 240
    [user_dnd_sms] => 240
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => sr60
    [created_by] => sr60
    [38] => 0
    [isScheduled] => 0
    [39] => 1760687704
    [create_date] => 1760687704
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760687711,"compaign_read_start_time":1760687714,"compaign_read_complete_time":1760687715,"compaign_send_start_time":1760687761,"compaign_send_complete_time":1760687763}
    [action_time] => {"api_allot_time":1760687711,"compaign_read_start_time":1760687714,"compaign_read_complete_time":1760687715,"compaign_send_start_time":1760687761,"compaign_send_complete_time":1760687763}
    [50] => 0
    [compaign_file] => 0
    [51] => sr60_66437_17102025_012510PM_289
    [common_name] => sr60_66437_17102025_012510PM_289
    [52] => 1760687620_sr60_voice.wav
    [voice_file] => 1760687620_sr60_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_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_58054
    [temp_group_table] => contacts_temp_group_58054
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760688001
    [last_credit_update_time] => 1760688001
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 157
    [user_voice_plan_id] => 157
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 15
    [pulse] => 15
    [88] => 0.075
    [pulse_rate] => 0.075
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr60
    [uphierarchy] => admin,sr60
    [113] => 
    [extra_params_json] => 
)


Compaign : 66437
\compaign_type : Rans per 27.59244 
ans sms 784
dnd sms 240

require answer perrequire answer per : 151

user answer per : 70
below is the redis data 81 /n/r
only no answer and busy will be convert, total number require 81 /n/r
UPDATE voice_compaign_detail_66437 SET user_report='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_66437 SET user_report='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 : 143 no_answer_count : 48 Busy count :37 congestion_count : 17 failed_count : 41UPDATE voice_compaign_detail_66437 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 48 UPDATE voice_compaign_detail_66437 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 37 UPDATE voice_compaign_detail_66437 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 17 UPDATE voice_compaign_detail_66437 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`='151', `user_busy_sms`='131', `user_congestion_sms`='17', `user_failed_sms`='111', `user_hangup_sms`='0', `user_no_answer_sms`='134', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='240' WHERE `compaign_id`=66437 LIMIT 1 


Time Diff : 0.277

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760428862'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760428921'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760428981'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760429042'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760429101'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760429162'  
Array
(
    [0] => 66321
    [compaign_id] => 66321
    [1] => u122
    [user_id] => u122
    [2] => 57982,
    [group_ids] => 57982,
    [3] => 
    [sender_id] => 
    [4] => shri@123shri03.mp3
    [filename] => shri@123shri03.mp3
    [5] => 28
    [duration] => 28
    [6] => 2
    [credits_per_sms] => 2
    [7] => 15
    [user_pulse] => 15
    [8] => 1760688000
    [start_date] => 1760688000
    [9] => 0
    [end_date] => 0
    [10] => 91
    [total_sms] => 91
    [11] => 91
    [sent_sms] => 91
    [12] => 0
    [duplicate_sms] => 0
    [13] => 16
    [answered_sms] => 16
    [14] => 29
    [busy_sms] => 29
    [15] => 0
    [congestion_sms] => 0
    [16] => 13
    [failed_sms] => 13
    [17] => 0
    [hangup_sms] => 0
    [18] => 24
    [no_answer_sms] => 24
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 9
    [dnd_sms] => 9
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 16
    [user_answered_sms] => 16
    [27] => 29
    [user_busy_sms] => 29
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 13
    [user_failed_sms] => 13
    [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] => 9
    [user_dnd_sms] => 9
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u122
    [created_by] => u122
    [38] => 1
    [isScheduled] => 1
    [39] => 1760678893
    [create_date] => 1760678893
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760688007,"compaign_read_start_time":1760688007,"compaign_read_complete_time":1760688008,"compaign_send_start_time":1760688062,"compaign_send_complete_time":1760688067}
    [action_time] => {"api_allot_time":1760688007,"compaign_read_start_time":1760688007,"compaign_read_complete_time":1760688008,"compaign_send_start_time":1760688062,"compaign_send_complete_time":1760688067}
    [50] => 0
    [compaign_file] => 0
    [51] => u122_66321_17102025_013006PM_688
    [common_name] => u122_66321_17102025_013006PM_688
    [52] => api_1756992278_u122_voice_151.wav
    [voice_file] => api_1756992278_u122_voice_151.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_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_57982
    [temp_group_table] => contacts_temp_group_57982
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760688301
    [last_credit_update_time] => 1760688301
    [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 : 66321
\compaign_type : Rans per 25.61885 
ans sms 91
dnd sms 9

require answer perrequire answer per : 22

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='22', `user_busy_sms`='32', `user_congestion_sms`='0', `user_failed_sms`='3', `user_hangup_sms`='0', `user_no_answer_sms`='25', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='9' WHERE `compaign_id`=66321 LIMIT 1 


Time Diff : 3.121

Array
(
    [0] => 66438
    [compaign_id] => 66438
    [1] => u179
    [user_id] => u179
    [2] => 58055,
    [group_ids] => 58055,
    [3] => 
    [sender_id] => 
    [4] => NEW DIWALI OFFER VOICE.mp3
    [filename] => NEW DIWALI OFFER VOICE.mp3
    [5] => 21
    [duration] => 21
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760688000
    [start_date] => 1760688000
    [9] => 0
    [end_date] => 0
    [10] => 1423
    [total_sms] => 1423
    [11] => 1423
    [sent_sms] => 1423
    [12] => 0
    [duplicate_sms] => 0
    [13] => 44
    [answered_sms] => 44
    [14] => 293
    [busy_sms] => 293
    [15] => 0
    [congestion_sms] => 0
    [16] => 85
    [failed_sms] => 85
    [17] => 0
    [hangup_sms] => 0
    [18] => 86
    [no_answer_sms] => 86
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 465
    [cutting_sms] => 465
    [22] => 450
    [dnd_sms] => 450
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 44
    [user_answered_sms] => 44
    [27] => 293
    [user_busy_sms] => 293
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 85
    [user_failed_sms] => 85
    [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] => 450
    [user_dnd_sms] => 450
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u179
    [created_by] => u179
    [38] => 1
    [isScheduled] => 1
    [39] => 1760687827
    [create_date] => 1760687827
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760688007,"compaign_read_start_time":1760688010,"compaign_read_complete_time":1760688013,"compaign_send_start_time":1760688062,"compaign_send_complete_time":1760688069}
    [action_time] => {"api_allot_time":1760688007,"compaign_read_start_time":1760688010,"compaign_read_complete_time":1760688013,"compaign_send_start_time":1760688062,"compaign_send_complete_time":1760688069}
    [50] => 0
    [compaign_file] => 0
    [51] => u179_66438_17102025_013006PM_208
    [common_name] => u179_66438_17102025_013006PM_208
    [52] => 1759899987_u179_voice.wav
    [voice_file] => 1759899987_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_58055
    [temp_group_table] => contacts_temp_group_58055
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [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] => 1760688301
    [last_credit_update_time] => 1760688301
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 336
    [user_voice_plan_id] => 336
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.3
    [pulse_rate] => 0.3
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":"2","FFL":"2"}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":"2","FFL":"2"}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr3,u179
    [uphierarchy] => admin,sr3,u179
    [113] => 
    [extra_params_json] => 
)


Compaign : 66438
\compaign_type : Rans per 30.16996 
ans sms 1423
dnd sms 450

require answer perrequire answer per : 294

user answer per : 44
below is the redis data 250 /n/r
only no answer and busy will be convert, total number require 250 /n/r
UPDATE voice_compaign_detail_66438 SET user_report='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_66438 SET user_report='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 : 137 no_answer_count : 46 Busy count :36 congestion_count : 17 failed_count : 38UPDATE voice_compaign_detail_66438 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 46 UPDATE voice_compaign_detail_66438 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 36 UPDATE voice_compaign_detail_66438 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 17 UPDATE voice_compaign_detail_66438 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`='294', `user_busy_sms`='322', `user_congestion_sms`='17', `user_failed_sms`='65', `user_hangup_sms`='0', `user_no_answer_sms`='275', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='450' WHERE `compaign_id`=66438 LIMIT 1 


Time Diff : 0.2

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


Compaign : 66444
\compaign_type : Rans per 28.14777 
ans sms 633
dnd sms 240

require answer perrequire answer per : 111

user answer per : 32
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_66444 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 60 UPDATE voice_compaign_detail_66444 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 60 Total Failed : 91 no_answer_count : 31 Busy count :24 congestion_count : 11 failed_count : 25UPDATE voice_compaign_detail_66444 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 31 UPDATE voice_compaign_detail_66444 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 24 UPDATE voice_compaign_detail_66444 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 11 UPDATE voice_compaign_detail_66444 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`='111', `user_busy_sms`='90', `user_congestion_sms`='11', `user_failed_sms`='85', `user_hangup_sms`='0', `user_no_answer_sms`='96', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='240' WHERE `compaign_id`=66444 LIMIT 1 


Time Diff : 0.341

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


Compaign : 66242
\compaign_type : ATans per 29.46958 
ans sms 13326
dnd sms 0

require answer perrequire answer per : 3928

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='92', `user_busy_sms`='3638', `user_congestion_sms`='0', `user_failed_sms`='8870', `user_hangup_sms`='0', `user_no_answer_sms`='726', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


Time Diff : 1.084

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760430782'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760430841'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760430902'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760430961'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760431021'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760431082'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760431142'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760431201'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760431261'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760431322'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760431381'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760431441'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760431502'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760431561'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760431622'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760431681'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760431741'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760431802'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760431862'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760431921'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760431982'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760432041'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760432101'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760432161'  
Array
(
    [0] => 66456
    [compaign_id] => 66456
    [1] => u179
    [user_id] => u179
    [2] => 58062,
    [group_ids] => 58062,
    [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] => 1760691081
    [start_date] => 1760691081
    [9] => 0
    [end_date] => 0
    [10] => 110
    [total_sms] => 110
    [11] => 110
    [sent_sms] => 110
    [12] => 0
    [duplicate_sms] => 0
    [13] => 17
    [answered_sms] => 17
    [14] => 28
    [busy_sms] => 28
    [15] => 0
    [congestion_sms] => 0
    [16] => 17
    [failed_sms] => 17
    [17] => 0
    [hangup_sms] => 0
    [18] => 24
    [no_answer_sms] => 24
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 5
    [cutting_sms] => 5
    [22] => 19
    [dnd_sms] => 19
    [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] => 17
    [user_failed_sms] => 17
    [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] => 19
    [user_dnd_sms] => 19
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u179
    [created_by] => u179
    [38] => 0
    [isScheduled] => 0
    [39] => 1760691081
    [create_date] => 1760691081
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760691087,"compaign_read_start_time":1760691089,"compaign_read_complete_time":1760691090,"compaign_send_start_time":1760691122,"compaign_send_complete_time":1760691123}
    [action_time] => {"api_allot_time":1760691087,"compaign_read_start_time":1760691089,"compaign_read_complete_time":1760691090,"compaign_send_start_time":1760691122,"compaign_send_complete_time":1760691123}
    [50] => 0
    [compaign_file] => 0
    [51] => u179_66456_17102025_022126PM_206
    [common_name] => u179_66456_17102025_022126PM_206
    [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_58062
    [temp_group_table] => contacts_temp_group_58062
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => 3
    [message_type] => 3
    [68] => 10
    [extension_key] => 10
    [69] => 2
    [credit_seq] => 2
    [70] => 1
    [reschedule_max] => 1
    [71] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR,N,
    [reschedule_types] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR,N,
    [72] => 1
    [reschedule_remaining] => 1
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 1760691302
    [reschedule_last_check_time] => 1760691302
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760691302
    [last_credit_update_time] => 1760691302
    [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":1760691600}
    [rt_time] => {"1":1760691600}
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":"2","FFL":"2"}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":"2","FFL":"2"}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr3,u179
    [uphierarchy] => admin,sr3,u179
    [113] => 
    [extra_params_json] => 
)


Compaign : 66456
\compaign_type : Rans per 30.05808 
ans sms 110
dnd sms 19

require answer perrequire answer per : 28

user answer per : 17
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_66456 SET user_report='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_66456 SET user_report='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 : 1 no_answer_count : 1 Busy count :1 congestion_count : 1 failed_count : -2UPDATE voice_compaign_detail_66456 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 1 UPDATE voice_compaign_detail_66456 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 1 UPDATE voice_compaign_detail_66456 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`='30', `user_congestion_sms`='0', `user_failed_sms`='5', `user_hangup_sms`='0', `user_no_answer_sms`='28', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='19' WHERE `compaign_id`=66456 LIMIT 1 


Time Diff : 1.955

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760432221'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760432282'  
Array
(
    [0] => 66458
    [compaign_id] => 66458
    [1] => u179
    [user_id] => u179
    [2] => 58065,
    [group_ids] => 58065,
    [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] => 1760691176
    [start_date] => 1760691176
    [9] => 0
    [end_date] => 0
    [10] => 1207
    [total_sms] => 1207
    [11] => 1207
    [sent_sms] => 1207
    [12] => 0
    [duplicate_sms] => 0
    [13] => 142
    [answered_sms] => 142
    [14] => 161
    [busy_sms] => 161
    [15] => 0
    [congestion_sms] => 0
    [16] => 97
    [failed_sms] => 97
    [17] => 0
    [hangup_sms] => 0
    [18] => 129
    [no_answer_sms] => 129
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 464
    [cutting_sms] => 464
    [22] => 214
    [dnd_sms] => 214
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 142
    [user_answered_sms] => 142
    [27] => 161
    [user_busy_sms] => 161
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 97
    [user_failed_sms] => 97
    [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] => 214
    [user_dnd_sms] => 214
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u179
    [created_by] => u179
    [38] => 0
    [isScheduled] => 0
    [39] => 1760691175
    [create_date] => 1760691175
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760691183,"compaign_read_start_time":1760691185,"compaign_read_complete_time":1760691187,"compaign_send_start_time":1760691242,"compaign_send_complete_time":1760691250}
    [action_time] => {"api_allot_time":1760691183,"compaign_read_start_time":1760691185,"compaign_read_complete_time":1760691187,"compaign_send_start_time":1760691242,"compaign_send_complete_time":1760691250}
    [50] => 0
    [compaign_file] => 0
    [51] => u179_66458_17102025_022302PM_621
    [common_name] => u179_66458_17102025_022302PM_621
    [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_58065
    [temp_group_table] => contacts_temp_group_58065
    [61] => 0
    [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] => 1760691302
    [reschedule_last_check_time] => 1760691302
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760691482
    [last_credit_update_time] => 1760691482
    [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":1760697000,"2":1760697900,"3":1760698800}
    [rt_time] => {"1":1760697000,"2":1760697900,"3":1760698800}
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":"2","FFL":"2"}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":"2","FFL":"2"}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr3,u179
    [uphierarchy] => admin,sr3,u179
    [113] => 
    [extra_params_json] => 
)


Compaign : 66458
\compaign_type : Rans per 30.56188 
ans sms 1207
dnd sms 214

require answer perrequire answer per : 304

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='304', `user_busy_sms`='257', `user_congestion_sms`='30', `user_failed_sms`='122', `user_hangup_sms`='0', `user_no_answer_sms`='280', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='214' WHERE `compaign_id`=66458 LIMIT 1 


Time Diff : 0.186

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760432341'  
Array
(
    [0] => 66459
    [compaign_id] => 66459
    [1] => u22471
    [user_id] => u22471
    [2] => 58066,
    [group_ids] => 58066,
    [3] => 
    [sender_id] => 
    [4] => WhatsApp Audio 2025-10-17 at 8.57.53 AM(1) (online-audio-converter.com).mp3
    [filename] => WhatsApp Audio 2025-10-17 at 8.57.53 AM(1) (online-audio-converter.com).mp3
    [5] => 27
    [duration] => 27
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760691266
    [start_date] => 1760691266
    [9] => 0
    [end_date] => 0
    [10] => 486
    [total_sms] => 486
    [11] => 486
    [sent_sms] => 486
    [12] => 0
    [duplicate_sms] => 0
    [13] => 40
    [answered_sms] => 40
    [14] => 34
    [busy_sms] => 34
    [15] => 0
    [congestion_sms] => 0
    [16] => 35
    [failed_sms] => 35
    [17] => 0
    [hangup_sms] => 0
    [18] => 66
    [no_answer_sms] => 66
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 140
    [cutting_sms] => 140
    [22] => 171
    [dnd_sms] => 171
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 40
    [user_answered_sms] => 40
    [27] => 34
    [user_busy_sms] => 34
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 35
    [user_failed_sms] => 35
    [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] => 171
    [user_dnd_sms] => 171
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u22471
    [created_by] => u22471
    [38] => 0
    [isScheduled] => 0
    [39] => 1760691266
    [create_date] => 1760691266
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760691273,"compaign_read_start_time":1760691274,"compaign_read_complete_time":1760691277,"compaign_send_start_time":1760691302,"compaign_send_complete_time":1760691303}
    [action_time] => {"api_allot_time":1760691273,"compaign_read_start_time":1760691274,"compaign_read_complete_time":1760691277,"compaign_send_start_time":1760691302,"compaign_send_complete_time":1760691303}
    [50] => 0
    [compaign_file] => 0
    [51] => u22471_66459_17102025_022431PM_337
    [common_name] => u22471_66459_17102025_022431PM_337
    [52] => 1760685267_u22471_voice.wav
    [voice_file] => 1760685267_u22471_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_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_58066
    [temp_group_table] => contacts_temp_group_58066
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760691541
    [last_credit_update_time] => 1760691541
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1724
    [user_voice_plan_id] => 1724
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.5
    [pulse_rate] => 0.5
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr53,sr78,u22471
    [uphierarchy] => admin,sr53,sr78,u22471
    [113] => 
    [extra_params_json] => 
)


Compaign : 66459
\compaign_type : Rans per 29.61678 
ans sms 486
dnd sms 171

require answer perrequire answer per : 94

user answer per : 40
below is the redis data 54 UPDATE voice_compaign_detail_66459 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 54 Total Failed : 86 no_answer_count : 29 Busy count :23 congestion_count : 11 failed_count : 23UPDATE voice_compaign_detail_66459 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 29 UPDATE voice_compaign_detail_66459 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 23 UPDATE voice_compaign_detail_66459 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 11 UPDATE voice_compaign_detail_66459 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`='57', `user_congestion_sms`='11', `user_failed_sms`='58', `user_hangup_sms`='0', `user_no_answer_sms`='95', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='171' WHERE `compaign_id`=66459 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>'1760432401'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760432461'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760432521'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760432582'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760432641'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760432701'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760432761'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760432821'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760432882'  
Array
(
    [0] => 66464
    [compaign_id] => 66464
    [1] => u179
    [user_id] => u179
    [2] => 58071,
    [group_ids] => 58071,
    [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] => 1760691600
    [start_date] => 1760691600
    [9] => 0
    [end_date] => 0
    [10] => 82
    [total_sms] => 82
    [11] => 82
    [sent_sms] => 82
    [12] => 0
    [duplicate_sms] => 0
    [13] => 8
    [answered_sms] => 8
    [14] => 20
    [busy_sms] => 20
    [15] => 0
    [congestion_sms] => 0
    [16] => 20
    [failed_sms] => 20
    [17] => 0
    [hangup_sms] => 0
    [18] => 15
    [no_answer_sms] => 15
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 19
    [dnd_sms] => 19
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 8
    [user_answered_sms] => 8
    [27] => 20
    [user_busy_sms] => 20
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 20
    [user_failed_sms] => 20
    [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] => 19
    [user_dnd_sms] => 19
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u179
    [created_by] => u179
    [38] => 1
    [isScheduled] => 1
    [39] => 1760691723
    [create_date] => 1760691723
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760691725,"compaign_read_start_time":1760691728,"compaign_read_complete_time":1760691728,"compaign_send_start_time":1760691782,"compaign_send_complete_time":1760691783}
    [action_time] => {"api_allot_time":1760691725,"compaign_read_start_time":1760691728,"compaign_read_complete_time":1760691728,"compaign_send_start_time":1760691782,"compaign_send_complete_time":1760691783}
    [50] => 0
    [compaign_file] => 0
    [51] => u179_66464_17102025_023204PM_936
    [common_name] => u179_66464_17102025_023204PM_936
    [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_58071
    [temp_group_table] => contacts_temp_group_58071
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [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] => 1760692021
    [last_credit_update_time] => 1760692021
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 336
    [user_voice_plan_id] => 336
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.3
    [pulse_rate] => 0.3
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":"2","FFL":"2"}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":"2","FFL":"2"}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr3,u179
    [uphierarchy] => admin,sr3,u179
    [113] => 
    [extra_params_json] => 
)


Compaign : 66464
\compaign_type : Rans per 25.46768 
ans sms 82
dnd sms 19

require answer perrequire answer per : 17

user answer per : 8
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_66464 SET user_report='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_66464 SET user_report='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 : 0 no_answer_count : 0 Busy count :0 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`='22', `user_congestion_sms`='0', `user_failed_sms`='4', `user_hangup_sms`='0', `user_no_answer_sms`='20', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='19' WHERE `compaign_id`=66464 LIMIT 1 


Time Diff : 3.341

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


Compaign : 66242
\compaign_type : ATans per 25.06926 
ans sms 15531
dnd sms 0

require answer perrequire answer per : 3894

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='103', `user_busy_sms`='4411', `user_congestion_sms`='0', `user_failed_sms`='10165', `user_hangup_sms`='0', `user_no_answer_sms`='852', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


Time Diff : 1.131

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760433901'  
Array
(
    [0] => 66466
    [compaign_id] => 66466
    [1] => u20123
    [user_id] => u20123
    [2] => 58069,
    [group_ids] => 58069,
    [3] => 
    [sender_id] => 
    [4] => Nisha_आपके_लिए-volume-adjusted.wav
    [filename] => Nisha_आपके_लिए-volume-adjusted.wav
    [5] => 20
    [duration] => 20
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760691745
    [start_date] => 1760691745
    [9] => 0
    [end_date] => 0
    [10] => 49236
    [total_sms] => 49236
    [11] => 49236
    [sent_sms] => 49236
    [12] => 0
    [duplicate_sms] => 0
    [13] => 2333
    [answered_sms] => 2333
    [14] => 3081
    [busy_sms] => 3081
    [15] => 43
    [congestion_sms] => 43
    [16] => 4395
    [failed_sms] => 4395
    [17] => 0
    [hangup_sms] => 0
    [18] => 2043
    [no_answer_sms] => 2043
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 37341
    [cutting_sms] => 37341
    [22] => 0
    [dnd_sms] => 0
    [23] => 1
    [blocked_sms] => 1
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 2333
    [user_answered_sms] => 2333
    [27] => 3081
    [user_busy_sms] => 3081
    [28] => 43
    [user_congestion_sms] => 43
    [29] => 4395
    [user_failed_sms] => 4395
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2043
    [user_no_answer_sms] => 2043
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u20123
    [created_by] => u20123
    [38] => 0
    [isScheduled] => 0
    [39] => 1760691715
    [create_date] => 1760691715
    [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":1760691751,"compaign_read_start_time":1760691752,"compaign_read_complete_time":1760691862,"compaign_send_start_time":1760691902,"compaign_send_complete_time":1760692043}
    [action_time] => {"api_allot_time":1760691751,"compaign_read_start_time":1760691752,"compaign_read_complete_time":1760691862,"compaign_send_start_time":1760691902,"compaign_send_complete_time":1760692043}
    [50] => 0
    [compaign_file] => 0
    [51] => u20123_66466_17102025_023230PM_767
    [common_name] => u20123_66466_17102025_023230PM_767
    [52] => 1758275916_u20123_voice.wav
    [voice_file] => 1758275916_u20123_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_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_58069
    [temp_group_table] => contacts_temp_group_58069
    [61] => 0
    [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] => 6
    [credit_seq] => 6
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760693042
    [last_credit_update_time] => 1760693042
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1671
    [user_voice_plan_id] => 1671
    [85] => 11
    [voice_plan_id] => 11
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.0009
    [pulse_rate] => 0.0009
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 7
    [dtmf_wait_time] => 7
    [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,u20123
    [uphierarchy] => admin,u20123
    [113] => 
    [extra_params_json] => 
)


Compaign : 66466
\compaign_type : Rans per 27.71031 
ans sms 49236
dnd sms 0

require answer perrequire answer per : 13644

user answer per : 2333
below is the redis data 11311 UPDATE voice_compaign_detail_66466 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 11311 Total Failed : 26038 no_answer_count : 8682 Busy count :6682 congestion_count : 3091 failed_count : 7583UPDATE voice_compaign_detail_66466 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 8682 UPDATE voice_compaign_detail_66466 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 6682 UPDATE voice_compaign_detail_66466 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 3091 UPDATE voice_compaign_detail_66466 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 7583 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='13644', `user_busy_sms`='9763', `user_congestion_sms`='3126', `user_failed_sms`='11978', `user_hangup_sms`='0', `user_no_answer_sms`='10725', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66466 LIMIT 1 


Time Diff : 0.018

Array
(
    [0] => 66473
    [compaign_id] => 66473
    [1] => u122
    [user_id] => u122
    [2] => 58076,
    [group_ids] => 58076,
    [3] => 
    [sender_id] => 
    [4] => Lotuscommsmsenglishh.mp3
    [filename] => Lotuscommsmsenglishh.mp3
    [5] => 21
    [duration] => 21
    [6] => 2
    [credits_per_sms] => 2
    [7] => 15
    [user_pulse] => 15
    [8] => 1760692811
    [start_date] => 1760692811
    [9] => 0
    [end_date] => 0
    [10] => 101
    [total_sms] => 101
    [11] => 101
    [sent_sms] => 101
    [12] => 0
    [duplicate_sms] => 0
    [13] => 7
    [answered_sms] => 7
    [14] => 11
    [busy_sms] => 11
    [15] => 2
    [congestion_sms] => 2
    [16] => 38
    [failed_sms] => 38
    [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] => 29
    [dnd_sms] => 29
    [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] => 2
    [user_congestion_sms] => 2
    [29] => 38
    [user_failed_sms] => 38
    [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] => 29
    [user_dnd_sms] => 29
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u122
    [created_by] => u122
    [38] => 0
    [isScheduled] => 0
    [39] => 1760692811
    [create_date] => 1760692811
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760692819,"compaign_read_start_time":1760692819,"compaign_read_complete_time":1760692820,"compaign_send_start_time":1760692862,"compaign_send_complete_time":1760692863}
    [action_time] => {"api_allot_time":1760692819,"compaign_read_start_time":1760692819,"compaign_read_complete_time":1760692820,"compaign_send_start_time":1760692862,"compaign_send_complete_time":1760692863}
    [50] => 0
    [compaign_file] => 0
    [51] => u122_66473_17102025_025017PM_456
    [common_name] => u122_66473_17102025_025017PM_456
    [52] => api_1739429180_u122_voice_945.wav
    [voice_file] => api_1739429180_u122_voice_945.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_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_58076
    [temp_group_table] => contacts_temp_group_58076
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760693101
    [last_credit_update_time] => 1760693101
    [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 : 66473
\compaign_type : Rans per 27.65749 
ans sms 101
dnd sms 29

require answer perrequire answer per : 20

user answer per : 7
below is the redis data 13 /n/r
only no answer and busy will be convert, total number require 13 /n/r
UPDATE voice_compaign_detail_66473 SET user_report='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_66473 SET user_report='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 : 0 no_answer_count : 0 Busy count :0 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`='16', `user_congestion_sms`='1', `user_failed_sms`='19', `user_hangup_sms`='0', `user_no_answer_sms`='16', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='29' WHERE `compaign_id`=66473 LIMIT 1 


Time Diff : 2.475

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760433962'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760434021'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760434081'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760434142'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760434201'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760434262'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760434321'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760434381'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760434442'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760434501'  
Array
(
    [0] => 66474
    [compaign_id] => 66474
    [1] => u122
    [user_id] => u122
    [2] => 58077,
    [group_ids] => 58077,
    [3] => 
    [sender_id] => 
    [4] => Lotuscommsmsenglishh.mp3
    [filename] => Lotuscommsmsenglishh.mp3
    [5] => 21
    [duration] => 21
    [6] => 2
    [credits_per_sms] => 2
    [7] => 15
    [user_pulse] => 15
    [8] => 1760693400
    [start_date] => 1760693400
    [9] => 0
    [end_date] => 0
    [10] => 97
    [total_sms] => 97
    [11] => 97
    [sent_sms] => 97
    [12] => 0
    [duplicate_sms] => 0
    [13] => 13
    [answered_sms] => 13
    [14] => 18
    [busy_sms] => 18
    [15] => 1
    [congestion_sms] => 1
    [16] => 25
    [failed_sms] => 25
    [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] => 27
    [dnd_sms] => 27
    [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] => 1
    [user_congestion_sms] => 1
    [29] => 25
    [user_failed_sms] => 25
    [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] => 27
    [user_dnd_sms] => 27
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u122
    [created_by] => u122
    [38] => 1
    [isScheduled] => 1
    [39] => 1760692854
    [create_date] => 1760692854
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760693407,"compaign_read_start_time":1760693410,"compaign_read_complete_time":1760693411,"compaign_send_start_time":1760693462,"compaign_send_complete_time":1760693463}
    [action_time] => {"api_allot_time":1760693407,"compaign_read_start_time":1760693410,"compaign_read_complete_time":1760693411,"compaign_send_start_time":1760693462,"compaign_send_complete_time":1760693463}
    [50] => 0
    [compaign_file] => 0
    [51] => u122_66474_17102025_030005PM_807
    [common_name] => u122_66474_17102025_030005PM_807
    [52] => api_1739429180_u122_voice_945.wav
    [voice_file] => api_1739429180_u122_voice_945.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_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_58077
    [temp_group_table] => contacts_temp_group_58077
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760693701
    [last_credit_update_time] => 1760693701
    [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 : 66474
\compaign_type : Rans per 30.12561 
ans sms 97
dnd sms 27

require answer perrequire answer per : 22

user answer per : 13
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_66474 SET user_report='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_66474 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 7 Total Failed : 0 no_answer_count : 0 Busy count :0 congestion_count : 0 failed_count : 0 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='22', `user_busy_sms`='19', `user_congestion_sms`='0', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='17', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='27' WHERE `compaign_id`=66474 LIMIT 1 


Time Diff : 2.175

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760434561'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760434622'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760434681'  
Array
(
    [0] => 66462
    [compaign_id] => 66462
    [1] => u20123
    [user_id] => u20123
    [2] => 58068,
    [group_ids] => 58068,
    [3] => 
    [sender_id] => 
    [4] => Nisha_आपके_लिए-volume-adjusted.wav
    [filename] => Nisha_आपके_लिए-volume-adjusted.wav
    [5] => 20
    [duration] => 20
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760691615
    [start_date] => 1760691615
    [9] => 0
    [end_date] => 0
    [10] => 49232
    [total_sms] => 49232
    [11] => 49232
    [sent_sms] => 49232
    [12] => 0
    [duplicate_sms] => 0
    [13] => 2037
    [answered_sms] => 2037
    [14] => 2757
    [busy_sms] => 2757
    [15] => 512
    [congestion_sms] => 512
    [16] => 3753
    [failed_sms] => 3753
    [17] => 0
    [hangup_sms] => 0
    [18] => 1849
    [no_answer_sms] => 1849
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 38324
    [cutting_sms] => 38324
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 2037
    [user_answered_sms] => 2037
    [27] => 2757
    [user_busy_sms] => 2757
    [28] => 512
    [user_congestion_sms] => 512
    [29] => 3753
    [user_failed_sms] => 3753
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 1849
    [user_no_answer_sms] => 1849
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u20123
    [created_by] => u20123
    [38] => 0
    [isScheduled] => 0
    [39] => 1760691585
    [create_date] => 1760691585
    [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":1760691621,"compaign_read_start_time":1760691623,"compaign_read_complete_time":1760691709,"compaign_send_start_time":1760691722,"compaign_send_complete_time":1760691849}
    [action_time] => {"api_allot_time":1760691621,"compaign_read_start_time":1760691623,"compaign_read_complete_time":1760691709,"compaign_send_start_time":1760691722,"compaign_send_complete_time":1760691849}
    [50] => 0
    [compaign_file] => 0
    [51] => u20123_66462_17102025_023020PM_797
    [common_name] => u20123_66462_17102025_023020PM_797
    [52] => 1758275916_u20123_voice.wav
    [voice_file] => 1758275916_u20123_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_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_58068
    [temp_group_table] => contacts_temp_group_58068
    [61] => 0
    [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] => 10
    [credit_seq] => 10
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760693822
    [last_credit_update_time] => 1760693822
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1671
    [user_voice_plan_id] => 1671
    [85] => 11
    [voice_plan_id] => 11
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.0009
    [pulse_rate] => 0.0009
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 7
    [dtmf_wait_time] => 7
    [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,u20123
    [uphierarchy] => admin,u20123
    [113] => 
    [extra_params_json] => 
)


Compaign : 66462
\compaign_type : Rans per 26.85155 
ans sms 49232
dnd sms 0

require answer perrequire answer per : 13220

user answer per : 2037
below is the redis data 11183 UPDATE voice_compaign_detail_66462 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 11183 Total Failed : 27289 no_answer_count : 9099 Busy count :7003 congestion_count : 3240 failed_count : 7947UPDATE voice_compaign_detail_66462 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 9099 UPDATE voice_compaign_detail_66462 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 7003 UPDATE voice_compaign_detail_66462 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 3240 UPDATE voice_compaign_detail_66462 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 7947 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='13220', `user_busy_sms`='9760', `user_congestion_sms`='3604', `user_failed_sms`='11700', `user_hangup_sms`='0', `user_no_answer_sms`='10948', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66462 LIMIT 1 


Time Diff : 0.044

Array
(
    [0] => 66468
    [compaign_id] => 66468
    [1] => u20123
    [user_id] => u20123
    [2] => 58074,
    [group_ids] => 58074,
    [3] => 
    [sender_id] => 
    [4] => Nisha_आपके_लिए-volume-adjusted.wav
    [filename] => Nisha_आपके_लिए-volume-adjusted.wav
    [5] => 20
    [duration] => 20
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760692054
    [start_date] => 1760692054
    [9] => 0
    [end_date] => 0
    [10] => 49248
    [total_sms] => 49248
    [11] => 49248
    [sent_sms] => 49248
    [12] => 0
    [duplicate_sms] => 0
    [13] => 2583
    [answered_sms] => 2583
    [14] => 3496
    [busy_sms] => 3496
    [15] => 31
    [congestion_sms] => 31
    [16] => 4944
    [failed_sms] => 4944
    [17] => 0
    [hangup_sms] => 0
    [18] => 2314
    [no_answer_sms] => 2314
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 35880
    [cutting_sms] => 35880
    [22] => 0
    [dnd_sms] => 0
    [23] => 2
    [blocked_sms] => 2
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 2583
    [user_answered_sms] => 2583
    [27] => 3496
    [user_busy_sms] => 3496
    [28] => 31
    [user_congestion_sms] => 31
    [29] => 4944
    [user_failed_sms] => 4944
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2314
    [user_no_answer_sms] => 2314
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u20123
    [created_by] => u20123
    [38] => 0
    [isScheduled] => 0
    [39] => 1760692026
    [create_date] => 1760692026
    [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":1760692060,"compaign_read_start_time":1760692063,"compaign_read_complete_time":1760692151,"compaign_send_start_time":1760692201,"compaign_send_complete_time":1760692351}
    [action_time] => {"api_allot_time":1760692060,"compaign_read_start_time":1760692063,"compaign_read_complete_time":1760692151,"compaign_send_start_time":1760692201,"compaign_send_complete_time":1760692351}
    [50] => 0
    [compaign_file] => 0
    [51] => u20123_66468_17102025_023739PM_377
    [common_name] => u20123_66468_17102025_023739PM_377
    [52] => 1758275916_u20123_voice.wav
    [voice_file] => 1758275916_u20123_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_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_58074
    [temp_group_table] => contacts_temp_group_58074
    [61] => 0
    [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] => 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] => 1760693822
    [last_credit_update_time] => 1760693822
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1671
    [user_voice_plan_id] => 1671
    [85] => 11
    [voice_plan_id] => 11
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.0009
    [pulse_rate] => 0.0009
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 7
    [dtmf_wait_time] => 7
    [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,u20123
    [uphierarchy] => admin,u20123
    [113] => 
    [extra_params_json] => 
)


Compaign : 66468
\compaign_type : Rans per 28.11843 
ans sms 49248
dnd sms 0

require answer perrequire answer per : 13848

user answer per : 2583
below is the redis data 11265 UPDATE voice_compaign_detail_66468 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 11265 Total Failed : 24628 no_answer_count : 8211 Busy count :6320 congestion_count : 2924 failed_count : 7173UPDATE voice_compaign_detail_66468 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 8211 UPDATE voice_compaign_detail_66468 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 6320 UPDATE voice_compaign_detail_66468 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 2924 UPDATE voice_compaign_detail_66468 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 7173 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='13848', `user_busy_sms`='9816', `user_congestion_sms`='2942', `user_failed_sms`='12117', `user_hangup_sms`='0', `user_no_answer_sms`='10525', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66468 LIMIT 1 


Time Diff : 0.023

running...
Array
(
    [0] => 66475
    [compaign_id] => 66475
    [1] => u64
    [user_id] => u64
    [2] => 58078,
    [group_ids] => 58078,
    [3] => 
    [sender_id] => 
    [4] => SPS Ashoknagar Diwali Holiday 17-10-2025.mp3
    [filename] => SPS Ashoknagar Diwali Holiday 17-10-2025.mp3
    [5] => 31
    [duration] => 31
    [6] => 2
    [credits_per_sms] => 2
    [7] => 30
    [user_pulse] => 30
    [8] => 1760693619
    [start_date] => 1760693619
    [9] => 0
    [end_date] => 0
    [10] => 846
    [total_sms] => 846
    [11] => 846
    [sent_sms] => 846
    [12] => 0
    [duplicate_sms] => 0
    [13] => 122
    [answered_sms] => 122
    [14] => 91
    [busy_sms] => 91
    [15] => 0
    [congestion_sms] => 0
    [16] => 44
    [failed_sms] => 44
    [17] => 0
    [hangup_sms] => 0
    [18] => 77
    [no_answer_sms] => 77
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 297
    [cutting_sms] => 297
    [22] => 215
    [dnd_sms] => 215
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 122
    [user_answered_sms] => 122
    [27] => 91
    [user_busy_sms] => 91
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 44
    [user_failed_sms] => 44
    [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] => 215
    [user_dnd_sms] => 215
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u64
    [created_by] => u64
    [38] => 0
    [isScheduled] => 0
    [39] => 1760693619
    [create_date] => 1760693619
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760693625,"compaign_read_start_time":1760693627,"compaign_read_complete_time":1760693630,"compaign_send_start_time":1760693642,"compaign_send_complete_time":1760693644}
    [action_time] => {"api_allot_time":1760693625,"compaign_read_start_time":1760693627,"compaign_read_complete_time":1760693630,"compaign_send_start_time":1760693642,"compaign_send_complete_time":1760693644}
    [50] => 0
    [compaign_file] => 0
    [51] => u64_66475_17102025_030344PM_829
    [common_name] => u64_66475_17102025_030344PM_829
    [52] => 1760693617_u64_voice.wav
    [voice_file] => 1760693617_u64_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_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_58078
    [temp_group_table] => contacts_temp_group_58078
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760693881
    [last_credit_update_time] => 1760693881
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 123
    [user_voice_plan_id] => 123
    [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":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":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,u64
    [uphierarchy] => admin,sr3,u64
    [113] => 
    [extra_params_json] => 
)


Compaign : 66475
\compaign_type : Rans per 25.32556 
ans sms 846
dnd sms 215

require answer perrequire answer per : 160

user answer per : 122
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_66475 SET user_report='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_66475 SET user_report='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 : 247 no_answer_count : 83 Busy count :64 congestion_count : 30 failed_count : 70UPDATE voice_compaign_detail_66475 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 83 UPDATE voice_compaign_detail_66475 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 64 UPDATE voice_compaign_detail_66475 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 30 UPDATE voice_compaign_detail_66475 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`='160', `user_busy_sms`='159', `user_congestion_sms`='30', `user_failed_sms`='106', `user_hangup_sms`='0', `user_no_answer_sms`='176', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='215' WHERE `compaign_id`=66475 LIMIT 1 


Time Diff : 0.313

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760434802'  
Array
(
    [0] => 66374
    [compaign_id] => 66374
    [1] => u179
    [user_id] => u179
    [2] => 58015,
    [group_ids] => 58015,
    [3] => 
    [sender_id] => 
    [4] => NEW DIWALI OFFER VOICE.mp3
    [filename] => NEW DIWALI OFFER VOICE.mp3
    [5] => 21
    [duration] => 21
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760693400
    [start_date] => 1760693400
    [9] => 0
    [end_date] => 0
    [10] => 2323
    [total_sms] => 2323
    [11] => 2323
    [sent_sms] => 2323
    [12] => 0
    [duplicate_sms] => 0
    [13] => 96
    [answered_sms] => 96
    [14] => 557
    [busy_sms] => 557
    [15] => 0
    [congestion_sms] => 0
    [16] => 80
    [failed_sms] => 80
    [17] => 0
    [hangup_sms] => 0
    [18] => 172
    [no_answer_sms] => 172
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 968
    [cutting_sms] => 968
    [22] => 450
    [dnd_sms] => 450
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 96
    [user_answered_sms] => 96
    [27] => 557
    [user_busy_sms] => 557
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 80
    [user_failed_sms] => 80
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 172
    [user_no_answer_sms] => 172
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 450
    [user_dnd_sms] => 450
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u179
    [created_by] => u179
    [38] => 1
    [isScheduled] => 1
    [39] => 1760682733
    [create_date] => 1760682733
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760693406,"compaign_read_start_time":1760693407,"compaign_read_complete_time":1760693414,"compaign_send_start_time":1760693462,"compaign_send_complete_time":1760693467}
    [action_time] => {"api_allot_time":1760693406,"compaign_read_start_time":1760693407,"compaign_read_complete_time":1760693414,"compaign_send_start_time":1760693462,"compaign_send_complete_time":1760693467}
    [50] => 0
    [compaign_file] => 0
    [51] => u179_66374_17102025_030005PM_938
    [common_name] => u179_66374_17102025_030005PM_938
    [52] => 1759899987_u179_voice.wav
    [voice_file] => 1759899987_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_58015
    [temp_group_table] => contacts_temp_group_58015
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [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] => 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] => 1760693942
    [last_credit_update_time] => 1760693942
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 336
    [user_voice_plan_id] => 336
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.3
    [pulse_rate] => 0.3
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":"2","FFL":"2"}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":"2","FFL":"2"}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr3,u179
    [uphierarchy] => admin,sr3,u179
    [113] => 
    [extra_params_json] => 
)


Compaign : 66374
\compaign_type : Rans per 30.25218 
ans sms 2323
dnd sms 450

require answer perrequire answer per : 567

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='567', `user_busy_sms`='646', `user_congestion_sms`='37', `user_failed_sms`='112', `user_hangup_sms`='0', `user_no_answer_sms`='511', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='450' WHERE `compaign_id`=66374 LIMIT 1 


Time Diff : 0.221

Array
(
    [0] => 66477
    [compaign_id] => 66477
    [1] => u64
    [user_id] => u64
    [2] => 58079,
    [group_ids] => 58079,
    [3] => 
    [sender_id] => 
    [4] => SPS Ashoknagar Diwali Holiday 17-10-2025.mp3
    [filename] => SPS Ashoknagar Diwali Holiday 17-10-2025.mp3
    [5] => 31
    [duration] => 31
    [6] => 2
    [credits_per_sms] => 2
    [7] => 30
    [user_pulse] => 30
    [8] => 1760693697
    [start_date] => 1760693697
    [9] => 0
    [end_date] => 0
    [10] => 280
    [total_sms] => 280
    [11] => 280
    [sent_sms] => 280
    [12] => 0
    [duplicate_sms] => 0
    [13] => 66
    [answered_sms] => 66
    [14] => 32
    [busy_sms] => 32
    [15] => 0
    [congestion_sms] => 0
    [16] => 9
    [failed_sms] => 9
    [17] => 0
    [hangup_sms] => 0
    [18] => 31
    [no_answer_sms] => 31
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 59
    [cutting_sms] => 59
    [22] => 83
    [dnd_sms] => 83
    [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] => 9
    [user_failed_sms] => 9
    [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] => 83
    [user_dnd_sms] => 83
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u64
    [created_by] => u64
    [38] => 0
    [isScheduled] => 0
    [39] => 1760693696
    [create_date] => 1760693696
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760693704,"compaign_read_start_time":1760693707,"compaign_read_complete_time":1760693708,"compaign_send_start_time":1760693762,"compaign_send_complete_time":1760693768}
    [action_time] => {"api_allot_time":1760693704,"compaign_read_start_time":1760693707,"compaign_read_complete_time":1760693708,"compaign_send_start_time":1760693762,"compaign_send_complete_time":1760693768}
    [50] => 0
    [compaign_file] => 0
    [51] => u64_66477_17102025_030503PM_719
    [common_name] => u64_66477_17102025_030503PM_719
    [52] => 1760693696_u64_voice.wav
    [voice_file] => 1760693696_u64_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_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_58079
    [temp_group_table] => contacts_temp_group_58079
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760694002
    [last_credit_update_time] => 1760694002
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 123
    [user_voice_plan_id] => 123
    [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":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":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,u64
    [uphierarchy] => admin,sr3,u64
    [113] => 
    [extra_params_json] => 
)


Compaign : 66477
\compaign_type : Rans per 25.38499 
ans sms 280
dnd sms 83

require answer perrequire answer per : 51

user answer per : 66
Total Failed : 59 no_answer_count : 20 Busy count :16 congestion_count : 8 failed_count : 15UPDATE voice_compaign_detail_66477 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 20 UPDATE voice_compaign_detail_66477 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 16 UPDATE voice_compaign_detail_66477 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 8 UPDATE voice_compaign_detail_66477 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`='66', `user_busy_sms`='48', `user_congestion_sms`='8', `user_failed_sms`='24', `user_hangup_sms`='0', `user_no_answer_sms`='51', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='83' WHERE `compaign_id`=66477 LIMIT 1 


Time Diff : 0.807

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760434861'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760434921'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760434981'  
Array
(
    [0] => 66471
    [compaign_id] => 66471
    [1] => u20123
    [user_id] => u20123
    [2] => 58075,
    [group_ids] => 58075,
    [3] => 
    [sender_id] => 
    [4] => Nisha_आपके_लिए-volume-adjusted.wav
    [filename] => Nisha_आपके_लिए-volume-adjusted.wav
    [5] => 20
    [duration] => 20
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760692160
    [start_date] => 1760692160
    [9] => 0
    [end_date] => 0
    [10] => 49215
    [total_sms] => 49215
    [11] => 49215
    [sent_sms] => 49215
    [12] => 0
    [duplicate_sms] => 0
    [13] => 2590
    [answered_sms] => 2590
    [14] => 3449
    [busy_sms] => 3449
    [15] => 29
    [congestion_sms] => 29
    [16] => 4964
    [failed_sms] => 4964
    [17] => 0
    [hangup_sms] => 0
    [18] => 2328
    [no_answer_sms] => 2328
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 35855
    [cutting_sms] => 35855
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 2590
    [user_answered_sms] => 2590
    [27] => 3449
    [user_busy_sms] => 3449
    [28] => 29
    [user_congestion_sms] => 29
    [29] => 4964
    [user_failed_sms] => 4964
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2328
    [user_no_answer_sms] => 2328
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u20123
    [created_by] => u20123
    [38] => 0
    [isScheduled] => 0
    [39] => 1760692130
    [create_date] => 1760692130
    [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":1760692167,"compaign_read_start_time":1760692168,"compaign_read_complete_time":1760692274,"compaign_send_start_time":1760692322,"compaign_send_complete_time":1760692472}
    [action_time] => {"api_allot_time":1760692167,"compaign_read_start_time":1760692168,"compaign_read_complete_time":1760692274,"compaign_send_start_time":1760692322,"compaign_send_complete_time":1760692472}
    [50] => 0
    [compaign_file] => 0
    [51] => u20123_66471_17102025_023926PM_167
    [common_name] => u20123_66471_17102025_023926PM_167
    [52] => 1758275916_u20123_voice.wav
    [voice_file] => 1758275916_u20123_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_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_58075
    [temp_group_table] => contacts_temp_group_58075
    [61] => 0
    [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] => 9
    [credit_seq] => 9
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760694181
    [last_credit_update_time] => 1760694181
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1671
    [user_voice_plan_id] => 1671
    [85] => 11
    [voice_plan_id] => 11
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.0009
    [pulse_rate] => 0.0009
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 7
    [dtmf_wait_time] => 7
    [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,u20123
    [uphierarchy] => admin,u20123
    [113] => 
    [extra_params_json] => 
)


Compaign : 66471
\compaign_type : Rans per 28.29408 
ans sms 49215
dnd sms 0

require answer perrequire answer per : 13925

user answer per : 2590
below is the redis data 11335 UPDATE voice_compaign_detail_66471 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 11335 Total Failed : 24530 no_answer_count : 8179 Busy count :6295 congestion_count : 2912 failed_count : 7144UPDATE voice_compaign_detail_66471 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 8179 UPDATE voice_compaign_detail_66471 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 6295 UPDATE voice_compaign_detail_66471 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 2912 UPDATE voice_compaign_detail_66471 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 7144 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='13925', `user_busy_sms`='9744', `user_congestion_sms`='2931', `user_failed_sms`='12108', `user_hangup_sms`='0', `user_no_answer_sms`='10507', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66471 LIMIT 1 


Time Diff : 0.019

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760435041'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760435102'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760435161'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760435222'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760435281'  
Array
(
    [0] => 66480
    [compaign_id] => 66480
    [1] => u632
    [user_id] => u632
    [2] => 58082,
    [group_ids] => 58082,
    [3] => 
    [sender_id] => 
    [4] => TPS digital solution Diwali Dhanteras promotion 1.mp3
    [filename] => TPS digital solution Diwali Dhanteras promotion 1.mp3
    [5] => 89
    [duration] => 89
    [6] => 3
    [credits_per_sms] => 3
    [7] => 30
    [user_pulse] => 30
    [8] => 1760693921
    [start_date] => 1760693921
    [9] => 0
    [end_date] => 0
    [10] => 1509
    [total_sms] => 1509
    [11] => 1509
    [sent_sms] => 1509
    [12] => 0
    [duplicate_sms] => 0
    [13] => 144
    [answered_sms] => 144
    [14] => 171
    [busy_sms] => 171
    [15] => 0
    [congestion_sms] => 0
    [16] => 293
    [failed_sms] => 293
    [17] => 0
    [hangup_sms] => 0
    [18] => 184
    [no_answer_sms] => 184
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 717
    [cutting_sms] => 717
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 144
    [user_answered_sms] => 144
    [27] => 171
    [user_busy_sms] => 171
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 293
    [user_failed_sms] => 293
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 184
    [user_no_answer_sms] => 184
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u632
    [created_by] => u632
    [38] => 0
    [isScheduled] => 0
    [39] => 1760693920
    [create_date] => 1760693920
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760693928,"compaign_read_start_time":1760693942,"compaign_read_complete_time":1760693944,"compaign_send_start_time":1760694002,"compaign_send_complete_time":1760694015}
    [action_time] => {"api_allot_time":1760693928,"compaign_read_start_time":1760693942,"compaign_read_complete_time":1760693944,"compaign_send_start_time":1760694002,"compaign_send_complete_time":1760694015}
    [50] => 0
    [compaign_file] => 0
    [51] => u632_66480_17102025_030846PM_818
    [common_name] => u632_66480_17102025_030846PM_818
    [52] => 1760693920_u632_voice.wav
    [voice_file] => 1760693920_u632_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_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_58082
    [temp_group_table] => contacts_temp_group_58082
    [61] => 0
    [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] => 1760694481
    [last_credit_update_time] => 1760694481
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1045
    [user_voice_plan_id] => 1045
    [85] => 11
    [voice_plan_id] => 11
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.15
    [pulse_rate] => 0.15
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 14
    [dtmf_wait_time] => 14
    [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":"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,sr27,sr126,u632
    [uphierarchy] => admin,sr27,sr126,u632
    [113] => 
    [extra_params_json] => 
)


Compaign : 66480
\compaign_type : Rans per 25.47677 
ans sms 1509
dnd sms 0

require answer perrequire answer per : 385

user answer per : 144
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_66480 SET user_report='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_66480 SET user_report='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 : 454 no_answer_count : 152 Busy count :117 congestion_count : 54 failed_count : 131UPDATE voice_compaign_detail_66480 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 152 UPDATE voice_compaign_detail_66480 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 117 UPDATE voice_compaign_detail_66480 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 54 UPDATE voice_compaign_detail_66480 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`='385', `user_busy_sms`='362', `user_congestion_sms`='54', `user_failed_sms`='301', `user_hangup_sms`='0', `user_no_answer_sms`='407', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66480 LIMIT 1 


Time Diff : 0.244

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


Compaign : 66481
\compaign_type : Rans per 28.94353 
ans sms 392
dnd sms 171

require answer perrequire answer per : 64

user answer per : 23
below is the redis data 41 UPDATE voice_compaign_detail_66481 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 41 Total Failed : 40 no_answer_count : 14 Busy count :11 congestion_count : 5 failed_count : 10UPDATE voice_compaign_detail_66481 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 14 UPDATE voice_compaign_detail_66481 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 11 UPDATE voice_compaign_detail_66481 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 5 UPDATE voice_compaign_detail_66481 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`='64', `user_busy_sms`='45', `user_congestion_sms`='5', `user_failed_sms`='42', `user_hangup_sms`='0', `user_no_answer_sms`='65', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='171' WHERE `compaign_id`=66481 LIMIT 1 


Time Diff : 0.696

Array
(
    [0] => 66485
    [compaign_id] => 66485
    [1] => u20128
    [user_id] => u20128
    [2] => 58086,
    [group_ids] => 58086,
    [3] => 
    [sender_id] => 
    [4] => Hindi MP3.mp3(1)
    [filename] => Hindi MP3.mp3(1)
    [5] => 18
    [duration] => 18
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760694168
    [start_date] => 1760694168
    [9] => 0
    [end_date] => 0
    [10] => 636
    [total_sms] => 636
    [11] => 636
    [sent_sms] => 636
    [12] => 0
    [duplicate_sms] => 0
    [13] => 91
    [answered_sms] => 91
    [14] => 52
    [busy_sms] => 52
    [15] => 0
    [congestion_sms] => 0
    [16] => 47
    [failed_sms] => 47
    [17] => 0
    [hangup_sms] => 0
    [18] => 105
    [no_answer_sms] => 105
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 215
    [cutting_sms] => 215
    [22] => 126
    [dnd_sms] => 126
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 91
    [user_answered_sms] => 91
    [27] => 52
    [user_busy_sms] => 52
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 47
    [user_failed_sms] => 47
    [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] => 126
    [user_dnd_sms] => 126
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u20128
    [created_by] => u20128
    [38] => 0
    [isScheduled] => 0
    [39] => 1760694168
    [create_date] => 1760694168
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760694182,"compaign_read_start_time":1760694184,"compaign_read_complete_time":1760694187,"compaign_send_start_time":1760694242,"compaign_send_complete_time":1760694253}
    [action_time] => {"api_allot_time":1760694182,"compaign_read_start_time":1760694184,"compaign_read_complete_time":1760694187,"compaign_send_start_time":1760694242,"compaign_send_complete_time":1760694253}
    [50] => 0
    [compaign_file] => 0
    [51] => u20128_66485_17102025_031302PM_120
    [common_name] => u20128_66485_17102025_031302PM_120
    [52] => 1758708179_u20128_voice.wav
    [voice_file] => 1758708179_u20128_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_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_58086
    [temp_group_table] => contacts_temp_group_58086
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => 3
    [message_type] => 3
    [68] => 10
    [extension_key] => 10
    [69] => 2
    [credit_seq] => 2
    [70] => 1
    [reschedule_max] => 1
    [71] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR
    [reschedule_types] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR
    [72] => 1
    [reschedule_remaining] => 1
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 1760694303
    [reschedule_last_check_time] => 1760694303
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760694481
    [last_credit_update_time] => 1760694481
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1658
    [user_voice_plan_id] => 1658
    [85] => 2
    [voice_plan_id] => 2
    [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] => 5
    [dtmf_wait_time] => 5
    [102] => 0
    [ext_duration] => 0
    [103] => {"1":1760769000}
    [rt_time] => {"1":1760769000}
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr83,sr176,u20128
    [uphierarchy] => admin,sr83,sr176,u20128
    [113] => 
    [extra_params_json] => 
)


Compaign : 66485
\compaign_type : Rans per 28.56515 
ans sms 636
dnd sms 126

require answer perrequire answer per : 146

user answer per : 91
below is the redis data 55 UPDATE voice_compaign_detail_66485 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 55 Total Failed : 160 no_answer_count : 54 Busy count :42 congestion_count : 19 failed_count : 45UPDATE voice_compaign_detail_66485 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 54 UPDATE voice_compaign_detail_66485 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 42 UPDATE voice_compaign_detail_66485 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 19 UPDATE voice_compaign_detail_66485 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`='146', `user_busy_sms`='94', `user_congestion_sms`='19', `user_failed_sms`='92', `user_hangup_sms`='0', `user_no_answer_sms`='159', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='126' WHERE `compaign_id`=66485 LIMIT 1 


Time Diff : 0.354

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760435342'  
Array
(
    [0] => 66487
    [compaign_id] => 66487
    [1] => u64
    [user_id] => u64
    [2] => 58087,
    [group_ids] => 58087,
    [3] => 
    [sender_id] => 
    [4] => SPS Shivpuri Diwali Holiday 17-10-2025.mp3
    [filename] => SPS Shivpuri Diwali Holiday 17-10-2025.mp3
    [5] => 21
    [duration] => 21
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760694288
    [start_date] => 1760694288
    [9] => 0
    [end_date] => 0
    [10] => 691
    [total_sms] => 691
    [11] => 691
    [sent_sms] => 691
    [12] => 0
    [duplicate_sms] => 0
    [13] => 111
    [answered_sms] => 111
    [14] => 87
    [busy_sms] => 87
    [15] => 0
    [congestion_sms] => 0
    [16] => 43
    [failed_sms] => 43
    [17] => 0
    [hangup_sms] => 0
    [18] => 78
    [no_answer_sms] => 78
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 227
    [cutting_sms] => 227
    [22] => 145
    [dnd_sms] => 145
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 111
    [user_answered_sms] => 111
    [27] => 87
    [user_busy_sms] => 87
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 43
    [user_failed_sms] => 43
    [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] => 145
    [user_dnd_sms] => 145
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u64
    [created_by] => u64
    [38] => 0
    [isScheduled] => 0
    [39] => 1760694288
    [create_date] => 1760694288
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760694303,"compaign_read_start_time":1760694305,"compaign_read_complete_time":1760694308,"compaign_send_start_time":1760694362,"compaign_send_complete_time":1760694368}
    [action_time] => {"api_allot_time":1760694303,"compaign_read_start_time":1760694305,"compaign_read_complete_time":1760694308,"compaign_send_start_time":1760694362,"compaign_send_complete_time":1760694368}
    [50] => 0
    [compaign_file] => 0
    [51] => u64_66487_17102025_031502PM_570
    [common_name] => u64_66487_17102025_031502PM_570
    [52] => 1760694288_u64_voice.wav
    [voice_file] => 1760694288_u64_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_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_58087
    [temp_group_table] => contacts_temp_group_58087
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760694542
    [last_credit_update_time] => 1760694542
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 123
    [user_voice_plan_id] => 123
    [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":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":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,u64
    [uphierarchy] => admin,sr3,u64
    [113] => 
    [extra_params_json] => 
)


Compaign : 66487
\compaign_type : Rans per 26.65141 
ans sms 691
dnd sms 145

require answer perrequire answer per : 146

user answer per : 111
below is the redis data 35 /n/r
only no answer and busy will be convert, total number require 35 /n/r
UPDATE voice_compaign_detail_66487 SET user_report='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_66487 SET user_report='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 : 185 no_answer_count : 62 Busy count :48 congestion_count : 22 failed_count : 53UPDATE voice_compaign_detail_66487 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 62 UPDATE voice_compaign_detail_66487 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 48 UPDATE voice_compaign_detail_66487 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 22 UPDATE voice_compaign_detail_66487 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 53 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='146', `user_busy_sms`='146', `user_congestion_sms`='22', `user_failed_sms`='86', `user_hangup_sms`='0', `user_no_answer_sms`='146', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='145' WHERE `compaign_id`=66487 LIMIT 1 


Time Diff : 0.239

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760435402'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760435461'  
Array
(
    [0] => 66484
    [compaign_id] => 66484
    [1] => u179
    [user_id] => u179
    [2] => 58084,
    [group_ids] => 58084,
    [3] => 
    [sender_id] => 
    [4] => NEW DIWALI OFFER VOICE.mp3
    [filename] => NEW DIWALI OFFER VOICE.mp3
    [5] => 21
    [duration] => 21
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760694300
    [start_date] => 1760694300
    [9] => 0
    [end_date] => 0
    [10] => 1756
    [total_sms] => 1756
    [11] => 1756
    [sent_sms] => 1756
    [12] => 0
    [duplicate_sms] => 0
    [13] => 55
    [answered_sms] => 55
    [14] => 392
    [busy_sms] => 392
    [15] => 0
    [congestion_sms] => 0
    [16] => 74
    [failed_sms] => 74
    [17] => 0
    [hangup_sms] => 0
    [18] => 141
    [no_answer_sms] => 141
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 644
    [cutting_sms] => 644
    [22] => 450
    [dnd_sms] => 450
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 55
    [user_answered_sms] => 55
    [27] => 392
    [user_busy_sms] => 392
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 74
    [user_failed_sms] => 74
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 141
    [user_no_answer_sms] => 141
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 450
    [user_dnd_sms] => 450
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u179
    [created_by] => u179
    [38] => 1
    [isScheduled] => 1
    [39] => 1760694129
    [create_date] => 1760694129
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760694307,"compaign_read_start_time":1760694362,"compaign_read_complete_time":1760694368,"compaign_send_start_time":1760694422,"compaign_send_complete_time":1760694425}
    [action_time] => {"api_allot_time":1760694307,"compaign_read_start_time":1760694362,"compaign_read_complete_time":1760694368,"compaign_send_start_time":1760694422,"compaign_send_complete_time":1760694425}
    [50] => 0
    [compaign_file] => 0
    [51] => u179_66484_17102025_031506PM_522
    [common_name] => u179_66484_17102025_031506PM_522
    [52] => 1759899987_u179_voice.wav
    [voice_file] => 1759899987_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_58084
    [temp_group_table] => contacts_temp_group_58084
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [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] => 1760694661
    [last_credit_update_time] => 1760694661
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 336
    [user_voice_plan_id] => 336
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.3
    [pulse_rate] => 0.3
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":"2","FFL":"2"}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":"2","FFL":"2"}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr3,u179
    [uphierarchy] => admin,sr3,u179
    [113] => 
    [extra_params_json] => 
)


Compaign : 66484
\compaign_type : Rans per 25.82308 
ans sms 1756
dnd sms 450

require answer perrequire answer per : 338

user answer per : 55
below is the redis data 283 /n/r
only no answer and busy will be convert, total number require 283 /n/r
UPDATE voice_compaign_detail_66484 SET user_report='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_66484 SET user_report='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 : 237 no_answer_count : 80 Busy count :61 congestion_count : 29 failed_count : 67UPDATE voice_compaign_detail_66484 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 80 UPDATE voice_compaign_detail_66484 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 61 UPDATE voice_compaign_detail_66484 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 29 UPDATE voice_compaign_detail_66484 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`='338', `user_busy_sms`='474', `user_congestion_sms`='29', `user_failed_sms`='94', `user_hangup_sms`='0', `user_no_answer_sms`='371', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='450' WHERE `compaign_id`=66484 LIMIT 1 


Time Diff : 0.127

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760435521'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760435582'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760435641'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760435702'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760435761'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760435821'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760435881'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760435941'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760436002'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760436062'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760436121'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760436182'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760436241'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760436302'  
Array
(
    [0] => 66495
    [compaign_id] => 66495
    [1] => u179
    [user_id] => u179
    [2] => 58090,
    [group_ids] => 58090,
    [3] => 
    [sender_id] => 
    [4] => NEW DIWALI OFFER VOICE.mp3
    [filename] => NEW DIWALI OFFER VOICE.mp3
    [5] => 21
    [duration] => 21
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760695200
    [start_date] => 1760695200
    [9] => 0
    [end_date] => 0
    [10] => 1418
    [total_sms] => 1418
    [11] => 1418
    [sent_sms] => 1418
    [12] => 0
    [duplicate_sms] => 0
    [13] => 41
    [answered_sms] => 41
    [14] => 288
    [busy_sms] => 288
    [15] => 0
    [congestion_sms] => 0
    [16] => 87
    [failed_sms] => 87
    [17] => 0
    [hangup_sms] => 0
    [18] => 89
    [no_answer_sms] => 89
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 463
    [cutting_sms] => 463
    [22] => 450
    [dnd_sms] => 450
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 41
    [user_answered_sms] => 41
    [27] => 288
    [user_busy_sms] => 288
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 87
    [user_failed_sms] => 87
    [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] => 450
    [user_dnd_sms] => 450
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u179
    [created_by] => u179
    [38] => 1
    [isScheduled] => 1
    [39] => 1760695030
    [create_date] => 1760695030
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760695207,"compaign_read_start_time":1760695208,"compaign_read_complete_time":1760695212,"compaign_send_start_time":1760695262,"compaign_send_complete_time":1760695265}
    [action_time] => {"api_allot_time":1760695207,"compaign_read_start_time":1760695208,"compaign_read_complete_time":1760695212,"compaign_send_start_time":1760695262,"compaign_send_complete_time":1760695265}
    [50] => 0
    [compaign_file] => 0
    [51] => u179_66495_17102025_033005PM_676
    [common_name] => u179_66495_17102025_033005PM_676
    [52] => 1759899987_u179_voice.wav
    [voice_file] => 1759899987_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_58090
    [temp_group_table] => contacts_temp_group_58090
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [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] => 1760695501
    [last_credit_update_time] => 1760695501
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 336
    [user_voice_plan_id] => 336
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.3
    [pulse_rate] => 0.3
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":"2","FFL":"2"}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":"2","FFL":"2"}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr3,u179
    [uphierarchy] => admin,sr3,u179
    [113] => 
    [extra_params_json] => 
)


Compaign : 66495
\compaign_type : Rans per 28.53108 
ans sms 1418
dnd sms 450

require answer perrequire answer per : 277

user answer per : 41
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_66495 SET user_report='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_66495 SET user_report='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 : 174 no_answer_count : 59 Busy count :45 congestion_count : 21 failed_count : 49UPDATE voice_compaign_detail_66495 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 59 UPDATE voice_compaign_detail_66495 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 45 UPDATE voice_compaign_detail_66495 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 21 UPDATE voice_compaign_detail_66495 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`='277', `user_busy_sms`='326', `user_congestion_sms`='21', `user_failed_sms`='85', `user_hangup_sms`='0', `user_no_answer_sms`='259', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='450' WHERE `compaign_id`=66495 LIMIT 1 


Time Diff : 0.15

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760436362'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760436422'  
Array
(
    [0] => 66494
    [compaign_id] => 66494
    [1] => u632
    [user_id] => u632
    [2] => 58091,
    [group_ids] => 58091,
    [3] => 
    [sender_id] => 
    [4] => TPS digital solution Diwali Dhanteras promotion 1.mp3
    [filename] => TPS digital solution Diwali Dhanteras promotion 1.mp3
    [5] => 89
    [duration] => 89
    [6] => 3
    [credits_per_sms] => 3
    [7] => 30
    [user_pulse] => 30
    [8] => 1760695200
    [start_date] => 1760695200
    [9] => 0
    [end_date] => 0
    [10] => 1124
    [total_sms] => 1124
    [11] => 1124
    [sent_sms] => 1124
    [12] => 0
    [duplicate_sms] => 0
    [13] => 87
    [answered_sms] => 87
    [14] => 118
    [busy_sms] => 118
    [15] => 0
    [congestion_sms] => 0
    [16] => 311
    [failed_sms] => 311
    [17] => 0
    [hangup_sms] => 0
    [18] => 106
    [no_answer_sms] => 106
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 502
    [cutting_sms] => 502
    [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] => 118
    [user_busy_sms] => 118
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 311
    [user_failed_sms] => 311
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 106
    [user_no_answer_sms] => 106
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u632
    [created_by] => u632
    [38] => 1
    [isScheduled] => 1
    [39] => 1760695026
    [create_date] => 1760695026
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760695208,"compaign_read_start_time":1760695262,"compaign_read_complete_time":1760695263,"compaign_send_start_time":1760695322,"compaign_send_complete_time":1760695326}
    [action_time] => {"api_allot_time":1760695208,"compaign_read_start_time":1760695262,"compaign_read_complete_time":1760695263,"compaign_send_start_time":1760695322,"compaign_send_complete_time":1760695326}
    [50] => 0
    [compaign_file] => 0
    [51] => u632_66494_17102025_033005PM_135
    [common_name] => u632_66494_17102025_033005PM_135
    [52] => 1760693920_u632_voice.wav
    [voice_file] => 1760693920_u632_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_58091
    [temp_group_table] => contacts_temp_group_58091
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => 1
    [extension_key] => 1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760695562
    [last_credit_update_time] => 1760695562
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1045
    [user_voice_plan_id] => 1045
    [85] => 11
    [voice_plan_id] => 11
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.15
    [pulse_rate] => 0.15
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 14
    [dtmf_wait_time] => 14
    [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":"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,sr27,sr126,u632
    [uphierarchy] => admin,sr27,sr126,u632
    [113] => 
    [extra_params_json] => 
)


Compaign : 66494
\compaign_type : Rans per 27.99459 
ans sms 1124
dnd sms 0

require answer perrequire answer per : 315

user answer per : 87
below is the redis data 228 /n/r
only no answer and busy will be convert, total number require 228 /n/r
UPDATE voice_compaign_detail_66494 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 160 UPDATE voice_compaign_detail_66494 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 160 Total Failed : 305 no_answer_count : 102 Busy count :79 congestion_count : 37 failed_count : 87UPDATE voice_compaign_detail_66494 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 102 UPDATE voice_compaign_detail_66494 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 79 UPDATE voice_compaign_detail_66494 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 37 UPDATE voice_compaign_detail_66494 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`='311', `user_busy_sms`='239', `user_congestion_sms`='37', `user_failed_sms`='275', `user_hangup_sms`='0', `user_no_answer_sms`='262', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66494 LIMIT 1 


Time Diff : 0.243

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


Compaign : 66242
\compaign_type : ATans per 25.51085 
ans sms 18539
dnd sms 0

require answer perrequire answer per : 4730

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='126', `user_busy_sms`='5456', `user_congestion_sms`='0', `user_failed_sms`='11901', `user_hangup_sms`='0', `user_no_answer_sms`='1056', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


Time Diff : 1.155

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760437742'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760437801'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760437861'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760437922'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760437981'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760438042'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760438102'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760438162'  
Array
(
    [0] => 66465
    [compaign_id] => 66465
    [1] => u179
    [user_id] => u179
    [2] => 58070,
    [group_ids] => 58070,
    [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] => 1760697000
    [start_date] => 1760697000
    [9] => 0
    [end_date] => 0
    [10] => 903
    [total_sms] => 903
    [11] => 903
    [sent_sms] => 903
    [12] => 0
    [duplicate_sms] => 0
    [13] => 65
    [answered_sms] => 65
    [14] => 130
    [busy_sms] => 130
    [15] => 0
    [congestion_sms] => 0
    [16] => 80
    [failed_sms] => 80
    [17] => 0
    [hangup_sms] => 0
    [18] => 94
    [no_answer_sms] => 94
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 320
    [cutting_sms] => 320
    [22] => 214
    [dnd_sms] => 214
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 65
    [user_answered_sms] => 65
    [27] => 130
    [user_busy_sms] => 130
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 80
    [user_failed_sms] => 80
    [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] => 214
    [user_dnd_sms] => 214
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u179
    [created_by] => u179
    [38] => 1
    [isScheduled] => 1
    [39] => 1760691727
    [create_date] => 1760691727
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760697007,"compaign_read_start_time":1760697007,"compaign_read_complete_time":1760697009,"compaign_send_start_time":1760697062,"compaign_send_complete_time":1760697064}
    [action_time] => {"api_allot_time":1760697007,"compaign_read_start_time":1760697007,"compaign_read_complete_time":1760697009,"compaign_send_start_time":1760697062,"compaign_send_complete_time":1760697064}
    [50] => 0
    [compaign_file] => 0
    [51] => u179_66465_17102025_040005PM_813
    [common_name] => u179_66465_17102025_040005PM_813
    [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_58070
    [temp_group_table] => contacts_temp_group_58070
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [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] => 1760697302
    [last_credit_update_time] => 1760697302
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 336
    [user_voice_plan_id] => 336
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.3
    [pulse_rate] => 0.3
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":"2","FFL":"2"}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":"2","FFL":"2"}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr3,u179
    [uphierarchy] => admin,sr3,u179
    [113] => 
    [extra_params_json] => 
)


Compaign : 66465
\compaign_type : Rans per 25.7236 
ans sms 903
dnd sms 214

require answer perrequire answer per : 178

user answer per : 65
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_66465 SET user_report='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_66465 SET user_report='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 : 190 no_answer_count : 64 Busy count :49 congestion_count : 23 failed_count : 54UPDATE voice_compaign_detail_66465 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 64 UPDATE voice_compaign_detail_66465 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 49 UPDATE voice_compaign_detail_66465 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 23 UPDATE voice_compaign_detail_66465 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 54 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='178', `user_busy_sms`='196', `user_congestion_sms`='23', `user_failed_sms`='104', `user_hangup_sms`='0', `user_no_answer_sms`='188', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='214' WHERE `compaign_id`=66465 LIMIT 1 


Time Diff : 0.301

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


Compaign : 66501
\compaign_type : Rans per 29.65384 
ans sms 328
dnd sms 171

require answer perrequire answer per : 47

user answer per : 12
below is the redis data 35 UPDATE voice_compaign_detail_66501 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 35 Total Failed : 15 no_answer_count : 6 Busy count :4 congestion_count : 2 failed_count : 3UPDATE voice_compaign_detail_66501 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 6 UPDATE voice_compaign_detail_66501 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 4 UPDATE voice_compaign_detail_66501 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 2 UPDATE voice_compaign_detail_66501 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`='47', `user_busy_sms`='33', `user_congestion_sms`='2', `user_failed_sms`='29', `user_hangup_sms`='0', `user_no_answer_sms`='46', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='171' WHERE `compaign_id`=66501 LIMIT 1 


Time Diff : 0.866

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760438342'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760438401'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760438462'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760438521'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760438582'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760438641'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760438701'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760438762'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760438821'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760438882'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760438941'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760439001'  
Array
(
    [0] => 66504
    [compaign_id] => 66504
    [1] => u179
    [user_id] => u179
    [2] => 58095,
    [group_ids] => 58095,
    [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] => 1760697900
    [start_date] => 1760697900
    [9] => 0
    [end_date] => 0
    [10] => 725
    [total_sms] => 725
    [11] => 725
    [sent_sms] => 725
    [12] => 0
    [duplicate_sms] => 0
    [13] => 41
    [answered_sms] => 41
    [14] => 94
    [busy_sms] => 94
    [15] => 0
    [congestion_sms] => 0
    [16] => 103
    [failed_sms] => 103
    [17] => 0
    [hangup_sms] => 0
    [18] => 58
    [no_answer_sms] => 58
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 215
    [cutting_sms] => 215
    [22] => 214
    [dnd_sms] => 214
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 41
    [user_answered_sms] => 41
    [27] => 94
    [user_busy_sms] => 94
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 103
    [user_failed_sms] => 103
    [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] => 214
    [user_dnd_sms] => 214
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u179
    [created_by] => u179
    [38] => 1
    [isScheduled] => 1
    [39] => 1760697724
    [create_date] => 1760697724
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760697907,"compaign_read_start_time":1760697907,"compaign_read_complete_time":1760697909,"compaign_send_start_time":1760697962,"compaign_send_complete_time":1760697964}
    [action_time] => {"api_allot_time":1760697907,"compaign_read_start_time":1760697907,"compaign_read_complete_time":1760697909,"compaign_send_start_time":1760697962,"compaign_send_complete_time":1760697964}
    [50] => 0
    [compaign_file] => 0
    [51] => u179_66504_17102025_041505PM_290
    [common_name] => u179_66504_17102025_041505PM_290
    [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_58095
    [temp_group_table] => contacts_temp_group_58095
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [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] => 1760698201
    [last_credit_update_time] => 1760698201
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 336
    [user_voice_plan_id] => 336
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.3
    [pulse_rate] => 0.3
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":"2","FFL":"2"}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":"2","FFL":"2"}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr3,u179
    [uphierarchy] => admin,sr3,u179
    [113] => 
    [extra_params_json] => 
)


Compaign : 66504
\compaign_type : Rans per 30.34415 
ans sms 725
dnd sms 214

require answer perrequire answer per : 156

user answer per : 41
below is the redis data 115 /n/r
only no answer and busy will be convert, total number require 115 /n/r
UPDATE voice_compaign_detail_66504 SET user_report='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_66504 SET user_report='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 : 91 no_answer_count : 31 Busy count :24 congestion_count : 11 failed_count : 25UPDATE voice_compaign_detail_66504 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 31 UPDATE voice_compaign_detail_66504 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 24 UPDATE voice_compaign_detail_66504 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 11 UPDATE voice_compaign_detail_66504 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`='156', `user_busy_sms`='129', `user_congestion_sms`='11', `user_failed_sms`='80', `user_hangup_sms`='0', `user_no_answer_sms`='135', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='214' WHERE `compaign_id`=66504 LIMIT 1 


Time Diff : 0.29

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760439062'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760439121'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760439181'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760439241'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760439301'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760439362'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760439421'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760439481'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760439542'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760439601'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760439661'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760439722'  
Array
(
    [0] => 66506
    [compaign_id] => 66506
    [1] => u113
    [user_id] => u113
    [2] => 58097,
    [group_ids] => 58097,
    [3] => 
    [sender_id] => 
    [4] => MAA KARUNA MAYEE _DHNATERAS.mp3
    [filename] => MAA KARUNA MAYEE _DHNATERAS.mp3
    [5] => 28
    [duration] => 28
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760698658
    [start_date] => 1760698658
    [9] => 0
    [end_date] => 0
    [10] => 631
    [total_sms] => 631
    [11] => 631
    [sent_sms] => 631
    [12] => 0
    [duplicate_sms] => 0
    [13] => 127
    [answered_sms] => 127
    [14] => 38
    [busy_sms] => 38
    [15] => 0
    [congestion_sms] => 0
    [16] => 92
    [failed_sms] => 92
    [17] => 0
    [hangup_sms] => 0
    [18] => 119
    [no_answer_sms] => 119
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 255
    [cutting_sms] => 255
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 127
    [user_answered_sms] => 127
    [27] => 38
    [user_busy_sms] => 38
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 92
    [user_failed_sms] => 92
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 119
    [user_no_answer_sms] => 119
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u113
    [created_by] => u113
    [38] => 0
    [isScheduled] => 0
    [39] => 1760698658
    [create_date] => 1760698658
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760698665,"compaign_read_start_time":1760698666,"compaign_read_complete_time":1760698667,"compaign_send_start_time":1760698682,"compaign_send_complete_time":1760698684}
    [action_time] => {"api_allot_time":1760698665,"compaign_read_start_time":1760698666,"compaign_read_complete_time":1760698667,"compaign_send_start_time":1760698682,"compaign_send_complete_time":1760698684}
    [50] => 0
    [compaign_file] => 0
    [51] => u113_66506_17102025_042743PM_268
    [common_name] => u113_66506_17102025_042743PM_268
    [52] => 1730114650_u113_voice.wav
    [voice_file] => 1730114650_u113_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_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_58097
    [temp_group_table] => contacts_temp_group_58097
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760698922
    [last_credit_update_time] => 1760698922
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 219
    [user_voice_plan_id] => 219
    [85] => 11
    [voice_plan_id] => 11
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.31
    [pulse_rate] => 0.31
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [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,sr87,u113
    [uphierarchy] => admin,sr27,sr87,u113
    [113] => 
    [extra_params_json] => 
)


Compaign : 66506
\compaign_type : Rans per 29.50193 
ans sms 631
dnd sms 0

require answer perrequire answer per : 187

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='187', `user_busy_sms`='119', `user_congestion_sms`='23', `user_failed_sms`='119', `user_hangup_sms`='0', `user_no_answer_sms`='183', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66506 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>'1760439781'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760439841'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760439901'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760439961'  
Array
(
    [0] => 66505
    [compaign_id] => 66505
    [1] => u179
    [user_id] => u179
    [2] => 58096,
    [group_ids] => 58096,
    [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] => 1760698800
    [start_date] => 1760698800
    [9] => 0
    [end_date] => 0
    [10] => 569
    [total_sms] => 569
    [11] => 569
    [sent_sms] => 569
    [12] => 0
    [duplicate_sms] => 0
    [13] => 28
    [answered_sms] => 28
    [14] => 35
    [busy_sms] => 35
    [15] => 0
    [congestion_sms] => 0
    [16] => 101
    [failed_sms] => 101
    [17] => 0
    [hangup_sms] => 0
    [18] => 40
    [no_answer_sms] => 40
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 151
    [cutting_sms] => 151
    [22] => 214
    [dnd_sms] => 214
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 28
    [user_answered_sms] => 28
    [27] => 35
    [user_busy_sms] => 35
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 101
    [user_failed_sms] => 101
    [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] => 214
    [user_dnd_sms] => 214
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u179
    [created_by] => u179
    [38] => 1
    [isScheduled] => 1
    [39] => 1760698324
    [create_date] => 1760698324
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760698806,"compaign_read_start_time":1760698807,"compaign_read_complete_time":1760698809,"compaign_send_start_time":1760698862,"compaign_send_complete_time":1760698873}
    [action_time] => {"api_allot_time":1760698806,"compaign_read_start_time":1760698807,"compaign_read_complete_time":1760698809,"compaign_send_start_time":1760698862,"compaign_send_complete_time":1760698873}
    [50] => 0
    [compaign_file] => 0
    [51] => u179_66505_17102025_043005PM_153
    [common_name] => u179_66505_17102025_043005PM_153
    [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_58096
    [temp_group_table] => contacts_temp_group_58096
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [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] => 1760699102
    [last_credit_update_time] => 1760699102
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 336
    [user_voice_plan_id] => 336
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.3
    [pulse_rate] => 0.3
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":"2","FFL":"2"}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":"2","FFL":"2"}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr3,u179
    [uphierarchy] => admin,sr3,u179
    [113] => 
    [extra_params_json] => 
)


Compaign : 66505
\compaign_type : Rans per 29.66259 
ans sms 569
dnd sms 214

require answer perrequire answer per : 106

user answer per : 28
below is the redis data 78 /n/r
only no answer and busy will be convert, total number require 78 /n/r
UPDATE voice_compaign_detail_66505 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 58 UPDATE voice_compaign_detail_66505 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 58 Total Failed : 84 no_answer_count : 29 Busy count :22 congestion_count : 10 failed_count : 23UPDATE voice_compaign_detail_66505 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 29 UPDATE voice_compaign_detail_66505 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 22 UPDATE voice_compaign_detail_66505 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 10 UPDATE voice_compaign_detail_66505 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`='103', `user_busy_sms`='80', `user_congestion_sms`='10', `user_failed_sms`='75', `user_hangup_sms`='0', `user_no_answer_sms`='87', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='214' WHERE `compaign_id`=66505 LIMIT 1 


Time Diff : 0.473

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760440022'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760440082'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760440141'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760440201'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760440262'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760440321'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760440381'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760440442'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760440501'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760440562'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760440621'  
Array
(
    [0] => 66508
    [compaign_id] => 66508
    [1] => u288
    [user_id] => u288
    [2] => 58098,
    [group_ids] => 58098,
    [3] => 
    [sender_id] => 
    [4] => kahi ki bhi id laye (4).mp3
    [filename] => kahi ki bhi id laye (4).mp3
    [5] => 14
    [duration] => 14
    [6] => 1
    [credits_per_sms] => 1
    [7] => 15
    [user_pulse] => 15
    [8] => 1760699495
    [start_date] => 1760699495
    [9] => 0
    [end_date] => 0
    [10] => 2101
    [total_sms] => 2101
    [11] => 2101
    [sent_sms] => 2101
    [12] => 0
    [duplicate_sms] => 0
    [13] => 315
    [answered_sms] => 315
    [14] => 176
    [busy_sms] => 176
    [15] => 0
    [congestion_sms] => 0
    [16] => 313
    [failed_sms] => 313
    [17] => 0
    [hangup_sms] => 0
    [18] => 237
    [no_answer_sms] => 237
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 1060
    [cutting_sms] => 1060
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 315
    [user_answered_sms] => 315
    [27] => 176
    [user_busy_sms] => 176
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 313
    [user_failed_sms] => 313
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 237
    [user_no_answer_sms] => 237
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u288
    [created_by] => u288
    [38] => 0
    [isScheduled] => 0
    [39] => 1760699494
    [create_date] => 1760699494
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760699501,"compaign_read_start_time":1760699504,"compaign_read_complete_time":1760699507,"compaign_send_start_time":1760699521,"compaign_send_complete_time":1760699526}
    [action_time] => {"api_allot_time":1760699501,"compaign_read_start_time":1760699504,"compaign_read_complete_time":1760699507,"compaign_send_start_time":1760699521,"compaign_send_complete_time":1760699526}
    [50] => 0
    [compaign_file] => 0
    [51] => u288_66508_17102025_044140PM_486
    [common_name] => u288_66508_17102025_044140PM_486
    [52] => 1753088033_u288_voice.wav
    [voice_file] => 1753088033_u288_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_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_58098
    [temp_group_table] => contacts_temp_group_58098
    [61] => 0
    [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] => 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] => 1760699702
    [reschedule_last_check_time] => 1760699702
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760699762
    [last_credit_update_time] => 1760699762
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 504
    [user_voice_plan_id] => 504
    [85] => 54
    [voice_plan_id] => 54
    [86] => 0
    [gateway_id] => 0
    [87] => 15
    [pulse] => 15
    [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,sr33,sr101,sr147,u288
    [uphierarchy] => admin,sr33,sr101,sr147,u288
    [113] => 
    [extra_params_json] => 
)


Compaign : 66508
\compaign_type : Rans per 25.39772 
ans sms 2101
dnd sms 0

require answer perrequire answer per : 534

user answer per : 315
below is the redis data 219 /n/r
only no answer and busy will be convert, total number require 219 /n/r
UPDATE voice_compaign_detail_66508 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 163 UPDATE voice_compaign_detail_66508 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 163 Total Failed : 820 no_answer_count : 274 Busy count :211 congestion_count : 98 failed_count : 237UPDATE voice_compaign_detail_66508 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 274 UPDATE voice_compaign_detail_66508 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 211 UPDATE voice_compaign_detail_66508 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 98 UPDATE voice_compaign_detail_66508 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`='534', `user_busy_sms`='454', `user_congestion_sms`='98', `user_failed_sms`='464', `user_hangup_sms`='0', `user_no_answer_sms`='551', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66508 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>'1760440681'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760440742'  
Array
(
    [0] => 66509
    [compaign_id] => 66509
    [1] => u288
    [user_id] => u288
    [2] => 58099,
    [group_ids] => 58099,
    [3] => 
    [sender_id] => 
    [4] => kahi ki bhi id laye (4).mp3
    [filename] => kahi ki bhi id laye (4).mp3
    [5] => 14
    [duration] => 14
    [6] => 1
    [credits_per_sms] => 1
    [7] => 15
    [user_pulse] => 15
    [8] => 1760699604
    [start_date] => 1760699604
    [9] => 0
    [end_date] => 0
    [10] => 1724
    [total_sms] => 1724
    [11] => 1724
    [sent_sms] => 1724
    [12] => 0
    [duplicate_sms] => 0
    [13] => 256
    [answered_sms] => 256
    [14] => 147
    [busy_sms] => 147
    [15] => 0
    [congestion_sms] => 0
    [16] => 317
    [failed_sms] => 317
    [17] => 0
    [hangup_sms] => 0
    [18] => 171
    [no_answer_sms] => 171
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 833
    [cutting_sms] => 833
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 256
    [user_answered_sms] => 256
    [27] => 147
    [user_busy_sms] => 147
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 317
    [user_failed_sms] => 317
    [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] => u288
    [created_by] => u288
    [38] => 0
    [isScheduled] => 0
    [39] => 1760699604
    [create_date] => 1760699604
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760699610,"compaign_read_start_time":1760699611,"compaign_read_complete_time":1760699614,"compaign_send_start_time":1760699642,"compaign_send_complete_time":1760699654}
    [action_time] => {"api_allot_time":1760699610,"compaign_read_start_time":1760699611,"compaign_read_complete_time":1760699614,"compaign_send_start_time":1760699642,"compaign_send_complete_time":1760699654}
    [50] => 0
    [compaign_file] => 0
    [51] => u288_66509_17102025_044330PM_501
    [common_name] => u288_66509_17102025_044330PM_501
    [52] => 1753088033_u288_voice.wav
    [voice_file] => 1753088033_u288_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_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_58099
    [temp_group_table] => contacts_temp_group_58099
    [61] => 0
    [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] => 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] => 1760699702
    [reschedule_last_check_time] => 1760699702
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760699881
    [last_credit_update_time] => 1760699881
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 504
    [user_voice_plan_id] => 504
    [85] => 54
    [voice_plan_id] => 54
    [86] => 0
    [gateway_id] => 0
    [87] => 15
    [pulse] => 15
    [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,sr33,sr101,sr147,u288
    [uphierarchy] => admin,sr33,sr101,sr147,u288
    [113] => 
    [extra_params_json] => 
)


Compaign : 66509
\compaign_type : Rans per 30.87161 
ans sms 1724
dnd sms 0

require answer perrequire answer per : 533

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


 Blank User Record End

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


Compaign : 66242
\compaign_type : ATans per 30.41697 
ans sms 20854
dnd sms 0

require answer perrequire answer per : 6344

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='139', `user_busy_sms`='6234', `user_congestion_sms`='0', `user_failed_sms`='13265', `user_hangup_sms`='0', `user_no_answer_sms`='1216', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


Time Diff : 1.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>'1760441101'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760441161'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760441221'  
Array
(
    [0] => 66512
    [compaign_id] => 66512
    [1] => u632
    [user_id] => u632
    [2] => 58100,
    [group_ids] => 58100,
    [3] => 
    [sender_id] => 
    [4] => TPS digital solution Diwali Dhanteras promotion 1.mp3
    [filename] => TPS digital solution Diwali Dhanteras promotion 1.mp3
    [5] => 89
    [duration] => 89
    [6] => 3
    [credits_per_sms] => 3
    [7] => 30
    [user_pulse] => 30
    [8] => 1760700071
    [start_date] => 1760700071
    [9] => 0
    [end_date] => 0
    [10] => 1008
    [total_sms] => 1008
    [11] => 1008
    [sent_sms] => 1008
    [12] => 0
    [duplicate_sms] => 0
    [13] => 112
    [answered_sms] => 112
    [14] => 106
    [busy_sms] => 106
    [15] => 0
    [congestion_sms] => 0
    [16] => 210
    [failed_sms] => 210
    [17] => 0
    [hangup_sms] => 0
    [18] => 107
    [no_answer_sms] => 107
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 473
    [cutting_sms] => 473
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 112
    [user_answered_sms] => 112
    [27] => 106
    [user_busy_sms] => 106
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 210
    [user_failed_sms] => 210
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 107
    [user_no_answer_sms] => 107
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u632
    [created_by] => u632
    [38] => 0
    [isScheduled] => 0
    [39] => 1760700070
    [create_date] => 1760700070
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760700078,"compaign_read_start_time":1760700080,"compaign_read_complete_time":1760700081,"compaign_send_start_time":1760700121,"compaign_send_complete_time":1760700124}
    [action_time] => {"api_allot_time":1760700078,"compaign_read_start_time":1760700080,"compaign_read_complete_time":1760700081,"compaign_send_start_time":1760700121,"compaign_send_complete_time":1760700124}
    [50] => 0
    [compaign_file] => 0
    [51] => u632_66512_17102025_045116PM_142
    [common_name] => u632_66512_17102025_045116PM_142
    [52] => 1760693920_u632_voice.wav
    [voice_file] => 1760693920_u632_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_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_58100
    [temp_group_table] => contacts_temp_group_58100
    [61] => 0
    [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] => 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] => 1760700302
    [reschedule_last_check_time] => 1760700302
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760700361
    [last_credit_update_time] => 1760700361
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1045
    [user_voice_plan_id] => 1045
    [85] => 11
    [voice_plan_id] => 11
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.15
    [pulse_rate] => 0.15
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 14
    [dtmf_wait_time] => 14
    [102] => 0
    [ext_duration] => 0
    [103] => {"1":1760701500,"2":1760702400,"3":1760703300,"4":1760704200,"5":1760706000}
    [rt_time] => {"1":1760701500,"2":1760702400,"3":1760703300,"4":1760704200,"5":1760706000}
    [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":"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,sr27,sr126,u632
    [uphierarchy] => admin,sr27,sr126,u632
    [113] => 
    [extra_params_json] => 
)


Compaign : 66512
\compaign_type : Rans per 27.34166 
ans sms 1008
dnd sms 0

require answer perrequire answer per : 276

user answer per : 112
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_66512 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 115 UPDATE voice_compaign_detail_66512 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 115 Total Failed : 310 no_answer_count : 104 Busy count :80 congestion_count : 37 failed_count : 89UPDATE voice_compaign_detail_66512 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 104 UPDATE voice_compaign_detail_66512 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 80 UPDATE voice_compaign_detail_66512 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 37 UPDATE voice_compaign_detail_66512 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 89 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='276', `user_busy_sms`='220', `user_congestion_sms`='37', `user_failed_sms`='232', `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`=66512 LIMIT 1 


Time Diff : 0.266

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760441282'  
Array
(
    [0] => 66514
    [compaign_id] => 66514
    [1] => u288
    [user_id] => u288
    [2] => 58102,
    [group_ids] => 58102,
    [3] => 
    [sender_id] => 
    [4] => kahi ki bhi id laye (4).mp3
    [filename] => kahi ki bhi id laye (4).mp3
    [5] => 14
    [duration] => 14
    [6] => 1
    [credits_per_sms] => 1
    [7] => 15
    [user_pulse] => 15
    [8] => 1760700126
    [start_date] => 1760700126
    [9] => 0
    [end_date] => 0
    [10] => 1191
    [total_sms] => 1191
    [11] => 1191
    [sent_sms] => 1191
    [12] => 0
    [duplicate_sms] => 0
    [13] => 136
    [answered_sms] => 136
    [14] => 89
    [busy_sms] => 89
    [15] => 0
    [congestion_sms] => 0
    [16] => 331
    [failed_sms] => 331
    [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] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 136
    [user_answered_sms] => 136
    [27] => 89
    [user_busy_sms] => 89
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 331
    [user_failed_sms] => 331
    [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] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u288
    [created_by] => u288
    [38] => 0
    [isScheduled] => 0
    [39] => 1760700126
    [create_date] => 1760700126
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760700132,"compaign_read_start_time":1760700133,"compaign_read_complete_time":1760700135,"compaign_send_start_time":1760700182,"compaign_send_complete_time":1760700185}
    [action_time] => {"api_allot_time":1760700132,"compaign_read_start_time":1760700133,"compaign_read_complete_time":1760700135,"compaign_send_start_time":1760700182,"compaign_send_complete_time":1760700185}
    [50] => 0
    [compaign_file] => 0
    [51] => u288_66514_17102025_045211PM_582
    [common_name] => u288_66514_17102025_045211PM_582
    [52] => 1753088033_u288_voice.wav
    [voice_file] => 1753088033_u288_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_58102
    [temp_group_table] => contacts_temp_group_58102
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => 1
    [extension_key] => 1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760700421
    [last_credit_update_time] => 1760700421
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 504
    [user_voice_plan_id] => 504
    [85] => 54
    [voice_plan_id] => 54
    [86] => 0
    [gateway_id] => 0
    [87] => 15
    [pulse] => 15
    [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,sr33,sr101,sr147,u288
    [uphierarchy] => admin,sr33,sr101,sr147,u288
    [113] => 
    [extra_params_json] => 
)


Compaign : 66514
\compaign_type : Rans per 26.35158 
ans sms 1191
dnd sms 0

require answer perrequire answer per : 314

user answer per : 136
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_66514 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 139 UPDATE voice_compaign_detail_66514 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 139 Total Failed : 360 no_answer_count : 121 Busy count :93 congestion_count : 43 failed_count : 103UPDATE voice_compaign_detail_66514 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 121 UPDATE voice_compaign_detail_66514 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 93 UPDATE voice_compaign_detail_66514 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 43 UPDATE voice_compaign_detail_66514 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 103 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='314', `user_busy_sms`='235', `user_congestion_sms`='43', `user_failed_sms`='331', `user_hangup_sms`='0', `user_no_answer_sms`='268', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66514 LIMIT 1 


Time Diff : 0.238

Array
(
    [0] => 66515
    [compaign_id] => 66515
    [1] => u288
    [user_id] => u288
    [2] => 58101,
    [group_ids] => 58101,
    [3] => 
    [sender_id] => 
    [4] => kahi ki bhi id laye (4).mp3
    [filename] => kahi ki bhi id laye (4).mp3
    [5] => 14
    [duration] => 14
    [6] => 1
    [credits_per_sms] => 1
    [7] => 15
    [user_pulse] => 15
    [8] => 1760700127
    [start_date] => 1760700127
    [9] => 0
    [end_date] => 0
    [10] => 1567
    [total_sms] => 1567
    [11] => 1567
    [sent_sms] => 1567
    [12] => 0
    [duplicate_sms] => 0
    [13] => 198
    [answered_sms] => 198
    [14] => 129
    [busy_sms] => 129
    [15] => 0
    [congestion_sms] => 0
    [16] => 304
    [failed_sms] => 304
    [17] => 0
    [hangup_sms] => 0
    [18] => 159
    [no_answer_sms] => 159
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 777
    [cutting_sms] => 777
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 198
    [user_answered_sms] => 198
    [27] => 129
    [user_busy_sms] => 129
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 304
    [user_failed_sms] => 304
    [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] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u288
    [created_by] => u288
    [38] => 0
    [isScheduled] => 0
    [39] => 1760700127
    [create_date] => 1760700127
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760700134,"compaign_read_start_time":1760700136,"compaign_read_complete_time":1760700139,"compaign_send_start_time":1760700182,"compaign_send_complete_time":1760700185}
    [action_time] => {"api_allot_time":1760700134,"compaign_read_start_time":1760700136,"compaign_read_complete_time":1760700139,"compaign_send_start_time":1760700182,"compaign_send_complete_time":1760700185}
    [50] => 0
    [compaign_file] => 0
    [51] => u288_66515_17102025_045213PM_321
    [common_name] => u288_66515_17102025_045213PM_321
    [52] => 1753088033_u288_voice.wav
    [voice_file] => 1753088033_u288_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_58101
    [temp_group_table] => contacts_temp_group_58101
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => 1
    [extension_key] => 1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760700421
    [last_credit_update_time] => 1760700421
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 504
    [user_voice_plan_id] => 504
    [85] => 54
    [voice_plan_id] => 54
    [86] => 0
    [gateway_id] => 0
    [87] => 15
    [pulse] => 15
    [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,sr33,sr101,sr147,u288
    [uphierarchy] => admin,sr33,sr101,sr147,u288
    [113] => 
    [extra_params_json] => 
)


Compaign : 66515
\compaign_type : Rans per 27.37809 
ans sms 1567
dnd sms 0

require answer perrequire answer per : 430

user answer per : 198
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_66515 SET user_report='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_66515 SET user_report='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 : 525 no_answer_count : 176 Busy count :135 congestion_count : 63 failed_count : 151UPDATE voice_compaign_detail_66515 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 176 UPDATE voice_compaign_detail_66515 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 135 UPDATE voice_compaign_detail_66515 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 63 UPDATE voice_compaign_detail_66515 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 151 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='430', `user_busy_sms`='325', `user_congestion_sms`='63', `user_failed_sms`='367', `user_hangup_sms`='0', `user_no_answer_sms`='382', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66515 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>'1760441341'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760441401'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760441461'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760441522'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760441581'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760441642'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760441702'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760441761'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760441822'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760441881'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760441941'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760442002'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760442061'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760442121'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760442182'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760442241'  
Array
(
    [0] => 66517
    [compaign_id] => 66517
    [1] => u20123
    [user_id] => u20123
    [2] => 58104,
    [group_ids] => 58104,
    [3] => 
    [sender_id] => 
    [4] => PERSONAL LOAN ENGLISH.mp3
    [filename] => PERSONAL LOAN ENGLISH.mp3
    [5] => 20
    [duration] => 20
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760700362
    [start_date] => 1760700362
    [9] => 0
    [end_date] => 0
    [10] => 27927
    [total_sms] => 27927
    [11] => 27927
    [sent_sms] => 27927
    [12] => 0
    [duplicate_sms] => 0
    [13] => 974
    [answered_sms] => 974
    [14] => 1082
    [busy_sms] => 1082
    [15] => 0
    [congestion_sms] => 0
    [16] => 4007
    [failed_sms] => 4007
    [17] => 0
    [hangup_sms] => 0
    [18] => 1271
    [no_answer_sms] => 1271
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 20593
    [cutting_sms] => 20593
    [22] => 0
    [dnd_sms] => 0
    [23] => 1
    [blocked_sms] => 1
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 974
    [user_answered_sms] => 974
    [27] => 1082
    [user_busy_sms] => 1082
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 4007
    [user_failed_sms] => 4007
    [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] => u20123
    [created_by] => u20123
    [38] => 0
    [isScheduled] => 0
    [39] => 1760700348
    [create_date] => 1760700348
    [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":1760700368,"compaign_read_start_time":1760700370,"compaign_read_complete_time":1760700411,"compaign_send_start_time":1760700422,"compaign_send_complete_time":1760700496}
    [action_time] => {"api_allot_time":1760700368,"compaign_read_start_time":1760700370,"compaign_read_complete_time":1760700411,"compaign_send_start_time":1760700422,"compaign_send_complete_time":1760700496}
    [50] => 0
    [compaign_file] => 0
    [51] => u20123_66517_17102025_045607PM_212
    [common_name] => u20123_66517_17102025_045607PM_212
    [52] => 1760505635_u20123_voice_upload.wav
    [voice_file] => 1760505635_u20123_voice_upload.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_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_58104
    [temp_group_table] => contacts_temp_group_58104
    [61] => 0
    [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] => 5
    [credit_seq] => 5
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760701383
    [last_credit_update_time] => 1760701383
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1671
    [user_voice_plan_id] => 1671
    [85] => 11
    [voice_plan_id] => 11
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.0009
    [pulse_rate] => 0.0009
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 7
    [dtmf_wait_time] => 7
    [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,u20123
    [uphierarchy] => admin,u20123
    [113] => 
    [extra_params_json] => 
)


Compaign : 66517
\compaign_type : Rans per 29.6579 
ans sms 27927
dnd sms 0

require answer perrequire answer per : 8283

user answer per : 974
below is the redis data 7309 UPDATE voice_compaign_detail_66517 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 7309 Total Failed : 13284 no_answer_count : 4429 Busy count :3409 congestion_count : 1577 failed_count : 3869UPDATE voice_compaign_detail_66517 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 4429 UPDATE voice_compaign_detail_66517 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 3409 UPDATE voice_compaign_detail_66517 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 1577 UPDATE voice_compaign_detail_66517 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 3869 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='8283', `user_busy_sms`='4491', `user_congestion_sms`='1577', `user_failed_sms`='7876', `user_hangup_sms`='0', `user_no_answer_sms`='5700', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66517 LIMIT 1 


Time Diff : 0.036

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760442301'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760442362'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760442422'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760442481'  
Array
(
    [0] => 66516
    [compaign_id] => 66516
    [1] => u20123
    [user_id] => u20123
    [2] => 58103,
    [group_ids] => 58103,
    [3] => 
    [sender_id] => 
    [4] => PERSONAL LOAN ENGLISH.mp3
    [filename] => PERSONAL LOAN ENGLISH.mp3
    [5] => 20
    [duration] => 20
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760700292
    [start_date] => 1760700292
    [9] => 0
    [end_date] => 0
    [10] => 49140
    [total_sms] => 49140
    [11] => 49140
    [sent_sms] => 49140
    [12] => 0
    [duplicate_sms] => 0
    [13] => 2086
    [answered_sms] => 2086
    [14] => 2651
    [busy_sms] => 2651
    [15] => 0
    [congestion_sms] => 0
    [16] => 6350
    [failed_sms] => 6350
    [17] => 0
    [hangup_sms] => 0
    [18] => 2251
    [no_answer_sms] => 2251
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 35802
    [cutting_sms] => 35802
    [22] => 0
    [dnd_sms] => 0
    [23] => 2
    [blocked_sms] => 2
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 2086
    [user_answered_sms] => 2086
    [27] => 2651
    [user_busy_sms] => 2651
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 6350
    [user_failed_sms] => 6350
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2251
    [user_no_answer_sms] => 2251
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u20123
    [created_by] => u20123
    [38] => 0
    [isScheduled] => 0
    [39] => 1760700266
    [create_date] => 1760700266
    [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":1760700303,"compaign_read_start_time":1760700304,"compaign_read_complete_time":1760700382,"compaign_send_start_time":1760700421,"compaign_send_complete_time":1760700570}
    [action_time] => {"api_allot_time":1760700303,"compaign_read_start_time":1760700304,"compaign_read_complete_time":1760700382,"compaign_send_start_time":1760700421,"compaign_send_complete_time":1760700570}
    [50] => 0
    [compaign_file] => 0
    [51] => u20123_66516_17102025_045502PM_126
    [common_name] => u20123_66516_17102025_045502PM_126
    [52] => 1760505635_u20123_voice_upload.wav
    [voice_file] => 1760505635_u20123_voice_upload.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_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_58103
    [temp_group_table] => contacts_temp_group_58103
    [61] => 0
    [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] => 6
    [credit_seq] => 6
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760701622
    [last_credit_update_time] => 1760701622
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1671
    [user_voice_plan_id] => 1671
    [85] => 11
    [voice_plan_id] => 11
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.0009
    [pulse_rate] => 0.0009
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 7
    [dtmf_wait_time] => 7
    [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,u20123
    [uphierarchy] => admin,u20123
    [113] => 
    [extra_params_json] => 
)


Compaign : 66516
\compaign_type : Rans per 27.46533 
ans sms 49140
dnd sms 0

require answer perrequire answer per : 13497

user answer per : 2086
below is the redis data 11411 UPDATE voice_compaign_detail_66516 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 11411 Total Failed : 24391 no_answer_count : 8132 Busy count :6259 congestion_count : 2896 failed_count : 7104UPDATE voice_compaign_detail_66516 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 8132 UPDATE voice_compaign_detail_66516 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 6259 UPDATE voice_compaign_detail_66516 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 2896 UPDATE voice_compaign_detail_66516 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 7104 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='13497', `user_busy_sms`='8910', `user_congestion_sms`='2896', `user_failed_sms`='13454', `user_hangup_sms`='0', `user_no_answer_sms`='10383', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66516 LIMIT 1 


Time Diff : 0.026

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760442542'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760442601'  
Array
(
    [0] => 66520
    [compaign_id] => 66520
    [1] => u288
    [user_id] => u288
    [2] => 58106,
    [group_ids] => 58106,
    [3] => 
    [sender_id] => 
    [4] => kahi ki bhi id laye (4).mp3
    [filename] => kahi ki bhi id laye (4).mp3
    [5] => 14
    [duration] => 14
    [6] => 1
    [credits_per_sms] => 1
    [7] => 15
    [user_pulse] => 15
    [8] => 1760700725
    [start_date] => 1760700725
    [9] => 0
    [end_date] => 0
    [10] => 877
    [total_sms] => 877
    [11] => 877
    [sent_sms] => 877
    [12] => 0
    [duplicate_sms] => 0
    [13] => 62
    [answered_sms] => 62
    [14] => 35
    [busy_sms] => 35
    [15] => 0
    [congestion_sms] => 0
    [16] => 317
    [failed_sms] => 317
    [17] => 0
    [hangup_sms] => 0
    [18] => 47
    [no_answer_sms] => 47
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 416
    [cutting_sms] => 416
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 62
    [user_answered_sms] => 62
    [27] => 35
    [user_busy_sms] => 35
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 317
    [user_failed_sms] => 317
    [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] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u288
    [created_by] => u288
    [38] => 0
    [isScheduled] => 0
    [39] => 1760700725
    [create_date] => 1760700725
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760700731,"compaign_read_start_time":1760700734,"compaign_read_complete_time":1760700735,"compaign_send_start_time":1760700781,"compaign_send_complete_time":1760700784}
    [action_time] => {"api_allot_time":1760700731,"compaign_read_start_time":1760700734,"compaign_read_complete_time":1760700735,"compaign_send_start_time":1760700781,"compaign_send_complete_time":1760700784}
    [50] => 0
    [compaign_file] => 0
    [51] => u288_66520_17102025_050210PM_823
    [common_name] => u288_66520_17102025_050210PM_823
    [52] => 1753088033_u288_voice.wav
    [voice_file] => 1753088033_u288_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_58106
    [temp_group_table] => contacts_temp_group_58106
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => 1
    [extension_key] => 1
    [69] => 5
    [credit_seq] => 5
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760701742
    [last_credit_update_time] => 1760701742
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 504
    [user_voice_plan_id] => 504
    [85] => 54
    [voice_plan_id] => 54
    [86] => 0
    [gateway_id] => 0
    [87] => 15
    [pulse] => 15
    [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,sr33,sr101,sr147,u288
    [uphierarchy] => admin,sr33,sr101,sr147,u288
    [113] => 
    [extra_params_json] => 
)


Compaign : 66520
\compaign_type : Rans per 25.90777 
ans sms 877
dnd sms 0

require answer perrequire answer per : 228

user answer per : 62
below is the redis data 166 /n/r
only no answer and busy will be convert, total number require 166 /n/r
UPDATE voice_compaign_detail_66520 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 123 UPDATE voice_compaign_detail_66520 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 123 Total Failed : 274 no_answer_count : 92 Busy count :71 congestion_count : 33 failed_count : 78UPDATE voice_compaign_detail_66520 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 92 UPDATE voice_compaign_detail_66520 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 71 UPDATE voice_compaign_detail_66520 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 33 UPDATE voice_compaign_detail_66520 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`='144', `user_busy_sms`='194', `user_congestion_sms`='33', `user_failed_sms`='291', `user_hangup_sms`='0', `user_no_answer_sms`='215', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66520 LIMIT 1 


Time Diff : 0.312

Array
(
    [0] => 66521
    [compaign_id] => 66521
    [1] => u288
    [user_id] => u288
    [2] => 58108,
    [group_ids] => 58108,
    [3] => 
    [sender_id] => 
    [4] => kahi ki bhi id laye (4).mp3
    [filename] => kahi ki bhi id laye (4).mp3
    [5] => 14
    [duration] => 14
    [6] => 1
    [credits_per_sms] => 1
    [7] => 15
    [user_pulse] => 15
    [8] => 1760700727
    [start_date] => 1760700727
    [9] => 0
    [end_date] => 0
    [10] => 1137
    [total_sms] => 1137
    [11] => 1137
    [sent_sms] => 1137
    [12] => 0
    [duplicate_sms] => 0
    [13] => 124
    [answered_sms] => 124
    [14] => 102
    [busy_sms] => 102
    [15] => 0
    [congestion_sms] => 0
    [16] => 341
    [failed_sms] => 341
    [17] => 0
    [hangup_sms] => 0
    [18] => 76
    [no_answer_sms] => 76
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 494
    [cutting_sms] => 494
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 124
    [user_answered_sms] => 124
    [27] => 102
    [user_busy_sms] => 102
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 341
    [user_failed_sms] => 341
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 76
    [user_no_answer_sms] => 76
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u288
    [created_by] => u288
    [38] => 0
    [isScheduled] => 0
    [39] => 1760700727
    [create_date] => 1760700727
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760700733,"compaign_read_start_time":1760700737,"compaign_read_complete_time":1760700739,"compaign_send_start_time":1760700781,"compaign_send_complete_time":1760700784}
    [action_time] => {"api_allot_time":1760700733,"compaign_read_start_time":1760700737,"compaign_read_complete_time":1760700739,"compaign_send_start_time":1760700781,"compaign_send_complete_time":1760700784}
    [50] => 0
    [compaign_file] => 0
    [51] => u288_66521_17102025_050212PM_449
    [common_name] => u288_66521_17102025_050212PM_449
    [52] => 1753088033_u288_voice.wav
    [voice_file] => 1753088033_u288_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_58108
    [temp_group_table] => contacts_temp_group_58108
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => 1
    [extension_key] => 1
    [69] => 5
    [credit_seq] => 5
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760701742
    [last_credit_update_time] => 1760701742
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 504
    [user_voice_plan_id] => 504
    [85] => 54
    [voice_plan_id] => 54
    [86] => 0
    [gateway_id] => 0
    [87] => 15
    [pulse] => 15
    [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,sr33,sr101,sr147,u288
    [uphierarchy] => admin,sr33,sr101,sr147,u288
    [113] => 
    [extra_params_json] => 
)


Compaign : 66521
\compaign_type : Rans per 26.32431 
ans sms 1137
dnd sms 0

require answer perrequire answer per : 300

user answer per : 124
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_66521 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 136 UPDATE voice_compaign_detail_66521 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 136 Total Failed : 317 no_answer_count : 106 Busy count :82 congestion_count : 38 failed_count : 91UPDATE voice_compaign_detail_66521 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 106 UPDATE voice_compaign_detail_66521 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 82 UPDATE voice_compaign_detail_66521 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 38 UPDATE voice_compaign_detail_66521 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`='300', `user_busy_sms`='220', `user_congestion_sms`='38', `user_failed_sms`='337', `user_hangup_sms`='0', `user_no_answer_sms`='242', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66521 LIMIT 1 


Time Diff : 0.245

Array
(
    [0] => 66519
    [compaign_id] => 66519
    [1] => u632
    [user_id] => u632
    [2] => 58107,
    [group_ids] => 58107,
    [3] => 
    [sender_id] => 
    [4] => TPS digital solution Diwali Dhanteras promotion 1.mp3
    [filename] => TPS digital solution Diwali Dhanteras promotion 1.mp3
    [5] => 89
    [duration] => 89
    [6] => 3
    [credits_per_sms] => 3
    [7] => 30
    [user_pulse] => 30
    [8] => 1760701500
    [start_date] => 1760701500
    [9] => 0
    [end_date] => 0
    [10] => 732
    [total_sms] => 732
    [11] => 732
    [sent_sms] => 732
    [12] => 0
    [duplicate_sms] => 0
    [13] => 54
    [answered_sms] => 54
    [14] => 80
    [busy_sms] => 80
    [15] => 0
    [congestion_sms] => 0
    [16] => 201
    [failed_sms] => 201
    [17] => 0
    [hangup_sms] => 0
    [18] => 56
    [no_answer_sms] => 56
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 341
    [cutting_sms] => 341
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 54
    [user_answered_sms] => 54
    [27] => 80
    [user_busy_sms] => 80
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 201
    [user_failed_sms] => 201
    [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] => u632
    [created_by] => u632
    [38] => 1
    [isScheduled] => 1
    [39] => 1760700725
    [create_date] => 1760700725
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760701508,"compaign_read_start_time":1760701510,"compaign_read_complete_time":1760701512,"compaign_send_start_time":1760701562,"compaign_send_complete_time":1760701564}
    [action_time] => {"api_allot_time":1760701508,"compaign_read_start_time":1760701510,"compaign_read_complete_time":1760701512,"compaign_send_start_time":1760701562,"compaign_send_complete_time":1760701564}
    [50] => 0
    [compaign_file] => 0
    [51] => u632_66519_17102025_051506PM_165
    [common_name] => u632_66519_17102025_051506PM_165
    [52] => 1760693920_u632_voice.wav
    [voice_file] => 1760693920_u632_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_58107
    [temp_group_table] => contacts_temp_group_58107
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => 1
    [extension_key] => 1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760701801
    [last_credit_update_time] => 1760701801
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1045
    [user_voice_plan_id] => 1045
    [85] => 11
    [voice_plan_id] => 11
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.15
    [pulse_rate] => 0.15
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 14
    [dtmf_wait_time] => 14
    [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":"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,sr27,sr126,u632
    [uphierarchy] => admin,sr27,sr126,u632
    [113] => 
    [extra_params_json] => 
)


Compaign : 66519
\compaign_type : Rans per 27.27284 
ans sms 732
dnd sms 0

require answer perrequire answer per : 200

user answer per : 54
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_66519 SET user_report='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_66519 SET user_report='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 : 203 no_answer_count : 68 Busy count :53 congestion_count : 25 failed_count : 57UPDATE voice_compaign_detail_66519 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 68 UPDATE voice_compaign_detail_66519 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 53 UPDATE voice_compaign_detail_66519 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 25 UPDATE voice_compaign_detail_66519 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 57 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='190', `user_busy_sms`='163', `user_congestion_sms`='25', `user_failed_sms`='176', `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`=66519 LIMIT 1 


Time Diff : 0.299

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760442661'  
Array
(
    [0] => 65908
    [compaign_id] => 65908
    [1] => u141
    [user_id] => u141
    [2] => 57733,
    [group_ids] => 57733,
    [3] => 
    [sender_id] => 
    [4] => Sri Ashta Lakshmi Temple 17-10-2025.mp3
    [filename] => Sri Ashta Lakshmi Temple 17-10-2025.mp3
    [5] => 26
    [duration] => 26
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760700600
    [start_date] => 1760700600
    [9] => 0
    [end_date] => 0
    [10] => 87
    [total_sms] => 87
    [11] => 87
    [sent_sms] => 87
    [12] => 0
    [duplicate_sms] => 0
    [13] => 24
    [answered_sms] => 24
    [14] => 9
    [busy_sms] => 9
    [15] => 0
    [congestion_sms] => 0
    [16] => 38
    [failed_sms] => 38
    [17] => 0
    [hangup_sms] => 0
    [18] => 16
    [no_answer_sms] => 16
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 24
    [user_answered_sms] => 24
    [27] => 9
    [user_busy_sms] => 9
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 38
    [user_failed_sms] => 38
    [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] => u141
    [created_by] => u141
    [38] => 1
    [isScheduled] => 1
    [39] => 1760530365
    [create_date] => 1760530365
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760700607,"compaign_read_start_time":1760700607,"compaign_read_complete_time":1760700607,"compaign_send_start_time":1760700662,"compaign_send_complete_time":1760700663}
    [action_time] => {"api_allot_time":1760700607,"compaign_read_start_time":1760700607,"compaign_read_complete_time":1760700607,"compaign_send_start_time":1760700662,"compaign_send_complete_time":1760700663}
    [50] => 0
    [compaign_file] => 0
    [51] => u141_65908_17102025_050005PM_825
    [common_name] => u141_65908_17102025_050005PM_825
    [52] => 1760530153_u141_voice.wav
    [voice_file] => 1760530153_u141_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_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_57733
    [temp_group_table] => contacts_temp_group_57733
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 17
    [credit_seq] => 17
    [70] => 2
    [reschedule_max] => 2
    [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] => 1760701802
    [reschedule_last_check_time] => 1760701802
    [75] => 26179
    [reschedule_ids] => 26179
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760701801
    [last_credit_update_time] => 1760701801
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 262
    [user_voice_plan_id] => 262
    [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] => {"1":1760702400,"2":1760704200}
    [rt_time] => {"1":1760702400,"2":1760704200}
    [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,sr97,u141
    [uphierarchy] => admin,sr27,sr97,u141
    [113] => 
    [extra_params_json] => 
)


Compaign : 65908
\compaign_type : Rans per 27.74445 
ans sms 87
dnd sms 0

require answer perrequire answer per : 25

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='25', `user_busy_sms`='10', `user_congestion_sms`='0', `user_failed_sms`='36', `user_hangup_sms`='0', `user_no_answer_sms`='16', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=65908 LIMIT 1 


Time Diff : 3.943

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


Compaign : 66242
\compaign_type : ATans per 27.16345 
ans sms 22184
dnd sms 0

require answer perrequire answer per : 6026

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='150', `user_busy_sms`='6659', `user_congestion_sms`='0', `user_failed_sms`='14078', `user_hangup_sms`='0', `user_no_answer_sms`='1297', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


Time Diff : 1.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>'1760442781'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760442841'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760442902'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760442961'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760443022'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760443081'  
Array
(
    [0] => 66526
    [compaign_id] => 66526
    [1] => u288
    [user_id] => u288
    [2] => 58113,
    [group_ids] => 58113,
    [3] => 
    [sender_id] => 
    [4] => kahi ki bhi id laye (4).mp3
    [filename] => kahi ki bhi id laye (4).mp3
    [5] => 14
    [duration] => 14
    [6] => 1
    [credits_per_sms] => 1
    [7] => 15
    [user_pulse] => 15
    [8] => 1760701925
    [start_date] => 1760701925
    [9] => 0
    [end_date] => 0
    [10] => 733
    [total_sms] => 733
    [11] => 733
    [sent_sms] => 733
    [12] => 0
    [duplicate_sms] => 0
    [13] => 39
    [answered_sms] => 39
    [14] => 34
    [busy_sms] => 34
    [15] => 0
    [congestion_sms] => 0
    [16] => 321
    [failed_sms] => 321
    [17] => 0
    [hangup_sms] => 0
    [18] => 26
    [no_answer_sms] => 26
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 313
    [cutting_sms] => 313
    [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] => 34
    [user_busy_sms] => 34
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 321
    [user_failed_sms] => 321
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 26
    [user_no_answer_sms] => 26
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u288
    [created_by] => u288
    [38] => 0
    [isScheduled] => 0
    [39] => 1760701925
    [create_date] => 1760701925
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760701931,"compaign_read_start_time":1760701934,"compaign_read_complete_time":1760701935,"compaign_send_start_time":1760701982,"compaign_send_complete_time":1760701984}
    [action_time] => {"api_allot_time":1760701931,"compaign_read_start_time":1760701934,"compaign_read_complete_time":1760701935,"compaign_send_start_time":1760701982,"compaign_send_complete_time":1760701984}
    [50] => 0
    [compaign_file] => 0
    [51] => u288_66526_17102025_052210PM_805
    [common_name] => u288_66526_17102025_052210PM_805
    [52] => 1753088033_u288_voice.wav
    [voice_file] => 1753088033_u288_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_58113
    [temp_group_table] => contacts_temp_group_58113
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => 1
    [extension_key] => 1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760702222
    [last_credit_update_time] => 1760702222
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 504
    [user_voice_plan_id] => 504
    [85] => 54
    [voice_plan_id] => 54
    [86] => 0
    [gateway_id] => 0
    [87] => 15
    [pulse] => 15
    [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,sr33,sr101,sr147,u288
    [uphierarchy] => admin,sr33,sr101,sr147,u288
    [113] => 
    [extra_params_json] => 
)


Compaign : 66526
\compaign_type : Rans per 30.23321 
ans sms 733
dnd sms 0

require answer perrequire answer per : 222

user answer per : 39
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_66526 SET user_report='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_66526 SET user_report='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 : 182 no_answer_count : 61 Busy count :47 congestion_count : 22 failed_count : 52UPDATE voice_compaign_detail_66526 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 61 UPDATE voice_compaign_detail_66526 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 47 UPDATE voice_compaign_detail_66526 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 22 UPDATE voice_compaign_detail_66526 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`='99', `user_busy_sms`='177', `user_congestion_sms`='22', `user_failed_sms`='244', `user_hangup_sms`='0', `user_no_answer_sms`='191', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66526 LIMIT 1 


Time Diff : 0.353

Array
(
    [0] => 66527
    [compaign_id] => 66527
    [1] => u288
    [user_id] => u288
    [2] => 58114,
    [group_ids] => 58114,
    [3] => 
    [sender_id] => 
    [4] => kahi ki bhi id laye (4).mp3
    [filename] => kahi ki bhi id laye (4).mp3
    [5] => 14
    [duration] => 14
    [6] => 1
    [credits_per_sms] => 1
    [7] => 15
    [user_pulse] => 15
    [8] => 1760701925
    [start_date] => 1760701925
    [9] => 0
    [end_date] => 0
    [10] => 837
    [total_sms] => 837
    [11] => 837
    [sent_sms] => 837
    [12] => 0
    [duplicate_sms] => 0
    [13] => 54
    [answered_sms] => 54
    [14] => 55
    [busy_sms] => 55
    [15] => 0
    [congestion_sms] => 0
    [16] => 333
    [failed_sms] => 333
    [17] => 0
    [hangup_sms] => 0
    [18] => 38
    [no_answer_sms] => 38
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 357
    [cutting_sms] => 357
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 54
    [user_answered_sms] => 54
    [27] => 55
    [user_busy_sms] => 55
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 333
    [user_failed_sms] => 333
    [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] => u288
    [created_by] => u288
    [38] => 0
    [isScheduled] => 0
    [39] => 1760701925
    [create_date] => 1760701925
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760701931,"compaign_read_start_time":1760701937,"compaign_read_complete_time":1760701939,"compaign_send_start_time":1760701982,"compaign_send_complete_time":1760701984}
    [action_time] => {"api_allot_time":1760701931,"compaign_read_start_time":1760701937,"compaign_read_complete_time":1760701939,"compaign_send_start_time":1760701982,"compaign_send_complete_time":1760701984}
    [50] => 0
    [compaign_file] => 0
    [51] => u288_66527_17102025_052210PM_645
    [common_name] => u288_66527_17102025_052210PM_645
    [52] => 1753088033_u288_voice.wav
    [voice_file] => 1753088033_u288_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_58114
    [temp_group_table] => contacts_temp_group_58114
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => 1
    [extension_key] => 1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760702222
    [last_credit_update_time] => 1760702222
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 504
    [user_voice_plan_id] => 504
    [85] => 54
    [voice_plan_id] => 54
    [86] => 0
    [gateway_id] => 0
    [87] => 15
    [pulse] => 15
    [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,sr33,sr101,sr147,u288
    [uphierarchy] => admin,sr33,sr101,sr147,u288
    [113] => 
    [extra_params_json] => 
)


Compaign : 66527
\compaign_type : Rans per 25.66864 
ans sms 837
dnd sms 0

require answer perrequire answer per : 215

user answer per : 54
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_66527 SET user_report='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_66527 SET user_report='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 : 227 no_answer_count : 76 Busy count :59 congestion_count : 27 failed_count : 65UPDATE voice_compaign_detail_66527 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 76 UPDATE voice_compaign_detail_66527 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 59 UPDATE voice_compaign_detail_66527 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 27 UPDATE voice_compaign_detail_66527 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`='147', `user_busy_sms`='177', `user_congestion_sms`='27', `user_failed_sms`='292', `user_hangup_sms`='0', `user_no_answer_sms`='194', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66527 LIMIT 1 


Time Diff : 0.311

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760443141'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760443201'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760443262'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760443321'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760443381'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760443441'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760443501'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760443561'  
Array
(
    [0] => 66525
    [compaign_id] => 66525
    [1] => u141
    [user_id] => u141
    [2] => 58115,
    [group_ids] => 58115,
    [3] => 
    [sender_id] => 
    [4] => Sri Ashta Lakshmi Temple 17-10-2025.mp3
    [filename] => Sri Ashta Lakshmi Temple 17-10-2025.mp3
    [5] => 26
    [duration] => 26
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760702400
    [start_date] => 1760702400
    [9] => 0
    [end_date] => 0
    [10] => 62
    [total_sms] => 62
    [11] => 62
    [sent_sms] => 62
    [12] => 0
    [duplicate_sms] => 0
    [13] => 10
    [answered_sms] => 10
    [14] => 7
    [busy_sms] => 7
    [15] => 0
    [congestion_sms] => 0
    [16] => 38
    [failed_sms] => 38
    [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] => 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] => 7
    [user_busy_sms] => 7
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 38
    [user_failed_sms] => 38
    [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] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u141
    [created_by] => u141
    [38] => 1
    [isScheduled] => 1
    [39] => 1760701922
    [create_date] => 1760701922
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760702407,"compaign_read_start_time":1760702407,"compaign_read_complete_time":1760702407,"compaign_send_start_time":1760702462,"compaign_send_complete_time":1760702463}
    [action_time] => {"api_allot_time":1760702407,"compaign_read_start_time":1760702407,"compaign_read_complete_time":1760702407,"compaign_send_start_time":1760702462,"compaign_send_complete_time":1760702463}
    [50] => 0
    [compaign_file] => 0
    [51] => u141_66525_17102025_053005PM_976
    [common_name] => u141_66525_17102025_053005PM_976
    [52] => 1760530153_u141_voice.wav
    [voice_file] => 1760530153_u141_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_58115
    [temp_group_table] => contacts_temp_group_58115
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => 1760702702
    [last_credit_update_time] => 1760702702
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 262
    [user_voice_plan_id] => 262
    [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,sr27,sr97,u141
    [uphierarchy] => admin,sr27,sr97,u141
    [113] => 
    [extra_params_json] => 
)


Compaign : 66525
\compaign_type : Rans per 27.37233 
ans sms 62
dnd sms 0

require answer perrequire answer per : 17

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


 Blank User Record End

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


Time Diff : 4.29

Array
(
    [0] => 66528
    [compaign_id] => 66528
    [1] => u632
    [user_id] => u632
    [2] => 58117,
    [group_ids] => 58117,
    [3] => 
    [sender_id] => 
    [4] => TPS digital solution Diwali Dhanteras promotion 1.mp3
    [filename] => TPS digital solution Diwali Dhanteras promotion 1.mp3
    [5] => 89
    [duration] => 89
    [6] => 3
    [credits_per_sms] => 3
    [7] => 30
    [user_pulse] => 30
    [8] => 1760702400
    [start_date] => 1760702400
    [9] => 0
    [end_date] => 0
    [10] => 542
    [total_sms] => 542
    [11] => 542
    [sent_sms] => 542
    [12] => 0
    [duplicate_sms] => 0
    [13] => 31
    [answered_sms] => 31
    [14] => 24
    [busy_sms] => 24
    [15] => 0
    [congestion_sms] => 0
    [16] => 215
    [failed_sms] => 215
    [17] => 0
    [hangup_sms] => 0
    [18] => 33
    [no_answer_sms] => 33
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 239
    [cutting_sms] => 239
    [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] => 24
    [user_busy_sms] => 24
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 215
    [user_failed_sms] => 215
    [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] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u632
    [created_by] => u632
    [38] => 1
    [isScheduled] => 1
    [39] => 1760702226
    [create_date] => 1760702226
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760702408,"compaign_read_start_time":1760702410,"compaign_read_complete_time":1760702411,"compaign_send_start_time":1760702462,"compaign_send_complete_time":1760702463}
    [action_time] => {"api_allot_time":1760702408,"compaign_read_start_time":1760702410,"compaign_read_complete_time":1760702411,"compaign_send_start_time":1760702462,"compaign_send_complete_time":1760702463}
    [50] => 0
    [compaign_file] => 0
    [51] => u632_66528_17102025_053005PM_474
    [common_name] => u632_66528_17102025_053005PM_474
    [52] => 1760693920_u632_voice.wav
    [voice_file] => 1760693920_u632_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_58117
    [temp_group_table] => contacts_temp_group_58117
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => 1
    [extension_key] => 1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760702702
    [last_credit_update_time] => 1760702702
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1045
    [user_voice_plan_id] => 1045
    [85] => 11
    [voice_plan_id] => 11
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.15
    [pulse_rate] => 0.15
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 14
    [dtmf_wait_time] => 14
    [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":"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,sr27,sr126,u632
    [uphierarchy] => admin,sr27,sr126,u632
    [113] => 
    [extra_params_json] => 
)


Compaign : 66528
\compaign_type : Rans per 27.96472 
ans sms 542
dnd sms 0

require answer perrequire answer per : 152

user answer per : 31
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_66528 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 85 UPDATE voice_compaign_detail_66528 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 85 Total Failed : 150 no_answer_count : 51 Busy count :39 congestion_count : 18 failed_count : 42UPDATE voice_compaign_detail_66528 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 51 UPDATE voice_compaign_detail_66528 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 39 UPDATE voice_compaign_detail_66528 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 18 UPDATE voice_compaign_detail_66528 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`='88', `user_busy_sms`='124', `user_congestion_sms`='18', `user_failed_sms`='176', `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`=66528 LIMIT 1 


Time Diff : 0.483

Array
(
    [0] => 66530
    [compaign_id] => 66530
    [1] => u64
    [user_id] => u64
    [2] => 58118,
    [group_ids] => 58118,
    [3] => 
    [sender_id] => 
    [4] => Morning Star School.mp3
    [filename] => Morning Star School.mp3
    [5] => 62
    [duration] => 62
    [6] => 3
    [credits_per_sms] => 3
    [7] => 30
    [user_pulse] => 30
    [8] => 1760702404
    [start_date] => 1760702404
    [9] => 0
    [end_date] => 0
    [10] => 625
    [total_sms] => 625
    [11] => 625
    [sent_sms] => 625
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 72
    [busy_sms] => 72
    [15] => 0
    [congestion_sms] => 0
    [16] => 42
    [failed_sms] => 42
    [17] => 0
    [hangup_sms] => 0
    [18] => 86
    [no_answer_sms] => 86
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 237
    [cutting_sms] => 237
    [22] => 103
    [dnd_sms] => 103
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 85
    [user_answered_sms] => 85
    [27] => 72
    [user_busy_sms] => 72
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 42
    [user_failed_sms] => 42
    [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] => 103
    [user_dnd_sms] => 103
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u64
    [created_by] => u64
    [38] => 0
    [isScheduled] => 0
    [39] => 1760702404
    [create_date] => 1760702404
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760702412,"compaign_read_start_time":1760702413,"compaign_read_complete_time":1760702414,"compaign_send_start_time":1760702462,"compaign_send_complete_time":1760702463}
    [action_time] => {"api_allot_time":1760702412,"compaign_read_start_time":1760702413,"compaign_read_complete_time":1760702414,"compaign_send_start_time":1760702462,"compaign_send_complete_time":1760702463}
    [50] => 0
    [compaign_file] => 0
    [51] => u64_66530_17102025_053009PM_531
    [common_name] => u64_66530_17102025_053009PM_531
    [52] => 1760702404_u64_voice.wav
    [voice_file] => 1760702404_u64_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_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_58118
    [temp_group_table] => contacts_temp_group_58118
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760702702
    [last_credit_update_time] => 1760702702
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 123
    [user_voice_plan_id] => 123
    [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":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":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,u64
    [uphierarchy] => admin,sr3,u64
    [113] => 
    [extra_params_json] => 
)


Compaign : 66530
\compaign_type : Rans per 28.81431 
ans sms 625
dnd sms 103

require answer perrequire answer per : 151

user answer per : 85
below is the redis data 66 /n/r
only no answer and busy will be convert, total number require 66 /n/r
UPDATE voice_compaign_detail_66530 SET user_report='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_66530 SET user_report='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 : 158 no_answer_count : 53 Busy count :41 congestion_count : 19 failed_count : 45UPDATE voice_compaign_detail_66530 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 53 UPDATE voice_compaign_detail_66530 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 41 UPDATE voice_compaign_detail_66530 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 19 UPDATE voice_compaign_detail_66530 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`='151', `user_busy_sms`='128', `user_congestion_sms`='19', `user_failed_sms`='72', `user_hangup_sms`='0', `user_no_answer_sms`='152', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='103' WHERE `compaign_id`=66530 LIMIT 1 


Time Diff : 0.426

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760443621'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760443682'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760443741'  
Array
(
    [0] => 66531
    [compaign_id] => 66531
    [1] => u22468
    [user_id] => u22468
    [2] => 58119,
    [group_ids] => 58119,
    [3] => 
    [sender_id] => 
    [4] => SALEEM AHMED mp3.mp3
    [filename] => SALEEM AHMED mp3.mp3
    [5] => 24
    [duration] => 24
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760702621
    [start_date] => 1760702621
    [9] => 0
    [end_date] => 0
    [10] => 2004
    [total_sms] => 2004
    [11] => 2004
    [sent_sms] => 2004
    [12] => 0
    [duplicate_sms] => 0
    [13] => 363
    [answered_sms] => 363
    [14] => 165
    [busy_sms] => 165
    [15] => 0
    [congestion_sms] => 0
    [16] => 81
    [failed_sms] => 81
    [17] => 0
    [hangup_sms] => 0
    [18] => 211
    [no_answer_sms] => 211
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 858
    [cutting_sms] => 858
    [22] => 326
    [dnd_sms] => 326
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 363
    [user_answered_sms] => 363
    [27] => 165
    [user_busy_sms] => 165
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 81
    [user_failed_sms] => 81
    [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] => 326
    [user_dnd_sms] => 326
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u22468
    [created_by] => u22468
    [38] => 0
    [isScheduled] => 0
    [39] => 1760702620
    [create_date] => 1760702620
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760702629,"compaign_read_start_time":1760702629,"compaign_read_complete_time":1760702635,"compaign_send_start_time":1760702641,"compaign_send_complete_time":1760702646}
    [action_time] => {"api_allot_time":1760702629,"compaign_read_start_time":1760702629,"compaign_read_complete_time":1760702635,"compaign_send_start_time":1760702641,"compaign_send_complete_time":1760702646}
    [50] => 0
    [compaign_file] => 0
    [51] => u22468_66531_17102025_053348PM_277
    [common_name] => u22468_66531_17102025_053348PM_277
    [52] => 1760702620_u22468_voice.wav
    [voice_file] => 1760702620_u22468_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_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_58119
    [temp_group_table] => contacts_temp_group_58119
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760702882
    [last_credit_update_time] => 1760702882
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1719
    [user_voice_plan_id] => 1719
    [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,sr173,u22468
    [uphierarchy] => admin,sr173,u22468
    [113] => 
    [extra_params_json] => 
)


Compaign : 66531
\compaign_type : Rans per 29.21785 
ans sms 2004
dnd sms 326

require answer perrequire answer per : 491

user answer per : 363
below is the redis data 128 UPDATE voice_compaign_detail_66531 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 128 Total Failed : 730 no_answer_count : 244 Busy count :188 congestion_count : 87 failed_count : 211UPDATE voice_compaign_detail_66531 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 244 UPDATE voice_compaign_detail_66531 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 188 UPDATE voice_compaign_detail_66531 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 87 UPDATE voice_compaign_detail_66531 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 211 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='491', `user_busy_sms`='353', `user_congestion_sms`='87', `user_failed_sms`='292', `user_hangup_sms`='0', `user_no_answer_sms`='455', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='326' WHERE `compaign_id`=66531 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>'1760443801'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760443862'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760443921'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760443981'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760444042'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760444101'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760444161'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760444221'  
Array
(
    [0] => 66533
    [compaign_id] => 66533
    [1] => u22471
    [user_id] => u22471
    [2] => 58121,
    [group_ids] => 58121,
    [3] => 
    [sender_id] => 
    [4] => WhatsApp Audio 2025-10-17 at 8.57.53 AM(1) (online-audio-converter.com).mp3
    [filename] => WhatsApp Audio 2025-10-17 at 8.57.53 AM(1) (online-audio-converter.com).mp3
    [5] => 27
    [duration] => 27
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760703123
    [start_date] => 1760703123
    [9] => 0
    [end_date] => 0
    [10] => 281
    [total_sms] => 281
    [11] => 281
    [sent_sms] => 281
    [12] => 0
    [duplicate_sms] => 0
    [13] => 11
    [answered_sms] => 11
    [14] => 19
    [busy_sms] => 19
    [15] => 0
    [congestion_sms] => 0
    [16] => 23
    [failed_sms] => 23
    [17] => 0
    [hangup_sms] => 0
    [18] => 22
    [no_answer_sms] => 22
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 35
    [cutting_sms] => 35
    [22] => 171
    [dnd_sms] => 171
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 11
    [user_answered_sms] => 11
    [27] => 19
    [user_busy_sms] => 19
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 23
    [user_failed_sms] => 23
    [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] => 171
    [user_dnd_sms] => 171
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u22471
    [created_by] => u22471
    [38] => 0
    [isScheduled] => 0
    [39] => 1760703123
    [create_date] => 1760703123
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760703131,"compaign_read_start_time":1760703133,"compaign_read_complete_time":1760703134,"compaign_send_start_time":1760703182,"compaign_send_complete_time":1760703188}
    [action_time] => {"api_allot_time":1760703131,"compaign_read_start_time":1760703133,"compaign_read_complete_time":1760703134,"compaign_send_start_time":1760703182,"compaign_send_complete_time":1760703188}
    [50] => 0
    [compaign_file] => 0
    [51] => u22471_66533_17102025_054209PM_201
    [common_name] => u22471_66533_17102025_054209PM_201
    [52] => 1760685267_u22471_voice.wav
    [voice_file] => 1760685267_u22471_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_58121
    [temp_group_table] => contacts_temp_group_58121
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760703362
    [last_credit_update_time] => 1760703362
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1724
    [user_voice_plan_id] => 1724
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.5
    [pulse_rate] => 0.5
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr53,sr78,u22471
    [uphierarchy] => admin,sr53,sr78,u22471
    [113] => 
    [extra_params_json] => 
)


Compaign : 66533
\compaign_type : Rans per 30.72863 
ans sms 281
dnd sms 171

require answer perrequire answer per : 34

user answer per : 11
below is the redis data 23 UPDATE voice_compaign_detail_66533 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 23 Total Failed : 12 no_answer_count : 5 Busy count :4 congestion_count : 2 failed_count : 1UPDATE voice_compaign_detail_66533 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 5 UPDATE voice_compaign_detail_66533 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 4 UPDATE voice_compaign_detail_66533 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 2 UPDATE voice_compaign_detail_66533 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`='34', `user_busy_sms`='23', `user_congestion_sms`='2', `user_failed_sms`='24', `user_hangup_sms`='0', `user_no_answer_sms`='27', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='171' WHERE `compaign_id`=66533 LIMIT 1 


Time Diff : 0.733

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760444281'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760444342'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760444401'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760444462'  
Array
(
    [0] => 66534
    [compaign_id] => 66534
    [1] => u632
    [user_id] => u632
    [2] => 58122,
    [group_ids] => 58122,
    [3] => 
    [sender_id] => 
    [4] => TPS digital solution Diwali Dhanteras promotion 1.mp3
    [filename] => TPS digital solution Diwali Dhanteras promotion 1.mp3
    [5] => 89
    [duration] => 89
    [6] => 3
    [credits_per_sms] => 3
    [7] => 30
    [user_pulse] => 30
    [8] => 1760703300
    [start_date] => 1760703300
    [9] => 0
    [end_date] => 0
    [10] => 454
    [total_sms] => 454
    [11] => 454
    [sent_sms] => 454
    [12] => 0
    [duplicate_sms] => 0
    [13] => 23
    [answered_sms] => 23
    [14] => 11
    [busy_sms] => 11
    [15] => 0
    [congestion_sms] => 0
    [16] => 216
    [failed_sms] => 216
    [17] => 0
    [hangup_sms] => 0
    [18] => 18
    [no_answer_sms] => 18
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 186
    [cutting_sms] => 186
    [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] => 11
    [user_busy_sms] => 11
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 216
    [user_failed_sms] => 216
    [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] => u632
    [created_by] => u632
    [38] => 1
    [isScheduled] => 1
    [39] => 1760703123
    [create_date] => 1760703123
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760703307,"compaign_read_start_time":1760703307,"compaign_read_complete_time":1760703308,"compaign_send_start_time":1760703362,"compaign_send_complete_time":1760703363}
    [action_time] => {"api_allot_time":1760703307,"compaign_read_start_time":1760703307,"compaign_read_complete_time":1760703308,"compaign_send_start_time":1760703362,"compaign_send_complete_time":1760703363}
    [50] => 0
    [compaign_file] => 0
    [51] => u632_66534_17102025_054505PM_975
    [common_name] => u632_66534_17102025_054505PM_975
    [52] => 1760693920_u632_voice.wav
    [voice_file] => 1760693920_u632_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_58122
    [temp_group_table] => contacts_temp_group_58122
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => 1
    [extension_key] => 1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760703601
    [last_credit_update_time] => 1760703601
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1045
    [user_voice_plan_id] => 1045
    [85] => 11
    [voice_plan_id] => 11
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.15
    [pulse_rate] => 0.15
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 14
    [dtmf_wait_time] => 14
    [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":"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,sr27,sr126,u632
    [uphierarchy] => admin,sr27,sr126,u632
    [113] => 
    [extra_params_json] => 
)


Compaign : 66534
\compaign_type : Rans per 27.77285 
ans sms 454
dnd sms 0

require answer perrequire answer per : 127

user answer per : 23
below is the redis data 104 /n/r
only no answer and busy will be convert, total number require 104 /n/r
UPDATE voice_compaign_detail_66534 SET user_report='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_66534 SET user_report='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 : 113 no_answer_count : 38 Busy count :29 congestion_count : 14 failed_count : 32UPDATE voice_compaign_detail_66534 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 38 UPDATE voice_compaign_detail_66534 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 29 UPDATE voice_compaign_detail_66534 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 14 UPDATE voice_compaign_detail_66534 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`='52', `user_busy_sms`='105', `user_congestion_sms`='14', `user_failed_sms`='169', `user_hangup_sms`='0', `user_no_answer_sms`='114', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66534 LIMIT 1 


Time Diff : 0.581

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760444521'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760444581'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760444642'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760444701'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760444761'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760444822'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760444881'  
Array
(
    [0] => 66535
    [compaign_id] => 66535
    [1] => u607
    [user_id] => u607
    [2] => 58123,
    [group_ids] => 58123,
    [3] => 
    [sender_id] => 
    [4] => yadav_v3.mp3
    [filename] => yadav_v3.mp3
    [5] => 55
    [duration] => 55
    [6] => 2
    [credits_per_sms] => 2
    [7] => 30
    [user_pulse] => 30
    [8] => 1760703501
    [start_date] => 1760703501
    [9] => 0
    [end_date] => 0
    [10] => 5515
    [total_sms] => 5515
    [11] => 5515
    [sent_sms] => 5515
    [12] => 0
    [duplicate_sms] => 0
    [13] => 420
    [answered_sms] => 420
    [14] => 232
    [busy_sms] => 232
    [15] => 1
    [congestion_sms] => 1
    [16] => 1000
    [failed_sms] => 1000
    [17] => 0
    [hangup_sms] => 0
    [18] => 482
    [no_answer_sms] => 482
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2231
    [cutting_sms] => 2231
    [22] => 1149
    [dnd_sms] => 1149
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 420
    [user_answered_sms] => 420
    [27] => 232
    [user_busy_sms] => 232
    [28] => 1
    [user_congestion_sms] => 1
    [29] => 1000
    [user_failed_sms] => 1000
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 482
    [user_no_answer_sms] => 482
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 1149
    [user_dnd_sms] => 1149
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u607
    [created_by] => u607
    [38] => 0
    [isScheduled] => 0
    [39] => 1760703498
    [create_date] => 1760703498
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760703509,"compaign_read_start_time":1760703512,"compaign_read_complete_time":1760703524,"compaign_send_start_time":1760703542,"compaign_send_complete_time":1760703555}
    [action_time] => {"api_allot_time":1760703509,"compaign_read_start_time":1760703512,"compaign_read_complete_time":1760703524,"compaign_send_start_time":1760703542,"compaign_send_complete_time":1760703555}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_66535_17102025_054828PM_121
    [common_name] => u607_66535_17102025_054828PM_121
    [52] => 1760700793_u607_voice.wav
    [voice_file] => 1760700793_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_58123
    [temp_group_table] => contacts_temp_group_58123
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => 1760704022
    [last_credit_update_time] => 1760704022
    [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 : 66535
\compaign_type : Rans per 25.73809 
ans sms 5515
dnd sms 1149

require answer perrequire answer per : 1124

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='1124', `user_busy_sms`='915', `user_congestion_sms`='185', `user_failed_sms`='1104', `user_hangup_sms`='0', `user_no_answer_sms`='1038', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='1149' WHERE `compaign_id`=66535 LIMIT 1 


Time Diff : 0.092

Array
(
    [0] => 66536
    [compaign_id] => 66536
    [1] => u365
    [user_id] => u365
    [2] => 58124,
    [group_ids] => 58124,
    [3] => 
    [sender_id] => 
    [4] => Nagercoil 1710.mp3
    [filename] => Nagercoil 1710.mp3
    [5] => 18
    [duration] => 18
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760703787
    [start_date] => 1760703787
    [9] => 0
    [end_date] => 0
    [10] => 1652
    [total_sms] => 1652
    [11] => 1652
    [sent_sms] => 1652
    [12] => 0
    [duplicate_sms] => 0
    [13] => 198
    [answered_sms] => 198
    [14] => 111
    [busy_sms] => 111
    [15] => 0
    [congestion_sms] => 0
    [16] => 202
    [failed_sms] => 202
    [17] => 0
    [hangup_sms] => 0
    [18] => 185
    [no_answer_sms] => 185
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 570
    [cutting_sms] => 570
    [22] => 386
    [dnd_sms] => 386
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 198
    [user_answered_sms] => 198
    [27] => 111
    [user_busy_sms] => 111
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 202
    [user_failed_sms] => 202
    [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] => 386
    [user_dnd_sms] => 386
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u365
    [created_by] => u365
    [38] => 0
    [isScheduled] => 0
    [39] => 1760703786
    [create_date] => 1760703786
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760703794,"compaign_read_start_time":1760703796,"compaign_read_complete_time":1760703802,"compaign_send_start_time":1760703842,"compaign_send_complete_time":1760703845}
    [action_time] => {"api_allot_time":1760703794,"compaign_read_start_time":1760703796,"compaign_read_complete_time":1760703802,"compaign_send_start_time":1760703842,"compaign_send_complete_time":1760703845}
    [50] => 0
    [compaign_file] => 0
    [51] => u365_66536_17102025_055313PM_916
    [common_name] => u365_66536_17102025_055313PM_916
    [52] => 1760703786_u365_voice.wav
    [voice_file] => 1760703786_u365_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_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_58124
    [temp_group_table] => contacts_temp_group_58124
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_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] => 1760703902
    [reschedule_last_check_time] => 1760703902
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760704081
    [last_credit_update_time] => 1760704081
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 619
    [user_voice_plan_id] => 619
    [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":1760706000,"2":1760707800}
    [rt_time] => {"1":1760706000,"2":1760707800}
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr151,u365
    [uphierarchy] => admin,sr151,u365
    [113] => 
    [extra_params_json] => 
)


Compaign : 66536
\compaign_type : Rans per 25.50651 
ans sms 1652
dnd sms 386

require answer perrequire answer per : 323

user answer per : 198
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_66536 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 100 UPDATE voice_compaign_detail_66536 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 100 Total Failed : 419 no_answer_count : 140 Busy count :108 congestion_count : 50 failed_count : 121UPDATE voice_compaign_detail_66536 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 140 UPDATE voice_compaign_detail_66536 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 108 UPDATE voice_compaign_detail_66536 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 50 UPDATE voice_compaign_detail_66536 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 121 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='323', `user_busy_sms`='271', `user_congestion_sms`='50', `user_failed_sms`='274', `user_hangup_sms`='0', `user_no_answer_sms`='348', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='386' WHERE `compaign_id`=66536 LIMIT 1 


Time Diff : 0.137

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760444942'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760445001'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760445061'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760445122'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760445181'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760445243'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760445301'  
Array
(
    [0] => 66537
    [compaign_id] => 66537
    [1] => u632
    [user_id] => u632
    [2] => 58125,
    [group_ids] => 58125,
    [3] => 
    [sender_id] => 
    [4] => TPS digital solution Diwali Dhanteras promotion 1.mp3
    [filename] => TPS digital solution Diwali Dhanteras promotion 1.mp3
    [5] => 89
    [duration] => 89
    [6] => 3
    [credits_per_sms] => 3
    [7] => 30
    [user_pulse] => 30
    [8] => 1760704200
    [start_date] => 1760704200
    [9] => 0
    [end_date] => 0
    [10] => 402
    [total_sms] => 402
    [11] => 402
    [sent_sms] => 402
    [12] => 0
    [duplicate_sms] => 0
    [13] => 8
    [answered_sms] => 8
    [14] => 9
    [busy_sms] => 9
    [15] => 0
    [congestion_sms] => 0
    [16] => 226
    [failed_sms] => 226
    [17] => 0
    [hangup_sms] => 0
    [18] => 4
    [no_answer_sms] => 4
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 155
    [cutting_sms] => 155
    [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] => 9
    [user_busy_sms] => 9
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 226
    [user_failed_sms] => 226
    [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] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u632
    [created_by] => u632
    [38] => 1
    [isScheduled] => 1
    [39] => 1760704028
    [create_date] => 1760704028
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760704206,"compaign_read_start_time":1760704210,"compaign_read_complete_time":1760704211,"compaign_send_start_time":1760704262,"compaign_send_complete_time":1760704263}
    [action_time] => {"api_allot_time":1760704206,"compaign_read_start_time":1760704210,"compaign_read_complete_time":1760704211,"compaign_send_start_time":1760704262,"compaign_send_complete_time":1760704263}
    [50] => 0
    [compaign_file] => 0
    [51] => u632_66537_17102025_060005PM_698
    [common_name] => u632_66537_17102025_060005PM_698
    [52] => 1760693920_u632_voice.wav
    [voice_file] => 1760693920_u632_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_58125
    [temp_group_table] => contacts_temp_group_58125
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => 1
    [extension_key] => 1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760704444
    [last_credit_update_time] => 1760704444
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1045
    [user_voice_plan_id] => 1045
    [85] => 11
    [voice_plan_id] => 11
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.15
    [pulse_rate] => 0.15
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 14
    [dtmf_wait_time] => 14
    [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":"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,sr27,sr126,u632
    [uphierarchy] => admin,sr27,sr126,u632
    [113] => 
    [extra_params_json] => 
)


Compaign : 66537
\compaign_type : Rans per 29.50327 
ans sms 402
dnd sms 0

require answer perrequire answer per : 119

user answer per : 8
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_66537 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 85 UPDATE voice_compaign_detail_66537 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 85 Total Failed : 97 no_answer_count : 33 Busy count :25 congestion_count : 12 failed_count : 27UPDATE voice_compaign_detail_66537 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 33 UPDATE voice_compaign_detail_66537 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 25 UPDATE voice_compaign_detail_66537 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 12 UPDATE voice_compaign_detail_66537 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`='21', `user_busy_sms`='110', `user_congestion_sms`='12', `user_failed_sms`='141', `user_hangup_sms`='0', `user_no_answer_sms`='118', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66537 LIMIT 1 


Time Diff : 0.505

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760445361'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760445422'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760445482'  
Array
(
    [0] => 66539
    [compaign_id] => 66539
    [1] => u607
    [user_id] => u607
    [2] => 58126,
    [group_ids] => 58126,
    [3] => 
    [sender_id] => 
    [4] => yadav_v3.mp3
    [filename] => yadav_v3.mp3
    [5] => 55
    [duration] => 55
    [6] => 2
    [credits_per_sms] => 2
    [7] => 30
    [user_pulse] => 30
    [8] => 1760704348
    [start_date] => 1760704348
    [9] => 0
    [end_date] => 0
    [10] => 4391
    [total_sms] => 4391
    [11] => 4391
    [sent_sms] => 4391
    [12] => 0
    [duplicate_sms] => 0
    [13] => 194
    [answered_sms] => 194
    [14] => 129
    [busy_sms] => 129
    [15] => 0
    [congestion_sms] => 0
    [16] => 941
    [failed_sms] => 941
    [17] => 0
    [hangup_sms] => 0
    [18] => 260
    [no_answer_sms] => 260
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 1718
    [cutting_sms] => 1718
    [22] => 1149
    [dnd_sms] => 1149
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 194
    [user_answered_sms] => 194
    [27] => 129
    [user_busy_sms] => 129
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 941
    [user_failed_sms] => 941
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 260
    [user_no_answer_sms] => 260
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 1149
    [user_dnd_sms] => 1149
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u607
    [created_by] => u607
    [38] => 0
    [isScheduled] => 0
    [39] => 1760704348
    [create_date] => 1760704348
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760704355,"compaign_read_start_time":1760704358,"compaign_read_complete_time":1760704367,"compaign_send_start_time":1760704381,"compaign_send_complete_time":1760704389}
    [action_time] => {"api_allot_time":1760704355,"compaign_read_start_time":1760704358,"compaign_read_complete_time":1760704367,"compaign_send_start_time":1760704381,"compaign_send_complete_time":1760704389}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_66539_17102025_060234PM_675
    [common_name] => u607_66539_17102025_060234PM_675
    [52] => 1760700793_u607_voice.wav
    [voice_file] => 1760700793_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_58126
    [temp_group_table] => contacts_temp_group_58126
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760704622
    [last_credit_update_time] => 1760704622
    [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 : 66539
\compaign_type : Rans per 27.32952 
ans sms 4391
dnd sms 1149

require answer perrequire answer per : 887

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='583', `user_busy_sms`='776', `user_congestion_sms`='131', `user_failed_sms`='891', `user_hangup_sms`='0', `user_no_answer_sms`='861', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='1149' WHERE `compaign_id`=66539 LIMIT 1 


Time Diff : 0.06

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760445541'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760445602'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760445661'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760445721'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760445781'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760445841'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760445901'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760445962'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760446021'  
Array
(
    [0] => 66541
    [compaign_id] => 66541
    [1] => u22470
    [user_id] => u22470
    [2] => 58129,
    [group_ids] => 58129,
    [3] => 
    [sender_id] => 
    [4] => MANOJ JEWALERS_KENDRAPADA_DHANTERASA25.mp3
    [filename] => MANOJ JEWALERS_KENDRAPADA_DHANTERASA25.mp3
    [5] => 29
    [duration] => 29
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760704926
    [start_date] => 1760704926
    [9] => 0
    [end_date] => 0
    [10] => 944
    [total_sms] => 944
    [11] => 944
    [sent_sms] => 944
    [12] => 0
    [duplicate_sms] => 0
    [13] => 88
    [answered_sms] => 88
    [14] => 70
    [busy_sms] => 70
    [15] => 0
    [congestion_sms] => 0
    [16] => 211
    [failed_sms] => 211
    [17] => 0
    [hangup_sms] => 0
    [18] => 153
    [no_answer_sms] => 153
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 422
    [cutting_sms] => 422
    [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] => 70
    [user_busy_sms] => 70
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 211
    [user_failed_sms] => 211
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 153
    [user_no_answer_sms] => 153
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u22470
    [created_by] => u22470
    [38] => 0
    [isScheduled] => 0
    [39] => 1760704926
    [create_date] => 1760704926
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760704932,"compaign_read_start_time":1760704933,"compaign_read_complete_time":1760704934,"compaign_send_start_time":1760704982,"compaign_send_complete_time":1760704996}
    [action_time] => {"api_allot_time":1760704932,"compaign_read_start_time":1760704933,"compaign_read_complete_time":1760704934,"compaign_send_start_time":1760704982,"compaign_send_complete_time":1760704996}
    [50] => 0
    [compaign_file] => 0
    [51] => u22470_66541_17102025_061211PM_993
    [common_name] => u22470_66541_17102025_061211PM_993
    [52] => 1760683008_u22470_voice.wav
    [voice_file] => 1760683008_u22470_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_58129
    [temp_group_table] => contacts_temp_group_58129
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760705221
    [last_credit_update_time] => 1760705221
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1723
    [user_voice_plan_id] => 1723
    [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,sr27,sr87,u22470
    [uphierarchy] => admin,sr27,sr87,u22470
    [113] => 
    [extra_params_json] => 
)


Compaign : 66541
\compaign_type : Rans per 26.47397 
ans sms 944
dnd sms 0

require answer perrequire answer per : 250

user answer per : 88
below is the redis data 162 UPDATE voice_compaign_detail_66541 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 162 Total Failed : 260 no_answer_count : 87 Busy count :67 congestion_count : 31 failed_count : 75UPDATE voice_compaign_detail_66541 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 87 UPDATE voice_compaign_detail_66541 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 67 UPDATE voice_compaign_detail_66541 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 31 UPDATE voice_compaign_detail_66541 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`='250', `user_busy_sms`='137', `user_congestion_sms`='31', `user_failed_sms`='286', `user_hangup_sms`='0', `user_no_answer_sms`='240', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66541 LIMIT 1 


Time Diff : 0.217

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


Compaign : 66242
\compaign_type : ATans per 29.12922 
ans sms 24989
dnd sms 0

require answer perrequire answer per : 7280

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='179', `user_busy_sms`='7597', `user_congestion_sms`='0', `user_failed_sms`='15743', `user_hangup_sms`='0', `user_no_answer_sms`='1470', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


Time Diff : 1.2

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


Compaign : 66242
\compaign_type : ATans per 30.20329 
ans sms 25382
dnd sms 0

require answer perrequire answer per : 7667

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='181', `user_busy_sms`='7747', `user_congestion_sms`='0', `user_failed_sms`='15965', `user_hangup_sms`='0', `user_no_answer_sms`='1489', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


Time Diff : 1.2

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760446801'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760446861'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760446922'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760446981'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760447042'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760447101'  
Array
(
    [0] => 66538
    [compaign_id] => 66538
    [1] => u365
    [user_id] => u365
    [2] => 58127,
    [group_ids] => 58127,
    [3] => 
    [sender_id] => 
    [4] => Nagercoil 1710.mp3
    [filename] => Nagercoil 1710.mp3
    [5] => 18
    [duration] => 18
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760706000
    [start_date] => 1760706000
    [9] => 0
    [end_date] => 0
    [10] => 1329
    [total_sms] => 1329
    [11] => 1329
    [sent_sms] => 1329
    [12] => 0
    [duplicate_sms] => 0
    [13] => 127
    [answered_sms] => 127
    [14] => 85
    [busy_sms] => 85
    [15] => 0
    [congestion_sms] => 0
    [16] => 156
    [failed_sms] => 156
    [17] => 0
    [hangup_sms] => 0
    [18] => 136
    [no_answer_sms] => 136
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 439
    [cutting_sms] => 439
    [22] => 386
    [dnd_sms] => 386
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 127
    [user_answered_sms] => 127
    [27] => 85
    [user_busy_sms] => 85
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 156
    [user_failed_sms] => 156
    [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] => 386
    [user_dnd_sms] => 386
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u365
    [created_by] => u365
    [38] => 1
    [isScheduled] => 1
    [39] => 1760704336
    [create_date] => 1760704336
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760706006,"compaign_read_start_time":1760706007,"compaign_read_complete_time":1760706012,"compaign_send_start_time":1760706062,"compaign_send_complete_time":1760706064}
    [action_time] => {"api_allot_time":1760706006,"compaign_read_start_time":1760706007,"compaign_read_complete_time":1760706012,"compaign_send_start_time":1760706062,"compaign_send_complete_time":1760706064}
    [50] => 0
    [compaign_file] => 0
    [51] => u365_66538_17102025_063005PM_674
    [common_name] => u365_66538_17102025_063005PM_674
    [52] => 1760703786_u365_voice.wav
    [voice_file] => 1760703786_u365_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_58127
    [temp_group_table] => contacts_temp_group_58127
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760706301
    [last_credit_update_time] => 1760706301
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 619
    [user_voice_plan_id] => 619
    [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,sr151,u365
    [uphierarchy] => admin,sr151,u365
    [113] => 
    [extra_params_json] => 
)


Compaign : 66538
\compaign_type : Rans per 29.18013 
ans sms 1329
dnd sms 386

require answer perrequire answer per : 276

user answer per : 127
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_66538 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 112 UPDATE voice_compaign_detail_66538 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 112 Total Failed : 266 no_answer_count : 89 Busy count :69 congestion_count : 32 failed_count : 76UPDATE voice_compaign_detail_66538 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 89 UPDATE voice_compaign_detail_66538 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 69 UPDATE voice_compaign_detail_66538 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 32 UPDATE voice_compaign_detail_66538 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`='276', `user_busy_sms`='209', `user_congestion_sms`='32', `user_failed_sms`='181', `user_hangup_sms`='0', `user_no_answer_sms`='245', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='386' WHERE `compaign_id`=66538 LIMIT 1 


Time Diff : 0.153

Array
(
    [0] => 66540
    [compaign_id] => 66540
    [1] => u632
    [user_id] => u632
    [2] => 58128,
    [group_ids] => 58128,
    [3] => 
    [sender_id] => 
    [4] => TPS digital solution Diwali Dhanteras promotion 1.mp3
    [filename] => TPS digital solution Diwali Dhanteras promotion 1.mp3
    [5] => 89
    [duration] => 89
    [6] => 3
    [credits_per_sms] => 3
    [7] => 30
    [user_pulse] => 30
    [8] => 1760706000
    [start_date] => 1760706000
    [9] => 0
    [end_date] => 0
    [10] => 381
    [total_sms] => 381
    [11] => 381
    [sent_sms] => 381
    [12] => 0
    [duplicate_sms] => 0
    [13] => 3
    [answered_sms] => 3
    [14] => 7
    [busy_sms] => 7
    [15] => 0
    [congestion_sms] => 0
    [16] => 228
    [failed_sms] => 228
    [17] => 0
    [hangup_sms] => 0
    [18] => 5
    [no_answer_sms] => 5
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 138
    [cutting_sms] => 138
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 3
    [user_answered_sms] => 3
    [27] => 7
    [user_busy_sms] => 7
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 228
    [user_failed_sms] => 228
    [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] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u632
    [created_by] => u632
    [38] => 1
    [isScheduled] => 1
    [39] => 1760704623
    [create_date] => 1760704623
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760706007,"compaign_read_start_time":1760706010,"compaign_read_complete_time":1760706011,"compaign_send_start_time":1760706062,"compaign_send_complete_time":1760706063}
    [action_time] => {"api_allot_time":1760706007,"compaign_read_start_time":1760706010,"compaign_read_complete_time":1760706011,"compaign_send_start_time":1760706062,"compaign_send_complete_time":1760706063}
    [50] => 0
    [compaign_file] => 0
    [51] => u632_66540_17102025_063005PM_243
    [common_name] => u632_66540_17102025_063005PM_243
    [52] => 1760693920_u632_voice.wav
    [voice_file] => 1760693920_u632_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_58128
    [temp_group_table] => contacts_temp_group_58128
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => 1
    [extension_key] => 1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760706301
    [last_credit_update_time] => 1760706301
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1045
    [user_voice_plan_id] => 1045
    [85] => 11
    [voice_plan_id] => 11
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.15
    [pulse_rate] => 0.15
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 14
    [dtmf_wait_time] => 14
    [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":"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,sr27,sr126,u632
    [uphierarchy] => admin,sr27,sr126,u632
    [113] => 
    [extra_params_json] => 
)


Compaign : 66540
\compaign_type : Rans per 26.4265 
ans sms 381
dnd sms 0

require answer perrequire answer per : 101

user answer per : 3
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_66540 SET user_report='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_66540 SET user_report='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 : 77 no_answer_count : 26 Busy count :20 congestion_count : 10 failed_count : 21UPDATE voice_compaign_detail_66540 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 26 UPDATE voice_compaign_detail_66540 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 20 UPDATE voice_compaign_detail_66540 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 10 UPDATE voice_compaign_detail_66540 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`='15', `user_busy_sms`='91', `user_congestion_sms`='10', `user_failed_sms`='168', `user_hangup_sms`='0', `user_no_answer_sms`='97', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66540 LIMIT 1 


Time Diff : 0.528

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


Compaign : 66543
\compaign_type : Rans per 30.07202 
ans sms 247
dnd sms 171

require answer perrequire answer per : 23

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


Time Diff : 0.907

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


Compaign : 66242
\compaign_type : ATans per 29.02625 
ans sms 25914
dnd sms 0

require answer perrequire answer per : 7522

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='185', `user_busy_sms`='7925', `user_congestion_sms`='0', `user_failed_sms`='16284', `user_hangup_sms`='0', `user_no_answer_sms`='1520', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


Time Diff : 1.203

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760447522'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760447582'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760447641'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760447702'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760447762'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760447821'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760447881'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760447941'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760448001'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760448062'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760448121'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760448181'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760448241'  
Array
(
    [0] => 66545
    [compaign_id] => 66545
    [1] => u22470
    [user_id] => u22470
    [2] => 58133,
    [group_ids] => 58133,
    [3] => 
    [sender_id] => 
    [4] => MANOJ JEWALERS_KENDRAPADA_DHANTERASA25.mp3
    [filename] => MANOJ JEWALERS_KENDRAPADA_DHANTERASA25.mp3
    [5] => 29
    [duration] => 29
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760707155
    [start_date] => 1760707155
    [9] => 0
    [end_date] => 0
    [10] => 1303
    [total_sms] => 1303
    [11] => 1303
    [sent_sms] => 1303
    [12] => 0
    [duplicate_sms] => 0
    [13] => 182
    [answered_sms] => 182
    [14] => 94
    [busy_sms] => 94
    [15] => 0
    [congestion_sms] => 0
    [16] => 213
    [failed_sms] => 213
    [17] => 0
    [hangup_sms] => 0
    [18] => 201
    [no_answer_sms] => 201
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 613
    [cutting_sms] => 613
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 182
    [user_answered_sms] => 182
    [27] => 94
    [user_busy_sms] => 94
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 213
    [user_failed_sms] => 213
    [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] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u22470
    [created_by] => u22470
    [38] => 0
    [isScheduled] => 0
    [39] => 1760707153
    [create_date] => 1760707153
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760707163,"compaign_read_start_time":1760707165,"compaign_read_complete_time":1760707167,"compaign_send_start_time":1760707202,"compaign_send_complete_time":1760707214}
    [action_time] => {"api_allot_time":1760707163,"compaign_read_start_time":1760707165,"compaign_read_complete_time":1760707167,"compaign_send_start_time":1760707202,"compaign_send_complete_time":1760707214}
    [50] => 0
    [compaign_file] => 0
    [51] => u22470_66545_17102025_064922PM_834
    [common_name] => u22470_66545_17102025_064922PM_834
    [52] => 1760683008_u22470_voice.wav
    [voice_file] => 1760683008_u22470_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_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_58133
    [temp_group_table] => contacts_temp_group_58133
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760707382
    [last_credit_update_time] => 1760707382
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1723
    [user_voice_plan_id] => 1723
    [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,sr27,sr87,u22470
    [uphierarchy] => admin,sr27,sr87,u22470
    [113] => 
    [extra_params_json] => 
)


Compaign : 66545
\compaign_type : Rans per 26.14455 
ans sms 1303
dnd sms 0

require answer perrequire answer per : 341

user answer per : 182
below is the redis data 159 UPDATE voice_compaign_detail_66545 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 159 Total Failed : 454 no_answer_count : 152 Busy count :117 congestion_count : 54 failed_count : 131UPDATE voice_compaign_detail_66545 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 152 UPDATE voice_compaign_detail_66545 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 117 UPDATE voice_compaign_detail_66545 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 54 UPDATE voice_compaign_detail_66545 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`='341', `user_busy_sms`='211', `user_congestion_sms`='54', `user_failed_sms`='344', `user_hangup_sms`='0', `user_no_answer_sms`='353', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66545 LIMIT 1 


Time Diff : 0.156

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


Compaign : 66242
\compaign_type : ATans per 26.91154 
ans sms 26644
dnd sms 0

require answer perrequire answer per : 7171

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='194', `user_busy_sms`='8176', `user_congestion_sms`='0', `user_failed_sms`='16715', `user_hangup_sms`='0', `user_no_answer_sms`='1559', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


Time Diff : 1.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>'1760448481'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760448541'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760448601'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760448666'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760448721'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760448781'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760448842'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760448901'  
Array
(
    [0] => 66544
    [compaign_id] => 66544
    [1] => u365
    [user_id] => u365
    [2] => 58132,
    [group_ids] => 58132,
    [3] => 
    [sender_id] => 
    [4] => Nagercoil 1710.mp3
    [filename] => Nagercoil 1710.mp3
    [5] => 18
    [duration] => 18
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760707800
    [start_date] => 1760707800
    [9] => 0
    [end_date] => 0
    [10] => 1053
    [total_sms] => 1053
    [11] => 1053
    [sent_sms] => 1053
    [12] => 0
    [duplicate_sms] => 0
    [13] => 76
    [answered_sms] => 76
    [14] => 64
    [busy_sms] => 64
    [15] => 0
    [congestion_sms] => 0
    [16] => 144
    [failed_sms] => 144
    [17] => 0
    [hangup_sms] => 0
    [18] => 71
    [no_answer_sms] => 71
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 312
    [cutting_sms] => 312
    [22] => 386
    [dnd_sms] => 386
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 76
    [user_answered_sms] => 76
    [27] => 64
    [user_busy_sms] => 64
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 144
    [user_failed_sms] => 144
    [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] => 386
    [user_dnd_sms] => 386
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u365
    [created_by] => u365
    [38] => 1
    [isScheduled] => 1
    [39] => 1760706435
    [create_date] => 1760706435
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760707807,"compaign_read_start_time":1760707807,"compaign_read_complete_time":1760707812,"compaign_send_start_time":1760707866,"compaign_send_complete_time":1760707868}
    [action_time] => {"api_allot_time":1760707807,"compaign_read_start_time":1760707807,"compaign_read_complete_time":1760707812,"compaign_send_start_time":1760707866,"compaign_send_complete_time":1760707868}
    [50] => 0
    [compaign_file] => 0
    [51] => u365_66544_17102025_070006PM_297
    [common_name] => u365_66544_17102025_070006PM_297
    [52] => 1760703786_u365_voice.wav
    [voice_file] => 1760703786_u365_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_58132
    [temp_group_table] => contacts_temp_group_58132
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760708101
    [last_credit_update_time] => 1760708101
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 619
    [user_voice_plan_id] => 619
    [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,sr151,u365
    [uphierarchy] => admin,sr151,u365
    [113] => 
    [extra_params_json] => 
)


Compaign : 66544
\compaign_type : Rans per 30.58747 
ans sms 1053
dnd sms 386

require answer perrequire answer per : 205

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='205', `user_busy_sms`='149', `user_congestion_sms`='22', `user_failed_sms`='130', `user_hangup_sms`='0', `user_no_answer_sms`='161', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='386' WHERE `compaign_id`=66544 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>'1760448961'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760449022'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760449081'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760449141'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760449202'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760449261'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760449322'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760449381'  
Array
(
    [0] => 66546
    [compaign_id] => 66546
    [1] => u607
    [user_id] => u607
    [2] => 58134,
    [group_ids] => 58134,
    [3] => 
    [sender_id] => 
    [4] => yadav_v3.mp3
    [filename] => yadav_v3.mp3
    [5] => 55
    [duration] => 55
    [6] => 2
    [credits_per_sms] => 2
    [7] => 30
    [user_pulse] => 30
    [8] => 1760708253
    [start_date] => 1760708253
    [9] => 0
    [end_date] => 0
    [10] => 3808
    [total_sms] => 3808
    [11] => 3808
    [sent_sms] => 3808
    [12] => 0
    [duplicate_sms] => 0
    [13] => 123
    [answered_sms] => 123
    [14] => 102
    [busy_sms] => 102
    [15] => 0
    [congestion_sms] => 0
    [16] => 980
    [failed_sms] => 980
    [17] => 0
    [hangup_sms] => 0
    [18] => 156
    [no_answer_sms] => 156
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 1298
    [cutting_sms] => 1298
    [22] => 1149
    [dnd_sms] => 1149
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 123
    [user_answered_sms] => 123
    [27] => 102
    [user_busy_sms] => 102
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 980
    [user_failed_sms] => 980
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 156
    [user_no_answer_sms] => 156
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 1149
    [user_dnd_sms] => 1149
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u607
    [created_by] => u607
    [38] => 0
    [isScheduled] => 0
    [39] => 1760708253
    [create_date] => 1760708253
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760708259,"compaign_read_start_time":1760708261,"compaign_read_complete_time":1760708269,"compaign_send_start_time":1760708281,"compaign_send_complete_time":1760708289}
    [action_time] => {"api_allot_time":1760708259,"compaign_read_start_time":1760708261,"compaign_read_complete_time":1760708269,"compaign_send_start_time":1760708281,"compaign_send_complete_time":1760708289}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_66546_17102025_070738PM_435
    [common_name] => u607_66546_17102025_070738PM_435
    [52] => 1760700793_u607_voice.wav
    [voice_file] => 1760700793_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_58134
    [temp_group_table] => contacts_temp_group_58134
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760708522
    [last_credit_update_time] => 1760708522
    [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 : 66546
\compaign_type : Rans per 30.87068 
ans sms 3808
dnd sms 1149

require answer perrequire answer per : 821

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='381', `user_busy_sms`='708', `user_congestion_sms`='85', `user_failed_sms`='722', `user_hangup_sms`='0', `user_no_answer_sms`='763', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='1149' WHERE `compaign_id`=66546 LIMIT 1 


Time Diff : 0.069

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


Compaign : 66242
\compaign_type : ATans per 26.34068 
ans sms 27989
dnd sms 0

require answer perrequire answer per : 7373

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='211', `user_busy_sms`='8644', `user_congestion_sms`='0', `user_failed_sms`='17507', `user_hangup_sms`='0', `user_no_answer_sms`='1627', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


Time Diff : 1.209

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760450161'  
Array
(
    [0] => 66549
    [compaign_id] => 66549
    [1] => u188
    [user_id] => u188
    [2] => 58137,
    [group_ids] => 58137,
    [3] => 
    [sender_id] => 
    [4] => 2) Dr Himabindu Appeal 2025.mp3
    [filename] => 2) Dr Himabindu Appeal 2025.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760708779
    [start_date] => 1760708779
    [9] => 0
    [end_date] => 0
    [10] => 4259
    [total_sms] => 4259
    [11] => 4259
    [sent_sms] => 4259
    [12] => 0
    [duplicate_sms] => 0
    [13] => 415
    [answered_sms] => 415
    [14] => 258
    [busy_sms] => 258
    [15] => 0
    [congestion_sms] => 0
    [16] => 974
    [failed_sms] => 974
    [17] => 0
    [hangup_sms] => 0
    [18] => 407
    [no_answer_sms] => 407
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2205
    [cutting_sms] => 2205
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 415
    [user_answered_sms] => 415
    [27] => 258
    [user_busy_sms] => 258
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 974
    [user_failed_sms] => 974
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 407
    [user_no_answer_sms] => 407
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u188
    [created_by] => u188
    [38] => 0
    [isScheduled] => 0
    [39] => 1760708776
    [create_date] => 1760708776
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760708786,"compaign_read_start_time":1760708788,"compaign_read_complete_time":1760708793,"compaign_send_start_time":1760708821,"compaign_send_complete_time":1760708828}
    [action_time] => {"api_allot_time":1760708786,"compaign_read_start_time":1760708788,"compaign_read_complete_time":1760708793,"compaign_send_start_time":1760708821,"compaign_send_complete_time":1760708828}
    [50] => 0
    [compaign_file] => 0
    [51] => u188_66549_17102025_071625PM_907
    [common_name] => u188_66549_17102025_071625PM_907
    [52] => 1760708599_u188_voice.wav
    [voice_file] => 1760708599_u188_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_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_58137
    [temp_group_table] => contacts_temp_group_58137
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => 1760709302
    [last_credit_update_time] => 1760709302
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 360
    [user_voice_plan_id] => 360
    [85] => 11
    [voice_plan_id] => 11
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.16
    [pulse_rate] => 0.16
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [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,u188
    [uphierarchy] => admin,sr27,u188
    [113] => 
    [extra_params_json] => 
)


Compaign : 66549
\compaign_type : Rans per 26.32054 
ans sms 4259
dnd sms 0

require answer perrequire answer per : 1121

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='1080', `user_busy_sms`='892', `user_congestion_sms`='181', `user_failed_sms`='1097', `user_hangup_sms`='0', `user_no_answer_sms`='1009', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66549 LIMIT 1 


Time Diff : 0.118

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760450221'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760450281'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760450341'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760450401'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760450461'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760450521'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760450581'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760450642'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760450701'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760450761'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760450822'  
Array
(
    [0] => 66552
    [compaign_id] => 66552
    [1] => u188
    [user_id] => u188
    [2] => 58140,
    [group_ids] => 58140,
    [3] => 
    [sender_id] => 
    [4] => 2) Dr Himabindu Appeal 2025.mp3
    [filename] => 2) Dr Himabindu Appeal 2025.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760709404
    [start_date] => 1760709404
    [9] => 0
    [end_date] => 0
    [10] => 5598
    [total_sms] => 5598
    [11] => 5598
    [sent_sms] => 5598
    [12] => 0
    [duplicate_sms] => 0
    [13] => 389
    [answered_sms] => 389
    [14] => 315
    [busy_sms] => 315
    [15] => 0
    [congestion_sms] => 0
    [16] => 1461
    [failed_sms] => 1461
    [17] => 0
    [hangup_sms] => 0
    [18] => 572
    [no_answer_sms] => 572
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2861
    [cutting_sms] => 2861
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 389
    [user_answered_sms] => 389
    [27] => 315
    [user_busy_sms] => 315
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1461
    [user_failed_sms] => 1461
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 572
    [user_no_answer_sms] => 572
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u188
    [created_by] => u188
    [38] => 0
    [isScheduled] => 0
    [39] => 1760709401
    [create_date] => 1760709401
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760709410,"compaign_read_start_time":1760709421,"compaign_read_complete_time":1760709429,"compaign_send_start_time":1760709482,"compaign_send_complete_time":1760709501}
    [action_time] => {"api_allot_time":1760709410,"compaign_read_start_time":1760709421,"compaign_read_complete_time":1760709429,"compaign_send_start_time":1760709482,"compaign_send_complete_time":1760709501}
    [50] => 0
    [compaign_file] => 0
    [51] => u188_66552_17102025_072649PM_170
    [common_name] => u188_66552_17102025_072649PM_170
    [52] => 1760708599_u188_voice.wav
    [voice_file] => 1760708599_u188_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_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_58140
    [temp_group_table] => contacts_temp_group_58140
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => 1760709961
    [last_credit_update_time] => 1760709961
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 360
    [user_voice_plan_id] => 360
    [85] => 11
    [voice_plan_id] => 11
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.16
    [pulse_rate] => 0.16
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [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,u188
    [uphierarchy] => admin,sr27,u188
    [113] => 
    [extra_params_json] => 
)


Compaign : 66552
\compaign_type : Rans per 25.04922 
ans sms 5598
dnd sms 0

require answer perrequire answer per : 1403

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='1276', `user_busy_sms`='1236', `user_congestion_sms`='220', `user_failed_sms`='1488', `user_hangup_sms`='0', `user_no_answer_sms`='1378', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66552 LIMIT 1 


Time Diff : 0.09

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760450881'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760450946'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760451001'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760451061'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760451122'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760451182'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760451241'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760451302'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760451362'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760451421'  
Array
(
    [0] => 66557
    [compaign_id] => 66557
    [1] => u188
    [user_id] => u188
    [2] => 58145,
    [group_ids] => 58145,
    [3] => 
    [sender_id] => 
    [4] => 2) Dr Himabindu Appeal 2025.mp3
    [filename] => 2) Dr Himabindu Appeal 2025.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760710061
    [start_date] => 1760710061
    [9] => 0
    [end_date] => 0
    [10] => 3875
    [total_sms] => 3875
    [11] => 3875
    [sent_sms] => 3875
    [12] => 0
    [duplicate_sms] => 0
    [13] => 311
    [answered_sms] => 311
    [14] => 228
    [busy_sms] => 228
    [15] => 0
    [congestion_sms] => 0
    [16] => 991
    [failed_sms] => 991
    [17] => 0
    [hangup_sms] => 0
    [18] => 381
    [no_answer_sms] => 381
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 1964
    [cutting_sms] => 1964
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 311
    [user_answered_sms] => 311
    [27] => 228
    [user_busy_sms] => 228
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 991
    [user_failed_sms] => 991
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 381
    [user_no_answer_sms] => 381
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u188
    [created_by] => u188
    [38] => 0
    [isScheduled] => 0
    [39] => 1760710059
    [create_date] => 1760710059
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760710067,"compaign_read_start_time":1760710070,"compaign_read_complete_time":1760710075,"compaign_send_start_time":1760710081,"compaign_send_complete_time":1760710090}
    [action_time] => {"api_allot_time":1760710067,"compaign_read_start_time":1760710070,"compaign_read_complete_time":1760710075,"compaign_send_start_time":1760710081,"compaign_send_complete_time":1760710090}
    [50] => 0
    [compaign_file] => 0
    [51] => u188_66557_17102025_073746PM_603
    [common_name] => u188_66557_17102025_073746PM_603
    [52] => 1760708599_u188_voice.wav
    [voice_file] => 1760708599_u188_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_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_58145
    [temp_group_table] => contacts_temp_group_58145
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => 1760710562
    [last_credit_update_time] => 1760710562
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 360
    [user_voice_plan_id] => 360
    [85] => 11
    [voice_plan_id] => 11
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.16
    [pulse_rate] => 0.16
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [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,u188
    [uphierarchy] => admin,sr27,u188
    [113] => 
    [extra_params_json] => 
)


Compaign : 66557
\compaign_type : Rans per 28.5209 
ans sms 3875
dnd sms 0

require answer perrequire answer per : 1106

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='920', `user_busy_sms`='907', `user_congestion_sms`='136', `user_failed_sms`='918', `user_hangup_sms`='0', `user_no_answer_sms`='994', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66557 LIMIT 1 


Time Diff : 0.135

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


Compaign : 66242
\compaign_type : ATans per 26.83578 
ans sms 29458
dnd sms 0

require answer perrequire answer per : 7906

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='226', `user_busy_sms`='9133', `user_congestion_sms`='0', `user_failed_sms`='18408', `user_hangup_sms`='0', `user_no_answer_sms`='1691', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


Time Diff : 1.211

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760452021'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760452081'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760452141'  
Array
(
    [0] => 66558
    [compaign_id] => 66558
    [1] => u6427
    [user_id] => u6427
    [2] => 58146,
    [group_ids] => 58146,
    [3] => 
    [sender_id] => 
    [4] => diwali 2v.mp3
    [filename] => diwali 2v.mp3
    [5] => 21
    [duration] => 21
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760710588
    [start_date] => 1760710588
    [9] => 0
    [end_date] => 0
    [10] => 7698
    [total_sms] => 7698
    [11] => 7698
    [sent_sms] => 7698
    [12] => 0
    [duplicate_sms] => 0
    [13] => 893
    [answered_sms] => 893
    [14] => 728
    [busy_sms] => 728
    [15] => 0
    [congestion_sms] => 0
    [16] => 1212
    [failed_sms] => 1212
    [17] => 0
    [hangup_sms] => 0
    [18] => 764
    [no_answer_sms] => 764
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 4101
    [cutting_sms] => 4101
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 893
    [user_answered_sms] => 893
    [27] => 728
    [user_busy_sms] => 728
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1212
    [user_failed_sms] => 1212
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 764
    [user_no_answer_sms] => 764
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u6427
    [created_by] => u6427
    [38] => 0
    [isScheduled] => 0
    [39] => 1760710584
    [create_date] => 1760710584
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760710595,"compaign_read_start_time":1760710598,"compaign_read_complete_time":1760710607,"compaign_send_start_time":1760710622,"compaign_send_complete_time":1760710644}
    [action_time] => {"api_allot_time":1760710595,"compaign_read_start_time":1760710598,"compaign_read_complete_time":1760710607,"compaign_send_start_time":1760710622,"compaign_send_complete_time":1760710644}
    [50] => 0
    [compaign_file] => 0
    [51] => u6427_66558_17102025_074634PM_473
    [common_name] => u6427_66558_17102025_074634PM_473
    [52] => 1760173849_u6427_voice_upload.wav
    [voice_file] => 1760173849_u6427_voice_upload.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_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_58146
    [temp_group_table] => contacts_temp_group_58146
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => 1
    [reschedule_max] => 1
    [71] => D,FNA,FBZ,FCG,FFL,FHG,FTD,FTR,N,
    [reschedule_types] => D,FNA,FBZ,FCG,FFL,FHG,FTD,FTR,N,
    [72] => 1
    [reschedule_remaining] => 1
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 1760711102
    [reschedule_last_check_time] => 1760711102
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760711281
    [last_credit_update_time] => 1760711281
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1534
    [user_voice_plan_id] => 1534
    [85] => 11
    [voice_plan_id] => 11
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.12
    [pulse_rate] => 0.12
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [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":1760759100}
    [rt_time] => {"1":1760759100}
    [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,u6427
    [uphierarchy] => admin,u6427
    [113] => 
    [extra_params_json] => 
)


Compaign : 66558
\compaign_type : Rans per 28.10283 
ans sms 7698
dnd sms 0

require answer perrequire answer per : 2164

user answer per : 893
below is the redis data 1271 UPDATE voice_compaign_detail_66558 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1271 Total Failed : 2830 no_answer_count : 944 Busy count :727 congestion_count : 336 failed_count : 823UPDATE voice_compaign_detail_66558 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 944 UPDATE voice_compaign_detail_66558 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 727 UPDATE voice_compaign_detail_66558 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 336 UPDATE voice_compaign_detail_66558 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 823 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='2164', `user_busy_sms`='1455', `user_congestion_sms`='336', `user_failed_sms`='2035', `user_hangup_sms`='0', `user_no_answer_sms`='1708', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66558 LIMIT 1 


Time Diff : 0.089

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


Compaign : 66242
\compaign_type : ATans per 28.02932 
ans sms 29892
dnd sms 0

require answer perrequire answer per : 8379

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='232', `user_busy_sms`='9262', `user_congestion_sms`='0', `user_failed_sms`='18688', `user_hangup_sms`='0', `user_no_answer_sms`='1710', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


Time Diff : 1.218

Array
(
    [0] => 66560
    [compaign_id] => 66560
    [1] => u6427
    [user_id] => u6427
    [2] => 58148,
    [group_ids] => 58148,
    [3] => 
    [sender_id] => 
    [4] => diwali 2v.mp3
    [filename] => diwali 2v.mp3
    [5] => 21
    [duration] => 21
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760710701
    [start_date] => 1760710701
    [9] => 0
    [end_date] => 0
    [10] => 12216
    [total_sms] => 12216
    [11] => 12216
    [sent_sms] => 12216
    [12] => 0
    [duplicate_sms] => 0
    [13] => 1033
    [answered_sms] => 1033
    [14] => 1099
    [busy_sms] => 1099
    [15] => 0
    [congestion_sms] => 0
    [16] => 3055
    [failed_sms] => 3055
    [17] => 0
    [hangup_sms] => 0
    [18] => 847
    [no_answer_sms] => 847
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 6182
    [cutting_sms] => 6182
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 1033
    [user_answered_sms] => 1033
    [27] => 1099
    [user_busy_sms] => 1099
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 3055
    [user_failed_sms] => 3055
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 847
    [user_no_answer_sms] => 847
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u6427
    [created_by] => u6427
    [38] => 0
    [isScheduled] => 0
    [39] => 1760710695
    [create_date] => 1760710695
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760710707,"compaign_read_start_time":1760710709,"compaign_read_complete_time":1760710724,"compaign_send_start_time":1760710741,"compaign_send_complete_time":1760710806}
    [action_time] => {"api_allot_time":1760710707,"compaign_read_start_time":1760710709,"compaign_read_complete_time":1760710724,"compaign_send_start_time":1760710741,"compaign_send_complete_time":1760710806}
    [50] => 0
    [compaign_file] => 0
    [51] => u6427_66560_17102025_074826PM_810
    [common_name] => u6427_66560_17102025_074826PM_810
    [52] => 1760173849_u6427_voice_upload.wav
    [voice_file] => 1760173849_u6427_voice_upload.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_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_58148
    [temp_group_table] => contacts_temp_group_58148
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 6
    [credit_seq] => 6
    [70] => 1
    [reschedule_max] => 1
    [71] => D,FNA,FBZ,FCG,FFL,FHG,FTD,FTR,N,
    [reschedule_types] => D,FNA,FBZ,FCG,FFL,FHG,FTD,FTR,N,
    [72] => 1
    [reschedule_remaining] => 1
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 1760711102
    [reschedule_last_check_time] => 1760711102
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760711821
    [last_credit_update_time] => 1760711821
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1534
    [user_voice_plan_id] => 1534
    [85] => 11
    [voice_plan_id] => 11
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.12
    [pulse_rate] => 0.12
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [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":1760759100}
    [rt_time] => {"1":1760759100}
    [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,u6427
    [uphierarchy] => admin,u6427
    [113] => 
    [extra_params_json] => 
)


Compaign : 66560
\compaign_type : Rans per 25.81823 
ans sms 12216
dnd sms 0

require answer perrequire answer per : 3154

user answer per : 1033
below is the redis data 2121 UPDATE voice_compaign_detail_66560 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 2121 Total Failed : 4061 no_answer_count : 1354 Busy count :1043 congestion_count : 483 failed_count : 1181UPDATE voice_compaign_detail_66560 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 1354 UPDATE voice_compaign_detail_66560 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 1043 UPDATE voice_compaign_detail_66560 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 483 UPDATE voice_compaign_detail_66560 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 1181 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='3154', `user_busy_sms`='2142', `user_congestion_sms`='483', `user_failed_sms`='4236', `user_hangup_sms`='0', `user_no_answer_sms`='2201', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66560 LIMIT 1 


Time Diff : 0.068

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760452742'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760452801'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760452861'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760452922'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760452981'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760453041'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760453102'  
Array
(
    [0] => 66561
    [compaign_id] => 66561
    [1] => u6427
    [user_id] => u6427
    [2] => 58149,
    [group_ids] => 58149,
    [3] => 
    [sender_id] => 
    [4] => diwali 2v.mp3
    [filename] => diwali 2v.mp3
    [5] => 21
    [duration] => 21
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760710756
    [start_date] => 1760710756
    [9] => 0
    [end_date] => 0
    [10] => 10254
    [total_sms] => 10254
    [11] => 10254
    [sent_sms] => 10254
    [12] => 0
    [duplicate_sms] => 0
    [13] => 955
    [answered_sms] => 955
    [14] => 955
    [busy_sms] => 955
    [15] => 0
    [congestion_sms] => 0
    [16] => 2591
    [failed_sms] => 2591
    [17] => 0
    [hangup_sms] => 0
    [18] => 781
    [no_answer_sms] => 781
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 4972
    [cutting_sms] => 4972
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 955
    [user_answered_sms] => 955
    [27] => 955
    [user_busy_sms] => 955
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 2591
    [user_failed_sms] => 2591
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 781
    [user_no_answer_sms] => 781
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u6427
    [created_by] => u6427
    [38] => 0
    [isScheduled] => 0
    [39] => 1760710752
    [create_date] => 1760710752
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760710762,"compaign_read_start_time":1760710765,"compaign_read_complete_time":1760710779,"compaign_send_start_time":1760710802,"compaign_send_complete_time":1760710864}
    [action_time] => {"api_allot_time":1760710762,"compaign_read_start_time":1760710765,"compaign_read_complete_time":1760710779,"compaign_send_start_time":1760710802,"compaign_send_complete_time":1760710864}
    [50] => 0
    [compaign_file] => 0
    [51] => u6427_66561_17102025_074921PM_137
    [common_name] => u6427_66561_17102025_074921PM_137
    [52] => 1760173849_u6427_voice_upload.wav
    [voice_file] => 1760173849_u6427_voice_upload.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_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_58149
    [temp_group_table] => contacts_temp_group_58149
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 7
    [credit_seq] => 7
    [70] => 1
    [reschedule_max] => 1
    [71] => D,FNA,FBZ,FCG,FFL,FHG,FTD,FTR,N,
    [reschedule_types] => D,FNA,FBZ,FCG,FFL,FHG,FTD,FTR,N,
    [72] => 1
    [reschedule_remaining] => 1
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 1760711102
    [reschedule_last_check_time] => 1760711102
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760712241
    [last_credit_update_time] => 1760712241
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1534
    [user_voice_plan_id] => 1534
    [85] => 11
    [voice_plan_id] => 11
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.12
    [pulse_rate] => 0.12
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [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":1760759100}
    [rt_time] => {"1":1760759100}
    [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,u6427
    [uphierarchy] => admin,u6427
    [113] => 
    [extra_params_json] => 
)


Compaign : 66561
\compaign_type : Rans per 26.89043 
ans sms 10254
dnd sms 0

require answer perrequire answer per : 2758

user answer per : 955
below is the redis data 1803 UPDATE voice_compaign_detail_66561 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1803 Total Failed : 3169 no_answer_count : 1057 Busy count :814 congestion_count : 377 failed_count : 921UPDATE voice_compaign_detail_66561 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 1057 UPDATE voice_compaign_detail_66561 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 814 UPDATE voice_compaign_detail_66561 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 377 UPDATE voice_compaign_detail_66561 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 921 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='2758', `user_busy_sms`='1769', `user_congestion_sms`='377', `user_failed_sms`='3512', `user_hangup_sms`='0', `user_no_answer_sms`='1838', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66561 LIMIT 1 


Time Diff : 0.075

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


Compaign : 66242
\compaign_type : ATans per 26.13766 
ans sms 30614
dnd sms 0

require answer perrequire answer per : 8002

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='234', `user_busy_sms`='9512', `user_congestion_sms`='0', `user_failed_sms`='19124', `user_hangup_sms`='0', `user_no_answer_sms`='1744', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


Time Diff : 1.221

Array
(
    [0] => 66562
    [compaign_id] => 66562
    [1] => u6427
    [user_id] => u6427
    [2] => 58150,
    [group_ids] => 58150,
    [3] => 
    [sender_id] => 
    [4] => diwali 2v.mp3
    [filename] => diwali 2v.mp3
    [5] => 21
    [duration] => 21
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760710852
    [start_date] => 1760710852
    [9] => 0
    [end_date] => 0
    [10] => 10117
    [total_sms] => 10117
    [11] => 10117
    [sent_sms] => 10117
    [12] => 0
    [duplicate_sms] => 0
    [13] => 950
    [answered_sms] => 950
    [14] => 1003
    [busy_sms] => 1003
    [15] => 0
    [congestion_sms] => 0
    [16] => 2464
    [failed_sms] => 2464
    [17] => 0
    [hangup_sms] => 0
    [18] => 790
    [no_answer_sms] => 790
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 4910
    [cutting_sms] => 4910
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 950
    [user_answered_sms] => 950
    [27] => 1003
    [user_busy_sms] => 1003
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 2464
    [user_failed_sms] => 2464
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 790
    [user_no_answer_sms] => 790
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u6427
    [created_by] => u6427
    [38] => 0
    [isScheduled] => 0
    [39] => 1760710847
    [create_date] => 1760710847
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760710863,"compaign_read_start_time":1760710865,"compaign_read_complete_time":1760710880,"compaign_send_start_time":1760710921,"compaign_send_complete_time":1760710991}
    [action_time] => {"api_allot_time":1760710863,"compaign_read_start_time":1760710865,"compaign_read_complete_time":1760710880,"compaign_send_start_time":1760710921,"compaign_send_complete_time":1760710991}
    [50] => 0
    [compaign_file] => 0
    [51] => u6427_66562_17102025_075102PM_276
    [common_name] => u6427_66562_17102025_075102PM_276
    [52] => 1760173849_u6427_voice_upload.wav
    [voice_file] => 1760173849_u6427_voice_upload.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_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_58150
    [temp_group_table] => contacts_temp_group_58150
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 9
    [credit_seq] => 9
    [70] => 1
    [reschedule_max] => 1
    [71] => D,FNA,FBZ,FCG,FFL,FHG,FTD,FTR,N,
    [reschedule_types] => D,FNA,FBZ,FCG,FFL,FHG,FTD,FTR,N,
    [72] => 1
    [reschedule_remaining] => 1
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 1760711102
    [reschedule_last_check_time] => 1760711102
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760712781
    [last_credit_update_time] => 1760712781
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1534
    [user_voice_plan_id] => 1534
    [85] => 11
    [voice_plan_id] => 11
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.12
    [pulse_rate] => 0.12
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [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":1760760000}
    [rt_time] => {"1":1760760000}
    [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,u6427
    [uphierarchy] => admin,u6427
    [113] => 
    [extra_params_json] => 
)


Compaign : 66562
\compaign_type : Rans per 28.29428 
ans sms 10117
dnd sms 0

require answer perrequire answer per : 2863

user answer per : 950
below is the redis data 1913 UPDATE voice_compaign_detail_66562 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1913 Total Failed : 2997 no_answer_count : 1000 Busy count :770 congestion_count : 356 failed_count : 871UPDATE voice_compaign_detail_66562 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 1000 UPDATE voice_compaign_detail_66562 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 770 UPDATE voice_compaign_detail_66562 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 356 UPDATE voice_compaign_detail_66562 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 871 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='2863', `user_busy_sms`='1773', `user_congestion_sms`='356', `user_failed_sms`='3335', `user_hangup_sms`='0', `user_no_answer_sms`='1790', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66562 LIMIT 1 


Time Diff : 0.07

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760453702'  
Array
(
    [0] => 66563
    [compaign_id] => 66563
    [1] => u230
    [user_id] => u230
    [2] => 58151,
    [group_ids] => 58151,
    [3] => 
    [sender_id] => 
    [4] => BASUDEV_NIMAPADA_DHANTERASA2025NEW.mp3
    [filename] => BASUDEV_NIMAPADA_DHANTERASA2025NEW.mp3
    [5] => 28
    [duration] => 28
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760711412
    [start_date] => 1760711412
    [9] => 0
    [end_date] => 0
    [10] => 2882
    [total_sms] => 2882
    [11] => 2882
    [sent_sms] => 2882
    [12] => 0
    [duplicate_sms] => 0
    [13] => 400
    [answered_sms] => 400
    [14] => 200
    [busy_sms] => 200
    [15] => 0
    [congestion_sms] => 0
    [16] => 402
    [failed_sms] => 402
    [17] => 0
    [hangup_sms] => 0
    [18] => 548
    [no_answer_sms] => 548
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 1332
    [cutting_sms] => 1332
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 400
    [user_answered_sms] => 400
    [27] => 200
    [user_busy_sms] => 200
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 402
    [user_failed_sms] => 402
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 548
    [user_no_answer_sms] => 548
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u230
    [created_by] => u230
    [38] => 0
    [isScheduled] => 0
    [39] => 1760711411
    [create_date] => 1760711411
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760711418,"compaign_read_start_time":1760711419,"compaign_read_complete_time":1760711423,"compaign_send_start_time":1760711462,"compaign_send_complete_time":1760711467}
    [action_time] => {"api_allot_time":1760711418,"compaign_read_start_time":1760711419,"compaign_read_complete_time":1760711423,"compaign_send_start_time":1760711462,"compaign_send_complete_time":1760711467}
    [50] => 0
    [compaign_file] => 0
    [51] => u230_66563_17102025_080017PM_211
    [common_name] => u230_66563_17102025_080017PM_211
    [52] => 1760595930_u230_voice.wav
    [voice_file] => 1760595930_u230_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_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_58151
    [temp_group_table] => contacts_temp_group_58151
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 7
    [credit_seq] => 7
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760712841
    [last_credit_update_time] => 1760712841
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 422
    [user_voice_plan_id] => 422
    [85] => 11
    [voice_plan_id] => 11
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.32
    [pulse_rate] => 0.32
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [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,sr87,u230
    [uphierarchy] => admin,sr27,sr87,u230
    [113] => 
    [extra_params_json] => 
)


Compaign : 66563
\compaign_type : Rans per 30.51765 
ans sms 2882
dnd sms 0

require answer perrequire answer per : 880

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


 Blank User Record End

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


Compaign : 66242
\compaign_type : ATans per 30.79177 
ans sms 30951
dnd sms 0

require answer perrequire answer per : 9531

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='236', `user_busy_sms`='9633', `user_congestion_sms`='0', `user_failed_sms`='19324', `user_hangup_sms`='0', `user_no_answer_sms`='1758', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


Time Diff : 1.223

Array
(
    [0] => 66564
    [compaign_id] => 66564
    [1] => u188
    [user_id] => u188
    [2] => 58152,
    [group_ids] => 58152,
    [3] => 
    [sender_id] => 
    [4] => 1) Dr Himabindu (Presidential Speech).mp3(1)
    [filename] => 1) Dr Himabindu (Presidential Speech).mp3(1)
    [5] => 29
    [duration] => 29
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760712525
    [start_date] => 1760712525
    [9] => 0
    [end_date] => 0
    [10] => 5836
    [total_sms] => 5836
    [11] => 5836
    [sent_sms] => 5836
    [12] => 0
    [duplicate_sms] => 0
    [13] => 495
    [answered_sms] => 495
    [14] => 359
    [busy_sms] => 359
    [15] => 0
    [congestion_sms] => 0
    [16] => 1413
    [failed_sms] => 1413
    [17] => 0
    [hangup_sms] => 0
    [18] => 471
    [no_answer_sms] => 471
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 3098
    [cutting_sms] => 3098
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 495
    [user_answered_sms] => 495
    [27] => 359
    [user_busy_sms] => 359
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 1413
    [user_failed_sms] => 1413
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 471
    [user_no_answer_sms] => 471
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u188
    [created_by] => u188
    [38] => 0
    [isScheduled] => 0
    [39] => 1760712522
    [create_date] => 1760712522
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760712531,"compaign_read_start_time":1760712542,"compaign_read_complete_time":1760712550,"compaign_send_start_time":1760712602,"compaign_send_complete_time":1760712612}
    [action_time] => {"api_allot_time":1760712531,"compaign_read_start_time":1760712542,"compaign_read_complete_time":1760712550,"compaign_send_start_time":1760712602,"compaign_send_complete_time":1760712612}
    [50] => 0
    [compaign_file] => 0
    [51] => u188_66564_17102025_081850PM_545
    [common_name] => u188_66564_17102025_081850PM_545
    [52] => 1760693920_u188_voice.wav
    [voice_file] => 1760693920_u188_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_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_58152
    [temp_group_table] => contacts_temp_group_58152
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => 1760713322
    [last_credit_update_time] => 1760713322
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 360
    [user_voice_plan_id] => 360
    [85] => 11
    [voice_plan_id] => 11
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.16
    [pulse_rate] => 0.16
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [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,u188
    [uphierarchy] => admin,sr27,u188
    [113] => 
    [extra_params_json] => 
)


Compaign : 66564
\compaign_type : Rans per 29.05441 
ans sms 5836
dnd sms 0

require answer perrequire answer per : 1696

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='1325', `user_busy_sms`='1377', `user_congestion_sms`='226', `user_failed_sms`='1385', `user_hangup_sms`='0', `user_no_answer_sms`='1523', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66564 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>'1760454181'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760454241'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760454301'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760454361'  
Array
(
    [0] => 66565
    [compaign_id] => 66565
    [1] => u188
    [user_id] => u188
    [2] => 58153,
    [group_ids] => 58153,
    [3] => 
    [sender_id] => 
    [4] => 1) Dr Himabindu (Presidential Speech).mp3
    [filename] => 1) Dr Himabindu (Presidential Speech).mp3
    [5] => 29
    [duration] => 29
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760712581
    [start_date] => 1760712581
    [9] => 0
    [end_date] => 0
    [10] => 8050
    [total_sms] => 8050
    [11] => 8050
    [sent_sms] => 8050
    [12] => 0
    [duplicate_sms] => 0
    [13] => 658
    [answered_sms] => 658
    [14] => 504
    [busy_sms] => 504
    [15] => 0
    [congestion_sms] => 0
    [16] => 2118
    [failed_sms] => 2118
    [17] => 0
    [hangup_sms] => 0
    [18] => 718
    [no_answer_sms] => 718
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 4052
    [cutting_sms] => 4052
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 658
    [user_answered_sms] => 658
    [27] => 504
    [user_busy_sms] => 504
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 2118
    [user_failed_sms] => 2118
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 718
    [user_no_answer_sms] => 718
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u188
    [created_by] => u188
    [38] => 0
    [isScheduled] => 0
    [39] => 1760712577
    [create_date] => 1760712577
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760712587,"compaign_read_start_time":1760712590,"compaign_read_complete_time":1760712600,"compaign_send_start_time":1760712602,"compaign_send_complete_time":1760712616}
    [action_time] => {"api_allot_time":1760712587,"compaign_read_start_time":1760712590,"compaign_read_complete_time":1760712600,"compaign_send_start_time":1760712602,"compaign_send_complete_time":1760712616}
    [50] => 0
    [compaign_file] => 0
    [51] => u188_66565_17102025_081946PM_602
    [common_name] => u188_66565_17102025_081946PM_602
    [52] => 1760693789_u188_voice.wav
    [voice_file] => 1760693789_u188_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_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_58153
    [temp_group_table] => contacts_temp_group_58153
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 5
    [credit_seq] => 5
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760713561
    [last_credit_update_time] => 1760713561
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 360
    [user_voice_plan_id] => 360
    [85] => 11
    [voice_plan_id] => 11
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.16
    [pulse_rate] => 0.16
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [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,u188
    [uphierarchy] => admin,sr27,u188
    [113] => 
    [extra_params_json] => 
)


Compaign : 66565
\compaign_type : Rans per 27.475 
ans sms 8050
dnd sms 0

require answer perrequire answer per : 2212

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='1880', `user_busy_sms`='1826', `user_congestion_sms`='298', `user_failed_sms`='2027', `user_hangup_sms`='0', `user_no_answer_sms`='2019', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66565 LIMIT 1 


Time Diff : 0.098

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


Compaign : 66242
\compaign_type : ATans per 30.7035 
ans sms 32536
dnd sms 0

require answer perrequire answer per : 9990

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='20398', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


Time Diff : 1.228

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


Compaign : 66242
\compaign_type : ATans per 27.98553 
ans sms 34330
dnd sms 0

require answer perrequire answer per : 9608

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22192', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


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


Compaign : 66242
\compaign_type : ATans per 25.68545 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 9000

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22899', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


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


Compaign : 66242
\compaign_type : ATans per 28.66136 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 10043

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22899', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


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


Compaign : 66242
\compaign_type : ATans per 27.27625 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 9557

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22899', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


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


Compaign : 66242
\compaign_type : ATans per 27.92636 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 9785

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22899', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


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


Compaign : 66242
\compaign_type : ATans per 26.90752 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 9428

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22899', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


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


Compaign : 66242
\compaign_type : ATans per 29.24836 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 10248

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22899', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


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


Compaign : 66242
\compaign_type : ATans per 30.65725 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 10742

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22899', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


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


Compaign : 66242
\compaign_type : ATans per 25.11138 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 8799

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22899', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


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


Compaign : 66242
\compaign_type : ATans per 26.33949 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 9229

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22899', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


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


Compaign : 66242
\compaign_type : ATans per 27.27656 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 9557

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22899', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


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


Compaign : 66242
\compaign_type : ATans per 28.09824 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 9845

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22899', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


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


Compaign : 66242
\compaign_type : ATans per 28.3009 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 9916

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22899', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


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


Compaign : 66242
\compaign_type : ATans per 26.01035 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 9114

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22899', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


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


Compaign : 66242
\compaign_type : ATans per 29.04383 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 10177

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22899', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


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


Compaign : 66242
\compaign_type : ATans per 25.73291 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 9017

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22899', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


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


Compaign : 66242
\compaign_type : ATans per 25.84818 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 9057

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22899', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


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


Compaign : 66242
\compaign_type : ATans per 30.5384 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 10700

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22899', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


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


Compaign : 66242
\compaign_type : ATans per 25.92388 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 9083

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22899', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


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


Compaign : 66242
\compaign_type : ATans per 25.81388 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 9045

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22899', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


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


Compaign : 66242
\compaign_type : ATans per 27.01386 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 9465

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22899', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


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


Compaign : 66242
\compaign_type : ATans per 30.2877 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 10612

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22899', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


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


Compaign : 66242
\compaign_type : ATans per 25.05839 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 8780

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22899', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


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


Compaign : 66242
\compaign_type : ATans per 26.1048 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 9147

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22899', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


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


Compaign : 66242
\compaign_type : ATans per 29.40624 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 10304

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22899', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


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


Compaign : 66242
\compaign_type : ATans per 28.9273 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 10136

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22899', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


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


Compaign : 66242
\compaign_type : ATans per 26.11672 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 9151

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22899', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


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


Compaign : 66242
\compaign_type : ATans per 26.61043 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 9324

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22899', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


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


Compaign : 66242
\compaign_type : ATans per 25.60321 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 8971

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22899', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


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


Compaign : 66242
\compaign_type : ATans per 30.63933 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 10736

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22899', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


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


Compaign : 66242
\compaign_type : ATans per 30.14796 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 10563

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22899', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


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


Compaign : 66242
\compaign_type : ATans per 25.85999 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 9061

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22899', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


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


Compaign : 66242
\compaign_type : ATans per 27.23637 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 9543

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22899', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


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


Compaign : 66242
\compaign_type : ATans per 25.28781 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 8861

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22899', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


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


Compaign : 66242
\compaign_type : ATans per 28.63976 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 10035

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22899', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


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


Compaign : 66242
\compaign_type : ATans per 26.1523 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 9163

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22899', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


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


Compaign : 66242
\compaign_type : ATans per 28.98381 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 10156

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22899', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


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


Compaign : 66242
\compaign_type : ATans per 29.71854 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 10413

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22899', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


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


Compaign : 66242
\compaign_type : ATans per 29.90037 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 10477

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22899', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


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


Compaign : 66242
\compaign_type : ATans per 28.84871 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 10108

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22899', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


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


Compaign : 66242
\compaign_type : ATans per 27.66942 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 9695

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22899', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


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


Compaign : 66242
\compaign_type : ATans per 29.66999 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 10396

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22899', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


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


Compaign : 66242
\compaign_type : ATans per 29.48856 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 10332

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22899', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


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


Compaign : 66242
\compaign_type : ATans per 29.43814 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 10315

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22899', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


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


Compaign : 66242
\compaign_type : ATans per 29.5748 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 10363

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22899', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


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


Compaign : 66242
\compaign_type : ATans per 26.83732 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 9403

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22899', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


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


Compaign : 66242
\compaign_type : ATans per 27.33193 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 9577

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22899', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


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


Compaign : 66242
\compaign_type : ATans per 30.65208 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 10740

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22899', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


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


Compaign : 66242
\compaign_type : ATans per 25.9548 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 9094

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22899', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


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


Compaign : 66242
\compaign_type : ATans per 29.19879 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 10231

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22899', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


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


Compaign : 66242
\compaign_type : ATans per 26.80895 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 9394

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22899', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


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


Compaign : 66242
\compaign_type : ATans per 25.39571 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 8898

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22899', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


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


Compaign : 66242
\compaign_type : ATans per 26.89276 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 9423

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22899', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


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


Compaign : 66242
\compaign_type : ATans per 30.88514 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 10822

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22899', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


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


Compaign : 66242
\compaign_type : ATans per 30.77776 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 10784

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22899', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


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


Compaign : 66242
\compaign_type : ATans per 26.65187 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 9339

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22899', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


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


Compaign : 66242
\compaign_type : ATans per 25.39167 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 8897

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22899', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


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


Compaign : 66242
\compaign_type : ATans per 26.43888 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 9264

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22899', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


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


Compaign : 66242
\compaign_type : ATans per 28.12076 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 9853

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22899', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


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


Compaign : 66242
\compaign_type : ATans per 25.52926 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 8945

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22899', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


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


Compaign : 66242
\compaign_type : ATans per 30.18249 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 10576

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22899', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


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


Compaign : 66242
\compaign_type : ATans per 26.08632 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 9140

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22899', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


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


Compaign : 66242
\compaign_type : ATans per 26.8366 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 9403

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22899', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


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


Compaign : 66242
\compaign_type : ATans per 25.08467 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 8789

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22899', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


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


Compaign : 66242
\compaign_type : ATans per 25.83045 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 9051

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22899', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


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


Compaign : 66242
\compaign_type : ATans per 27.37257 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 9591

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22899', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


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


Compaign : 66242
\compaign_type : ATans per 27.5151 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 9641

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22899', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


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


Compaign : 66242
\compaign_type : ATans per 28.66014 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 10042

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22899', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


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


Compaign : 66242
\compaign_type : ATans per 26.58142 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 9314

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22899', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


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


Compaign : 66242
\compaign_type : ATans per 26.13115 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 9156

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22899', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


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


Compaign : 66242
\compaign_type : ATans per 29.62516 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 10380

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22899', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


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


Compaign : 66242
\compaign_type : ATans per 27.39014 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 9597

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22899', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


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


Compaign : 66242
\compaign_type : ATans per 30.38553 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 10647

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22899', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


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


Compaign : 66242
\compaign_type : ATans per 30.57521 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 10713

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22899', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


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


Compaign : 66242
\compaign_type : ATans per 26.82731 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 9400

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22899', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


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


Compaign : 66242
\compaign_type : ATans per 26.35212 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 9233

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22899', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


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


Compaign : 66242
\compaign_type : ATans per 29.6225 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 10379

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22899', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


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


Compaign : 66242
\compaign_type : ATans per 27.54599 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 9652

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22899', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


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


Compaign : 66242
\compaign_type : ATans per 30.73689 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 10770

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22899', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


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


Compaign : 66242
\compaign_type : ATans per 28.27164 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 9906

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22899', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


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


Compaign : 66242
\compaign_type : ATans per 29.80175 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 10442

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22899', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


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


Compaign : 66242
\compaign_type : ATans per 30.22723 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 10591

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22899', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


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


Compaign : 66242
\compaign_type : ATans per 28.10274 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 9847

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22899', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


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


Compaign : 66242
\compaign_type : ATans per 30.83922 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 10806

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22899', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


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


Compaign : 66242
\compaign_type : ATans per 25.65734 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 8990

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22899', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


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


Compaign : 66242
\compaign_type : ATans per 29.3727 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 10292

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22899', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


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


Compaign : 66242
\compaign_type : ATans per 29.00658 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 10164

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22899', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


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


Compaign : 66242
\compaign_type : ATans per 25.24255 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 8845

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22899', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


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


Compaign : 66242
\compaign_type : ATans per 27.43548 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 9613

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22899', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


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


Compaign : 66242
\compaign_type : ATans per 27.13502 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 9508

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22899', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


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


Compaign : 66242
\compaign_type : ATans per 25.60546 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 8972

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22899', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


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


Compaign : 66242
\compaign_type : ATans per 26.85244 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 9409

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22899', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


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


Compaign : 66242
\compaign_type : ATans per 27.72948 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 9716

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22899', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


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


Compaign : 66242
\compaign_type : ATans per 28.86222 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 10113

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22899', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


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


Compaign : 66242
\compaign_type : ATans per 27.32066 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 9573

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22899', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


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


Compaign : 66242
\compaign_type : ATans per 28.49428 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 9984

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22899', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


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


Compaign : 66242
\compaign_type : ATans per 25.69944 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 9005

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22899', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


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


Compaign : 66242
\compaign_type : ATans per 30.88999 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 10823

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22899', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


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


Compaign : 66242
\compaign_type : ATans per 29.10041 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 10196

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22899', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


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


Compaign : 66242
\compaign_type : ATans per 27.51631 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 9641

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22899', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


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


Compaign : 66242
\compaign_type : ATans per 26.88815 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 9421

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22899', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


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


Compaign : 66242
\compaign_type : ATans per 26.67091 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 9345

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22899', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


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


Compaign : 66242
\compaign_type : ATans per 25.48387 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 8929

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22899', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


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


Compaign : 66242
\compaign_type : ATans per 25.81684 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 9046

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22899', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


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


Compaign : 66242
\compaign_type : ATans per 29.66999 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 10396

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22899', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


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


Compaign : 66242
\compaign_type : ATans per 26.14277 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 9160

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22899', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


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


Compaign : 66242
\compaign_type : ATans per 26.56007 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 9306

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22899', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


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


Compaign : 66242
\compaign_type : ATans per 27.76975 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 9730

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22899', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


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


Compaign : 66242
\compaign_type : ATans per 29.38974 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 10298

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22899', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


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


Compaign : 66242
\compaign_type : ATans per 27.85862 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 9761

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22899', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


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


Compaign : 66242
\compaign_type : ATans per 26.18898 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 9176

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22899', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


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


Compaign : 66242
\compaign_type : ATans per 28.98681 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 10157

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22899', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


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


Compaign : 66242
\compaign_type : ATans per 28.5326 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 9997

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22899', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


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


Compaign : 66242
\compaign_type : ATans per 30.77881 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 10784

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22899', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


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


Compaign : 66242
\compaign_type : ATans per 28.74209 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 10071

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22899', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


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


Compaign : 66242
\compaign_type : ATans per 27.57638 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 9662

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22899', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


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


Compaign : 66242
\compaign_type : ATans per 29.11328 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 10201

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22899', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


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


Compaign : 66242
\compaign_type : ATans per 29.1967 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 10230

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22899', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


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


Compaign : 66242
\compaign_type : ATans per 27.2558 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 9550

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='243', `user_busy_sms`='10066', `user_congestion_sms`='0', `user_failed_sms`='22899', `user_hangup_sms`='0', `user_no_answer_sms`='1829', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66242 LIMIT 1 


Time Diff : 1.19