SELECT * FROM `voice_compaign_summary` WHERE status ='C' AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0 AND start_date>'1760466601'
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] => 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] => 1760725742
    [last_credit_update_time] => 1760725742
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 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.25443 
ans sms 35037
dnd sms 0

require answer perrequire answer per : 9900

user answer per : 243
below is the redis data 9657 UPDATE voice_compaign_detail_66242 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 9657 Total Failed : 0 no_answer_count : 0 Busy count :0 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>'1760466661'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760466722'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760466781'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760466841'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760466902'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760466961'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760467022'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760467082'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760467141'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760467201'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760467262'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760467321'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760467381'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760467442'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760467501'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760467561'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760467622'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760467681'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760467741'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760467802'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760467861'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760467922'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760467981'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760468042'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760468101'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760468161'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760468222'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760468282'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760468341'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760468402'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760468461'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760468521'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760468582'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760468641'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760468701'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760468762'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760468822'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760468881'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760468941'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760469001'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760469061'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760469122'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760469181'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760469241'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760469302'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760469361'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760469421'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760469482'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760469541'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760469601'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760469661'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760469721'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760469782'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760469841'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760469901'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760469962'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760470022'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760470081'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760470141'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760470202'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760470261'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760470321'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760470381'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760470442'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760470501'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760470562'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760470622'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760470681'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760470742'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760470802'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760470861'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760470922'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760470982'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760471041'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760471101'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760471161'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760471221'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760471281'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760471341'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760471402'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760471461'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760471522'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760471581'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760471641'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760471702'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760471762'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760471821'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760471881'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760471942'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760472001'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760472061'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760472122'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760472181'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760472241'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760472302'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760472361'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760472421'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760472482'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760472541'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760472602'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760472661'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760472721'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760472781'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760472842'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760472901'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760472961'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760473022'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760473081'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760473141'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760473202'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760473261'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760473321'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760473382'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760473441'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760473501'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760473562'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760473621'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760473681'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760473742'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760473801'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760473861'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760473922'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760473982'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760474042'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760474101'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760474162'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760474221'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760474281'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760474342'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760474401'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760474461'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760474522'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760474581'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760474642'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760474701'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760474761'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760474821'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760474882'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760474941'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760475001'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760475062'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760475121'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760475182'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760475241'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760475301'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760475362'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760475421'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760475482'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760475541'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760475601'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760475661'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760475721'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760475782'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760475841'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760475901'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760475962'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760476022'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760476081'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760476141'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760476201'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760476261'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760476322'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760476381'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760476441'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760476502'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760476561'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760476622'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760476681'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760476741'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760476802'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760476861'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760476921'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760476982'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760477041'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760477102'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760477161'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760477221'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760477282'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760477341'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760477401'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760477462'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760477521'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760477581'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760477642'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760477701'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760477761'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760477821'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760477881'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760477942'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760478001'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760478061'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760478121'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760478182'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760478241'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760478301'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760478361'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760478421'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760478482'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760478541'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760478601'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760478661'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760478722'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760478781'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760478842'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760478901'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760478961'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760479022'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760479082'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760479141'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760479202'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760479262'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760479321'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760479381'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760479442'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760479501'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760479561'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760479621'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760479682'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760479741'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760479801'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760479861'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760479921'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760479982'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760480041'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760480101'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760480162'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760480221'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760480282'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760480341'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760480401'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760480461'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760480521'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760480581'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760480642'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760480701'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760480762'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760480822'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760480881'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760480941'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760481002'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760481061'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760481121'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760481182'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760481241'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760481301'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760481362'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760481421'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760481482'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760481541'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760481602'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760481661'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760481721'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760481782'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760481842'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760481901'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760481961'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760482021'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760482081'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760482142'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760482201'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760482261'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760482322'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760482381'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760482442'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760482501'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760482562'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760482622'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760482681'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760482742'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760482801'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760482861'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760482922'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760482981'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760483041'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760483102'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760483161'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760483221'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760483281'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760483342'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760483401'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760483461'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760483522'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760483581'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760483641'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760483701'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760483761'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760483822'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760483881'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760483941'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760484002'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760484061'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760484121'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760484182'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760484241'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760484301'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760484362'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760484421'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760484482'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760484541'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760484601'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760484662'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760484721'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760484782'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760484841'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760484901'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760484962'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760485021'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760485081'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760485142'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760485201'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760485261'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760485321'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760485382'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760485446'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760485502'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760485561'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760485622'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760485681'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760485741'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760485801'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760485862'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760485921'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760485981'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760486042'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760486101'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760486162'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760486221'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760486282'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760486342'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760486402'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760486461'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760486522'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760486581'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760486642'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760486701'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760486762'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760486821'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760486886'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760486941'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760487002'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760487061'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760487122'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760487182'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760487242'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760487301'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760487362'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760487421'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760487482'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760487541'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760487602'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760487661'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760487722'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760487781'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760487841'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760487902'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760487961'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760488021'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760488082'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760488141'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760488202'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760488262'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760488321'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760488382'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760488441'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760488501'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760488566'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760488622'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760488681'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760488742'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760488802'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760488861'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760488921'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760488981'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760489041'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760489102'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760489161'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760489222'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760489281'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760489342'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760489402'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760489461'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760489522'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760489581'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760489641'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760489702'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760489761'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760489822'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760489881'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760489942'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760490001'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760490062'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760490122'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760490181'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760490242'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760490302'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760490361'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760490430'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760490481'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760490541'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760490602'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760490661'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760490722'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760490781'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760490842'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760490902'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760490961'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760491022'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760491081'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760491142'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760491201'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760491261'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760491321'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760491382'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760491446'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760491502'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760491561'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760491621'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760491681'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760491742'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760491801'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760491861'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760491922'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760491981'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760492041'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760492102'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760492161'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760492222'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760492281'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760492342'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760492402'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760492461'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760492522'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760492581'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760492641'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760492702'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760492761'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760492822'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760492882'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760492941'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760493002'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760493062'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760493121'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760493182'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760493241'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760493301'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760493361'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760493421'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760493482'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760493541'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760493602'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760493662'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760493721'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760493781'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760493841'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760493901'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760493961'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760494021'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760494081'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760494141'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760494202'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760494262'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760494321'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760494382'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760494441'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760494501'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760494562'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760494621'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760494682'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760494741'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760494801'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760494862'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760494922'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760494982'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760495041'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760495101'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760495161'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760495221'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760495282'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760495341'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760495402'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760495461'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760495521'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760495582'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760495641'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760495701'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760495762'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760495821'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760495881'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760495942'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760496001'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760496061'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760496122'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760496181'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760496242'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760496302'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760496361'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760496421'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760496482'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760496541'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760496601'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760496662'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760496721'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760496781'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760496842'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760496901'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760496962'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760497021'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760497081'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760497142'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760497201'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760497261'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760497322'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760497381'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760497441'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760497502'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760497562'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760497621'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760497682'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760497741'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760497801'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760497861'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760497922'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760497981'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760498041'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760498102'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760498161'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760498221'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760498282'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760498341'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760498401'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760498462'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760498521'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760498581'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760498641'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760498701'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760498761'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760498821'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760498881'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760498941'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760499002'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760499061'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760499122'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760499181'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760499241'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760499302'  
Array
(
    [0] => 66572
    [compaign_id] => 66572
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1760758204
    [start_date] => 1760758204
    [9] => 0
    [end_date] => 0
    [10] => 235
    [total_sms] => 235
    [11] => 235
    [sent_sms] => 235
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 235
    [failed_sms] => 235
    [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] => 235
    [user_failed_sms] => 235
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 0
    [user_no_answer_sms] => 0
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760758502
    [last_credit_update_time] => 1760758502
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 66572
\compaign_type : ATans per 28.87278 
ans sms 235
dnd sms 0

require answer perrequire answer per : 68

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


Time Diff : 9.191

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


Compaign : 66572
\compaign_type : ATans per 30.01889 
ans sms 491
dnd sms 0

require answer perrequire answer per : 148

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


Time Diff : 4.399

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


Compaign : 66572
\compaign_type : ATans per 30.75041 
ans sms 607
dnd sms 0

require answer perrequire answer per : 187

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


Time Diff : 3.558

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


Compaign : 66572
\compaign_type : ATans per 28.05619 
ans sms 848
dnd sms 0

require answer perrequire answer per : 238

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


Time Diff : 2.547

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760500081'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760500142'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760500202'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760500262'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760500321'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760500382'  
Array
(
    [0] => 66568
    [compaign_id] => 66568
    [1] => u6427
    [user_id] => u6427
    [2] => 58157,
    [group_ids] => 58157,
    [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] => 1760759100
    [start_date] => 1760759100
    [9] => 0
    [end_date] => 0
    [10] => 7698
    [total_sms] => 7698
    [11] => 7698
    [sent_sms] => 7698
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 4058
    [failed_sms] => 4058
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 3640
    [cutting_sms] => 3640
    [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] => 4058
    [user_failed_sms] => 4058
    [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] => u6427
    [created_by] => u6427
    [38] => 1
    [isScheduled] => 1
    [39] => 1760751146
    [create_date] => 1760751146
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760759107,"compaign_read_start_time":1760759107,"compaign_read_complete_time":1760759118,"compaign_send_start_time":1760759161,"compaign_send_complete_time":1760759178}
    [action_time] => {"api_allot_time":1760759107,"compaign_read_start_time":1760759107,"compaign_read_complete_time":1760759118,"compaign_send_start_time":1760759161,"compaign_send_complete_time":1760759178}
    [50] => 0
    [compaign_file] => 0
    [51] => u6427_66568_18102025_091505AM_722
    [common_name] => u6427_66568_18102025_091505AM_722
    [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] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_58157
    [temp_group_table] => contacts_temp_group_58157
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => 1760759582
    [last_credit_update_time] => 1760759582
    [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] => 
    [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,u6427
    [uphierarchy] => admin,u6427
    [113] => 
    [extra_params_json] => 
)


Compaign : 66568
\compaign_type : Rans per 25.56027 
ans sms 7698
dnd sms 0

require answer perrequire answer per : 1968

user answer per : 0
below is the redis data 1968 UPDATE voice_compaign_detail_66568 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1968 Total Failed : 1672 no_answer_count : 558 Busy count :430 congestion_count : 199 failed_count : 485UPDATE voice_compaign_detail_66568 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 558 UPDATE voice_compaign_detail_66568 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 430 UPDATE voice_compaign_detail_66568 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 199 UPDATE voice_compaign_detail_66568 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 485 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='1968', `user_busy_sms`='430', `user_congestion_sms`='199', `user_failed_sms`='4543', `user_hangup_sms`='0', `user_no_answer_sms`='558', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66568 LIMIT 1 


Time Diff : 0.281

Array
(
    [0] => 66570
    [compaign_id] => 66570
    [1] => u6427
    [user_id] => u6427
    [2] => 58155,
    [group_ids] => 58155,
    [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] => 1760759100
    [start_date] => 1760759100
    [9] => 0
    [end_date] => 0
    [10] => 10254
    [total_sms] => 10254
    [11] => 10254
    [sent_sms] => 10254
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 4769
    [failed_sms] => 4769
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 5485
    [cutting_sms] => 5485
    [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] => 4769
    [user_failed_sms] => 4769
    [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] => u6427
    [created_by] => u6427
    [38] => 1
    [isScheduled] => 1
    [39] => 1760751158
    [create_date] => 1760751158
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760759107,"compaign_read_start_time":1760759110,"compaign_read_complete_time":1760759123,"compaign_send_start_time":1760759161,"compaign_send_complete_time":1760759192}
    [action_time] => {"api_allot_time":1760759107,"compaign_read_start_time":1760759110,"compaign_read_complete_time":1760759123,"compaign_send_start_time":1760759161,"compaign_send_complete_time":1760759192}
    [50] => 0
    [compaign_file] => 0
    [51] => u6427_66570_18102025_091505AM_264
    [common_name] => u6427_66570_18102025_091505AM_264
    [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] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_58155
    [temp_group_table] => contacts_temp_group_58155
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => 1760759582
    [last_credit_update_time] => 1760759582
    [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] => 
    [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,u6427
    [uphierarchy] => admin,u6427
    [113] => 
    [extra_params_json] => 
)


Compaign : 66570
\compaign_type : Rans per 25.94627 
ans sms 10254
dnd sms 0

require answer perrequire answer per : 2661

user answer per : 0
below is the redis data 2661 UPDATE voice_compaign_detail_66570 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 2661 Total Failed : 2824 no_answer_count : 942 Busy count :725 congestion_count : 336 failed_count : 821UPDATE voice_compaign_detail_66570 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 942 UPDATE voice_compaign_detail_66570 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 725 UPDATE voice_compaign_detail_66570 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 336 UPDATE voice_compaign_detail_66570 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 821 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='2661', `user_busy_sms`='725', `user_congestion_sms`='336', `user_failed_sms`='5590', `user_hangup_sms`='0', `user_no_answer_sms`='942', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66570 LIMIT 1 


Time Diff : 0.211

Array
(
    [0] => 66571
    [compaign_id] => 66571
    [1] => u6427
    [user_id] => u6427
    [2] => 58156,
    [group_ids] => 58156,
    [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] => 1760759100
    [start_date] => 1760759100
    [9] => 0
    [end_date] => 0
    [10] => 12216
    [total_sms] => 12216
    [11] => 12216
    [sent_sms] => 12216
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 5915
    [failed_sms] => 5915
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 6301
    [cutting_sms] => 6301
    [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] => 5915
    [user_failed_sms] => 5915
    [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] => u6427
    [created_by] => u6427
    [38] => 1
    [isScheduled] => 1
    [39] => 1760751172
    [create_date] => 1760751172
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760759107,"compaign_read_start_time":1760759114,"compaign_read_complete_time":1760759130,"compaign_send_start_time":1760759161,"compaign_send_complete_time":1760759226}
    [action_time] => {"api_allot_time":1760759107,"compaign_read_start_time":1760759114,"compaign_read_complete_time":1760759130,"compaign_send_start_time":1760759161,"compaign_send_complete_time":1760759226}
    [50] => 0
    [compaign_file] => 0
    [51] => u6427_66571_18102025_091505AM_577
    [common_name] => u6427_66571_18102025_091505AM_577
    [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] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_58156
    [temp_group_table] => contacts_temp_group_58156
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => 1760759582
    [last_credit_update_time] => 1760759582
    [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] => 
    [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,u6427
    [uphierarchy] => admin,u6427
    [113] => 
    [extra_params_json] => 
)


Compaign : 66571
\compaign_type : Rans per 28.40447 
ans sms 12216
dnd sms 0

require answer perrequire answer per : 3470

user answer per : 0
below is the redis data 3470 UPDATE voice_compaign_detail_66571 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 3470 Total Failed : 2831 no_answer_count : 944 Busy count :727 congestion_count : 337 failed_count : 823UPDATE voice_compaign_detail_66571 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 944 UPDATE voice_compaign_detail_66571 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 727 UPDATE voice_compaign_detail_66571 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 337 UPDATE voice_compaign_detail_66571 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`='3470', `user_busy_sms`='727', `user_congestion_sms`='337', `user_failed_sms`='6738', `user_hangup_sms`='0', `user_no_answer_sms`='944', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66571 LIMIT 1 


Time Diff : 0.177

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


Compaign : 66572
\compaign_type : ATans per 30.28956 
ans sms 1192
dnd sms 0

require answer perrequire answer per : 362

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


Time Diff : 1.812

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


Compaign : 66572
\compaign_type : ATans per 27.86852 
ans sms 1192
dnd sms 0

require answer perrequire answer per : 333

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


Time Diff : 1.812

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760500621'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760500682'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760500741'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760500801'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760500862'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760500921'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760500982'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760501042'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760501101'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760501161'  
Array
(
    [0] => 66569
    [compaign_id] => 66569
    [1] => u6427
    [user_id] => u6427
    [2] => 58154,
    [group_ids] => 58154,
    [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] => 1760760000
    [start_date] => 1760760000
    [9] => 0
    [end_date] => 0
    [10] => 10117
    [total_sms] => 10117
    [11] => 10117
    [sent_sms] => 10117
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 4805
    [failed_sms] => 4805
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 5312
    [cutting_sms] => 5312
    [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] => 4805
    [user_failed_sms] => 4805
    [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] => u6427
    [created_by] => u6427
    [38] => 1
    [isScheduled] => 1
    [39] => 1760751157
    [create_date] => 1760751157
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760760006,"compaign_read_start_time":1760760007,"compaign_read_complete_time":1760760022,"compaign_send_start_time":1760760062,"compaign_send_complete_time":1760760091}
    [action_time] => {"api_allot_time":1760760006,"compaign_read_start_time":1760760007,"compaign_read_complete_time":1760760022,"compaign_send_start_time":1760760062,"compaign_send_complete_time":1760760091}
    [50] => 0
    [compaign_file] => 0
    [51] => u6427_66569_18102025_093005AM_238
    [common_name] => u6427_66569_18102025_093005AM_238
    [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] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_58154
    [temp_group_table] => contacts_temp_group_58154
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760760301
    [last_credit_update_time] => 1760760301
    [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] => 
    [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,u6427
    [uphierarchy] => admin,u6427
    [113] => 
    [extra_params_json] => 
)


Compaign : 66569
\compaign_type : Rans per 29.97412 
ans sms 10117
dnd sms 0

require answer perrequire answer per : 3033

user answer per : 0
below is the redis data 3033 UPDATE voice_compaign_detail_66569 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 3033 Total Failed : 2279 no_answer_count : 760 Busy count :585 congestion_count : 271 failed_count : 663UPDATE voice_compaign_detail_66569 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 760 UPDATE voice_compaign_detail_66569 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 585 UPDATE voice_compaign_detail_66569 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 271 UPDATE voice_compaign_detail_66569 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 663 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='3033', `user_busy_sms`='585', `user_congestion_sms`='271', `user_failed_sms`='5468', `user_hangup_sms`='0', `user_no_answer_sms`='760', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66569 LIMIT 1 


Time Diff : 0.214

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760501221'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760501281'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760501342'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760501401'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760501462'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760501521'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760501581'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760501641'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760501701'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760501762'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760501821'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760501882'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760501941'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760502002'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760502061'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760502121'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760502181'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760502241'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760502301'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760502362'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760502421'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760502481'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760502541'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760502602'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760502661'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760502722'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760502781'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760502841'  
Array
(
    [0] => 66572
    [compaign_id] => 66572
    [1] => u20113
    [user_id] => u20113
    [2] => 
    [group_ids] => 
    [3] => 
    [sender_id] => 
    [4] => 
    [filename] => 
    [5] => 0
    [duration] => 0
    [6] => 0
    [credits_per_sms] => 0
    [7] => 15
    [user_pulse] => 15
    [8] => 1760758204
    [start_date] => 1760758204
    [9] => 0
    [end_date] => 0
    [10] => 2810
    [total_sms] => 2810
    [11] => 2810
    [sent_sms] => 2810
    [12] => 0
    [duplicate_sms] => 0
    [13] => 0
    [answered_sms] => 0
    [14] => 42
    [busy_sms] => 42
    [15] => 0
    [congestion_sms] => 0
    [16] => 2762
    [failed_sms] => 2762
    [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] => 0
    [user_answered_sms] => 0
    [27] => 42
    [user_busy_sms] => 42
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 2762
    [user_failed_sms] => 2762
    [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] => 
    [created_by] => 
    [38] => 0
    [isScheduled] => 0
    [39] => 0
    [create_date] => 0
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 29
    [alloted_api] => 29
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => 
    [action_time] => 
    [50] => 0
    [compaign_file] => 0
    [51] => 
    [common_name] => 
    [52] => 
    [voice_file] => 
    [53] => 
    [plan_type] => 
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => 
    [temp_group_table] => 
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 0
    [occupied] => 0
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 17
    [credit_seq] => 17
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760762041
    [last_credit_update_time] => 1760762041
    [81] => AT
    [compaign_type] => AT
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1643
    [user_voice_plan_id] => 1643
    [85] => 6
    [voice_plan_id] => 6
    [86] => 29
    [gateway_id] => 29
    [87] => 15
    [pulse] => 15
    [88] => 0.21
    [pulse_rate] => 0.21
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 2
    [ext_duration] => 2
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => 
    [alloted_apis] => 
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u20113
    [uphierarchy] => admin,u20113
    [113] => 
    [extra_params_json] => 
)


Compaign : 66572
\compaign_type : ATans per 27.12297 
ans sms 2810
dnd sms 0

require answer perrequire answer per : 763

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


Time Diff : 0.08

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760502902'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760502961'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760503022'  
Array
(
    [0] => 65909
    [compaign_id] => 65909
    [1] => u141
    [user_id] => u141
    [2] => 57735,
    [group_ids] => 57735,
    [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] => 1760761800
    [start_date] => 1760761800
    [9] => 0
    [end_date] => 0
    [10] => 87
    [total_sms] => 87
    [11] => 87
    [sent_sms] => 87
    [12] => 0
    [duplicate_sms] => 0
    [13] => 20
    [answered_sms] => 20
    [14] => 10
    [busy_sms] => 10
    [15] => 0
    [congestion_sms] => 0
    [16] => 39
    [failed_sms] => 39
    [17] => 0
    [hangup_sms] => 0
    [18] => 18
    [no_answer_sms] => 18
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 20
    [user_answered_sms] => 20
    [27] => 10
    [user_busy_sms] => 10
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 39
    [user_failed_sms] => 39
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 18
    [user_no_answer_sms] => 18
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 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] => 1760530401
    [create_date] => 1760530401
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760761807,"compaign_read_start_time":1760761808,"compaign_read_complete_time":1760761808,"compaign_send_start_time":1760761862,"compaign_send_complete_time":1760761863}
    [action_time] => {"api_allot_time":1760761807,"compaign_read_start_time":1760761808,"compaign_read_complete_time":1760761808,"compaign_send_start_time":1760761862,"compaign_send_complete_time":1760761863}
    [50] => 0
    [compaign_file] => 0
    [51] => u141_65909_18102025_100006AM_982
    [common_name] => u141_65909_18102025_100006AM_982
    [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_57735
    [temp_group_table] => contacts_temp_group_57735
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => 1760762103
    [reschedule_last_check_time] => 1760762103
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760762162
    [last_credit_update_time] => 1760762162
    [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":1760763600,"2":1760765400}
    [rt_time] => {"1":1760763600,"2":1760765400}
    [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 : 65909
\compaign_type : Rans per 28.74138 
ans sms 87
dnd sms 0

require answer perrequire answer per : 26

user answer per : 20
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_65909 SET user_report='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_65909 SET user_report='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`='26', `user_busy_sms`='11', `user_congestion_sms`='0', `user_failed_sms`='29', `user_hangup_sms`='0', `user_no_answer_sms`='21', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=65909 LIMIT 1 


Time Diff : 3.494

Array
(
    [0] => 66578
    [compaign_id] => 66578
    [1] => u230
    [user_id] => u230
    [2] => 58164,
    [group_ids] => 58164,
    [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] => 1760761861
    [start_date] => 1760761861
    [9] => 0
    [end_date] => 0
    [10] => 2882
    [total_sms] => 2882
    [11] => 2882
    [sent_sms] => 2882
    [12] => 0
    [duplicate_sms] => 0
    [13] => 386
    [answered_sms] => 386
    [14] => 198
    [busy_sms] => 198
    [15] => 3
    [congestion_sms] => 3
    [16] => 370
    [failed_sms] => 370
    [17] => 0
    [hangup_sms] => 0
    [18] => 508
    [no_answer_sms] => 508
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 1417
    [cutting_sms] => 1417
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 386
    [user_answered_sms] => 386
    [27] => 198
    [user_busy_sms] => 198
    [28] => 3
    [user_congestion_sms] => 3
    [29] => 370
    [user_failed_sms] => 370
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 508
    [user_no_answer_sms] => 508
    [32] => 0
    [user_timeout_duration_sms] => 0
    [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] => 1760761859
    [create_date] => 1760761859
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760761869,"compaign_read_start_time":1760761870,"compaign_read_complete_time":1760761875,"compaign_send_start_time":1760761922,"compaign_send_complete_time":1760761929}
    [action_time] => {"api_allot_time":1760761869,"compaign_read_start_time":1760761870,"compaign_read_complete_time":1760761875,"compaign_send_start_time":1760761922,"compaign_send_complete_time":1760761929}
    [50] => 0
    [compaign_file] => 0
    [51] => u230_66578_18102025_100107AM_680
    [common_name] => u230_66578_18102025_100107AM_680
    [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_58164
    [temp_group_table] => contacts_temp_group_58164
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760762161
    [last_credit_update_time] => 1760762161
    [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 : 66578
\compaign_type : Rans per 27.40864 
ans sms 2882
dnd sms 0

require answer perrequire answer per : 790

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='790', `user_busy_sms`='634', `user_congestion_sms`='113', `user_failed_sms`='510', `user_hangup_sms`='0', `user_no_answer_sms`='835', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66578 LIMIT 1 


Time Diff : 0.099

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760503081'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760503142'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760503201'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760503261'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760503321'  
Array
(
    [0] => 66580
    [compaign_id] => 66580
    [1] => u820
    [user_id] => u820
    [2] => 58165,
    [group_ids] => 58165,
    [3] => 
    [sender_id] => 
    [4] => LAST DATE MONTH LADY VOICE.mp3
    [filename] => LAST DATE MONTH LADY VOICE.mp3
    [5] => 28
    [duration] => 28
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760762087
    [start_date] => 1760762087
    [9] => 0
    [end_date] => 0
    [10] => 51
    [total_sms] => 51
    [11] => 51
    [sent_sms] => 51
    [12] => 0
    [duplicate_sms] => 0
    [13] => 16
    [answered_sms] => 16
    [14] => 8
    [busy_sms] => 8
    [15] => 0
    [congestion_sms] => 0
    [16] => 18
    [failed_sms] => 18
    [17] => 0
    [hangup_sms] => 0
    [18] => 9
    [no_answer_sms] => 9
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 16
    [user_answered_sms] => 16
    [27] => 8
    [user_busy_sms] => 8
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 18
    [user_failed_sms] => 18
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 9
    [user_no_answer_sms] => 9
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u820
    [created_by] => u820
    [38] => 0
    [isScheduled] => 0
    [39] => 1760762087
    [create_date] => 1760762087
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760762103,"compaign_read_start_time":1760762105,"compaign_read_complete_time":1760762105,"compaign_send_start_time":1760762162,"compaign_send_complete_time":1760762169}
    [action_time] => {"api_allot_time":1760762103,"compaign_read_start_time":1760762105,"compaign_read_complete_time":1760762105,"compaign_send_start_time":1760762162,"compaign_send_complete_time":1760762169}
    [50] => 0
    [compaign_file] => 0
    [51] => u820_66580_18102025_100502AM_248
    [common_name] => u820_66580_18102025_100502AM_248
    [52] => 1746623748_u820_voice.wav
    [voice_file] => 1746623748_u820_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [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_58165
    [temp_group_table] => contacts_temp_group_58165
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => 1760762402
    [reschedule_last_check_time] => 1760762402
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760762462
    [last_credit_update_time] => 1760762462
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1281
    [user_voice_plan_id] => 1281
    [85] => 11
    [voice_plan_id] => 11
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.4
    [pulse_rate] => 0.4
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [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,sr57,u820
    [uphierarchy] => admin,sr27,sr57,u820
    [113] => 
    [extra_params_json] => 
)


Compaign : 66580
\compaign_type : Rans per 25.76386 
ans sms 51
dnd sms 0

require answer perrequire answer per : 14

user answer per : 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`='16', `user_busy_sms`='8', `user_congestion_sms`='0', `user_failed_sms`='18', `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`=66580 LIMIT 1 


Time Diff : 6.745

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760503381'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760503442'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760503502'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760503561'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760503622'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760503682'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760503741'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760503801'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760503862'  
Array
(
    [0] => 62834
    [compaign_id] => 62834
    [1] => u140
    [user_id] => u140
    [2] => 55924,
    [group_ids] => 55924,
    [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] => 1760762700
    [start_date] => 1760762700
    [9] => 0
    [end_date] => 0
    [10] => 794
    [total_sms] => 794
    [11] => 794
    [sent_sms] => 794
    [12] => 0
    [duplicate_sms] => 0
    [13] => 102
    [answered_sms] => 102
    [14] => 60
    [busy_sms] => 60
    [15] => 1
    [congestion_sms] => 1
    [16] => 153
    [failed_sms] => 153
    [17] => 0
    [hangup_sms] => 0
    [18] => 119
    [no_answer_sms] => 119
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 359
    [cutting_sms] => 359
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 102
    [user_answered_sms] => 102
    [27] => 60
    [user_busy_sms] => 60
    [28] => 1
    [user_congestion_sms] => 1
    [29] => 153
    [user_failed_sms] => 153
    [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] => u140
    [created_by] => u140
    [38] => 1
    [isScheduled] => 1
    [39] => 1759473763
    [create_date] => 1759473763
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760762707,"compaign_read_start_time":1760762708,"compaign_read_complete_time":1760762709,"compaign_send_start_time":1760762761,"compaign_send_complete_time":1760762763}
    [action_time] => {"api_allot_time":1760762707,"compaign_read_start_time":1760762708,"compaign_read_complete_time":1760762709,"compaign_send_start_time":1760762761,"compaign_send_complete_time":1760762763}
    [50] => 0
    [compaign_file] => 0
    [51] => u140_62834_18102025_101506AM_520
    [common_name] => u140_62834_18102025_101506AM_520
    [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_55924
    [temp_group_table] => contacts_temp_group_55924
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760763002
    [last_credit_update_time] => 1760763002
    [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 : 62834
\compaign_type : Rans per 27.82458 
ans sms 794
dnd sms 0

require answer perrequire answer per : 221

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='221', `user_busy_sms`='169', `user_congestion_sms`='29', `user_failed_sms`='174', `user_hangup_sms`='0', `user_no_answer_sms`='201', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=62834 LIMIT 1 


Time Diff : 0.307

Array
(
    [0] => 62838
    [compaign_id] => 62838
    [1] => u140
    [user_id] => u140
    [2] => 55928,
    [group_ids] => 55928,
    [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] => 1760762700
    [start_date] => 1760762700
    [9] => 0
    [end_date] => 0
    [10] => 796
    [total_sms] => 796
    [11] => 796
    [sent_sms] => 796
    [12] => 0
    [duplicate_sms] => 0
    [13] => 117
    [answered_sms] => 117
    [14] => 47
    [busy_sms] => 47
    [15] => 1
    [congestion_sms] => 1
    [16] => 172
    [failed_sms] => 172
    [17] => 0
    [hangup_sms] => 0
    [18] => 117
    [no_answer_sms] => 117
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 342
    [cutting_sms] => 342
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 117
    [user_answered_sms] => 117
    [27] => 47
    [user_busy_sms] => 47
    [28] => 1
    [user_congestion_sms] => 1
    [29] => 172
    [user_failed_sms] => 172
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 117
    [user_no_answer_sms] => 117
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u140
    [created_by] => u140
    [38] => 1
    [isScheduled] => 1
    [39] => 1759473836
    [create_date] => 1759473836
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760762707,"compaign_read_start_time":1760762711,"compaign_read_complete_time":1760762713,"compaign_send_start_time":1760762761,"compaign_send_complete_time":1760762764}
    [action_time] => {"api_allot_time":1760762707,"compaign_read_start_time":1760762711,"compaign_read_complete_time":1760762713,"compaign_send_start_time":1760762761,"compaign_send_complete_time":1760762764}
    [50] => 0
    [compaign_file] => 0
    [51] => u140_62838_18102025_101506AM_784
    [common_name] => u140_62838_18102025_101506AM_784
    [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_55928
    [temp_group_table] => contacts_temp_group_55928
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760763002
    [last_credit_update_time] => 1760763002
    [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 : 62838
\compaign_type : Rans per 28.56891 
ans sms 796
dnd sms 0

require answer perrequire answer per : 228

user answer per : 117
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_62838 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 84 UPDATE voice_compaign_detail_62838 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 84 Total Failed : 228 no_answer_count : 77 Busy count :59 congestion_count : 28 failed_count : 64UPDATE voice_compaign_detail_62838 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 77 UPDATE voice_compaign_detail_62838 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 59 UPDATE voice_compaign_detail_62838 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 28 UPDATE voice_compaign_detail_62838 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 64 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='228', `user_busy_sms`='159', `user_congestion_sms`='29', `user_failed_sms`='182', `user_hangup_sms`='0', `user_no_answer_sms`='198', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=62838 LIMIT 1 


Time Diff : 0.305

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760503921'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760503982'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760504042'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760504101'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760504161'  
Array
(
    [0] => 66592
    [compaign_id] => 66592
    [1] => u22468
    [user_id] => u22468
    [2] => 58171,
    [group_ids] => 58171,
    [3] => 
    [sender_id] => 
    [4] => AUD-20251016-WA0012.mp3
    [filename] => AUD-20251016-WA0012.mp3
    [5] => 17
    [duration] => 17
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760762755
    [start_date] => 1760762755
    [9] => 0
    [end_date] => 0
    [10] => 2004
    [total_sms] => 2004
    [11] => 2004
    [sent_sms] => 2004
    [12] => 0
    [duplicate_sms] => 0
    [13] => 440
    [answered_sms] => 440
    [14] => 176
    [busy_sms] => 176
    [15] => 0
    [congestion_sms] => 0
    [16] => 101
    [failed_sms] => 101
    [17] => 0
    [hangup_sms] => 0
    [18] => 197
    [no_answer_sms] => 197
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 764
    [cutting_sms] => 764
    [22] => 326
    [dnd_sms] => 326
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 440
    [user_answered_sms] => 440
    [27] => 176
    [user_busy_sms] => 176
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 101
    [user_failed_sms] => 101
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 197
    [user_no_answer_sms] => 197
    [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] => 1760762753
    [create_date] => 1760762753
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760762763,"compaign_read_start_time":1760762764,"compaign_read_complete_time":1760762770,"compaign_send_start_time":1760762822,"compaign_send_complete_time":1760762835}
    [action_time] => {"api_allot_time":1760762763,"compaign_read_start_time":1760762764,"compaign_read_complete_time":1760762770,"compaign_send_start_time":1760762822,"compaign_send_complete_time":1760762835}
    [50] => 0
    [compaign_file] => 0
    [51] => u22468_66592_18102025_101601AM_505
    [common_name] => u22468_66592_18102025_101601AM_505
    [52] => 1760762753_u22468_voice.wav
    [voice_file] => 1760762753_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_58171
    [temp_group_table] => contacts_temp_group_58171
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => 1
    [reschedule_max] => 1
    [71] => FNA,FBZ,N
    [reschedule_types] => FNA,FBZ,N
    [72] => 1
    [reschedule_remaining] => 1
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 1760763302
    [reschedule_last_check_time] => 1760763302
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760763301
    [last_credit_update_time] => 1760763301
    [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] => {"1":1760765400}
    [rt_time] => {"1":1760765400}
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":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 : 66592
\compaign_type : Rans per 27.07523 
ans sms 2004
dnd sms 326

require answer perrequire answer per : 455

user answer per : 440
below is the redis data 15 UPDATE voice_compaign_detail_66592 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 15 Total Failed : 749 no_answer_count : 250 Busy count :193 congestion_count : 89 failed_count : 217UPDATE voice_compaign_detail_66592 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 250 UPDATE voice_compaign_detail_66592 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 193 UPDATE voice_compaign_detail_66592 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 89 UPDATE voice_compaign_detail_66592 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 217 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='455', `user_busy_sms`='369', `user_congestion_sms`='89', `user_failed_sms`='318', `user_hangup_sms`='0', `user_no_answer_sms`='447', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='326' WHERE `compaign_id`=66592 LIMIT 1 


Time Diff : 0.194

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760504222'  
Array
(
    [0] => 66599
    [compaign_id] => 66599
    [1] => u607
    [user_id] => u607
    [2] => 58175,
    [group_ids] => 58175,
    [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] => 1760763140
    [start_date] => 1760763140
    [9] => 0
    [end_date] => 0
    [10] => 3427
    [total_sms] => 3427
    [11] => 3427
    [sent_sms] => 3427
    [12] => 0
    [duplicate_sms] => 0
    [13] => 58
    [answered_sms] => 58
    [14] => 64
    [busy_sms] => 64
    [15] => 0
    [congestion_sms] => 0
    [16] => 895
    [failed_sms] => 895
    [17] => 0
    [hangup_sms] => 0
    [18] => 90
    [no_answer_sms] => 90
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 1171
    [cutting_sms] => 1171
    [22] => 1149
    [dnd_sms] => 1149
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 58
    [user_answered_sms] => 58
    [27] => 64
    [user_busy_sms] => 64
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 895
    [user_failed_sms] => 895
    [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] => 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] => 1760763140
    [create_date] => 1760763140
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760763147,"compaign_read_start_time":1760763148,"compaign_read_complete_time":1760763156,"compaign_send_start_time":1760763182,"compaign_send_complete_time":1760763189}
    [action_time] => {"api_allot_time":1760763147,"compaign_read_start_time":1760763148,"compaign_read_complete_time":1760763156,"compaign_send_start_time":1760763182,"compaign_send_complete_time":1760763189}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_66599_18102025_102225AM_281
    [common_name] => u607_66599_18102025_102225AM_281
    [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_58175
    [temp_group_table] => contacts_temp_group_58175
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760763422
    [last_credit_update_time] => 1760763422
    [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 : 66599
\compaign_type : Rans per 30.98137 
ans sms 3427
dnd sms 1149

require answer perrequire answer per : 706

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='212', `user_busy_sms`='638', `user_congestion_sms`='76', `user_failed_sms`='665', `user_hangup_sms`='0', `user_no_answer_sms`='687', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='1149' WHERE `compaign_id`=66599 LIMIT 1 


Time Diff : 0.065

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


Compaign : 66572
\compaign_type : ATans per 26.10041 
ans sms 3862
dnd sms 0

require answer perrequire answer per : 1008

user answer per : 10
below is the redis data 998 UPDATE voice_compaign_detail_66572 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 998 Total Failed : 0 no_answer_count : 0 Busy count :0 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`='380', `user_congestion_sms`='0', `user_failed_sms`='3417', `user_hangup_sms`='0', `user_no_answer_sms`='55', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 0.431

Array
(
    [0] => 66591
    [compaign_id] => 66591
    [1] => u179
    [user_id] => u179
    [2] => 58170,
    [group_ids] => 58170,
    [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] => 1760762647
    [start_date] => 1760762647
    [9] => 0
    [end_date] => 0
    [10] => 4754
    [total_sms] => 4754
    [11] => 4754
    [sent_sms] => 4754
    [12] => 0
    [duplicate_sms] => 0
    [13] => 302
    [answered_sms] => 302
    [14] => 1107
    [busy_sms] => 1107
    [15] => 0
    [congestion_sms] => 0
    [16] => 170
    [failed_sms] => 170
    [17] => 0
    [hangup_sms] => 0
    [18] => 427
    [no_answer_sms] => 427
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2004
    [cutting_sms] => 2004
    [22] => 744
    [dnd_sms] => 744
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 302
    [user_answered_sms] => 302
    [27] => 1107
    [user_busy_sms] => 1107
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 170
    [user_failed_sms] => 170
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 427
    [user_no_answer_sms] => 427
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 744
    [user_dnd_sms] => 744
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u179
    [created_by] => u179
    [38] => 0
    [isScheduled] => 0
    [39] => 1760762644
    [create_date] => 1760762644
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760762653,"compaign_read_start_time":1760762653,"compaign_read_complete_time":1760762663,"compaign_send_start_time":1760762702,"compaign_send_complete_time":1760762721}
    [action_time] => {"api_allot_time":1760762653,"compaign_read_start_time":1760762653,"compaign_read_complete_time":1760762663,"compaign_send_start_time":1760762702,"compaign_send_complete_time":1760762721}
    [50] => 0
    [compaign_file] => 0
    [51] => u179_66591_18102025_101412AM_465
    [common_name] => u179_66591_18102025_101412AM_465
    [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_58170
    [temp_group_table] => contacts_temp_group_58170
    [61] => 0
    [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] => 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] => 1760763302
    [reschedule_last_check_time] => 1760763302
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760763422
    [last_credit_update_time] => 1760763422
    [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":1760762700,"2":1760763600}
    [rt_time] => {"1":1760762700,"2":1760763600}
    [104] => 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 : 66591
\compaign_type : Rans per 25.95583 
ans sms 4754
dnd sms 744

require answer perrequire answer per : 1041

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='1041', `user_busy_sms`='1383', `user_congestion_sms`='121', `user_failed_sms`='389', `user_hangup_sms`='0', `user_no_answer_sms`='1076', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='744' WHERE `compaign_id`=66591 LIMIT 1 


Time Diff : 0.152

Array
(
    [0] => 66595
    [compaign_id] => 66595
    [1] => u22468
    [user_id] => u22468
    [2] => 58174,
    [group_ids] => 58174,
    [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] => 1760762918
    [start_date] => 1760762918
    [9] => 0
    [end_date] => 0
    [10] => 2004
    [total_sms] => 2004
    [11] => 2004
    [sent_sms] => 2004
    [12] => 0
    [duplicate_sms] => 0
    [13] => 406
    [answered_sms] => 406
    [14] => 142
    [busy_sms] => 142
    [15] => 0
    [congestion_sms] => 0
    [16] => 84
    [failed_sms] => 84
    [17] => 0
    [hangup_sms] => 0
    [18] => 183
    [no_answer_sms] => 183
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 863
    [cutting_sms] => 863
    [22] => 326
    [dnd_sms] => 326
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 406
    [user_answered_sms] => 406
    [27] => 142
    [user_busy_sms] => 142
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 84
    [user_failed_sms] => 84
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 183
    [user_no_answer_sms] => 183
    [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] => 1760762917
    [create_date] => 1760762917
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760762926,"compaign_read_start_time":1760762927,"compaign_read_complete_time":1760762931,"compaign_send_start_time":1760762941,"compaign_send_complete_time":1760762945}
    [action_time] => {"api_allot_time":1760762926,"compaign_read_start_time":1760762927,"compaign_read_complete_time":1760762931,"compaign_send_start_time":1760762941,"compaign_send_complete_time":1760762945}
    [50] => 0
    [compaign_file] => 0
    [51] => u22468_66595_18102025_101844AM_175
    [common_name] => u22468_66595_18102025_101844AM_175
    [52] => 1760762917_u22468_voice.wav
    [voice_file] => 1760762917_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_58174
    [temp_group_table] => contacts_temp_group_58174
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => 1760763422
    [last_credit_update_time] => 1760763422
    [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 : 66595
\compaign_type : Rans per 29.11318 
ans sms 2004
dnd sms 326

require answer perrequire answer per : 489

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='489', `user_busy_sms`='343', `user_congestion_sms`='93', `user_failed_sms`='309', `user_hangup_sms`='0', `user_no_answer_sms`='444', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='326' WHERE `compaign_id`=66595 LIMIT 1 


Time Diff : 0.201

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760504341'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760504402'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760504461'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760504522'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760504582'  
Array
(
    [0] => 66588
    [compaign_id] => 66588
    [1] => u141
    [user_id] => u141
    [2] => 58169,
    [group_ids] => 58169,
    [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] => 1760763600
    [start_date] => 1760763600
    [9] => 0
    [end_date] => 0
    [10] => 61
    [total_sms] => 61
    [11] => 61
    [sent_sms] => 61
    [12] => 0
    [duplicate_sms] => 0
    [13] => 7
    [answered_sms] => 7
    [14] => 5
    [busy_sms] => 5
    [15] => 0
    [congestion_sms] => 0
    [16] => 38
    [failed_sms] => 38
    [17] => 0
    [hangup_sms] => 0
    [18] => 11
    [no_answer_sms] => 11
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 7
    [user_answered_sms] => 7
    [27] => 5
    [user_busy_sms] => 5
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 38
    [user_failed_sms] => 38
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 11
    [user_no_answer_sms] => 11
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u141
    [created_by] => u141
    [38] => 1
    [isScheduled] => 1
    [39] => 1760762522
    [create_date] => 1760762522
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760763607,"compaign_read_start_time":1760763611,"compaign_read_complete_time":1760763611,"compaign_send_start_time":1760763662,"compaign_send_complete_time":1760763665}
    [action_time] => {"api_allot_time":1760763607,"compaign_read_start_time":1760763611,"compaign_read_complete_time":1760763611,"compaign_send_start_time":1760763662,"compaign_send_complete_time":1760763665}
    [50] => 0
    [compaign_file] => 0
    [51] => u141_66588_18102025_103006AM_972
    [common_name] => u141_66588_18102025_103006AM_972
    [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_58169
    [temp_group_table] => contacts_temp_group_58169
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760763722
    [last_credit_update_time] => 1760763722
    [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 : 66588
\compaign_type : Rans per 28.6182 
ans sms 61
dnd sms 0

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_66588 SET user_report='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_66588 SET user_report='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`='11', `user_congestion_sms`='0', `user_failed_sms`='20', `user_hangup_sms`='0', `user_no_answer_sms`='12', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66588 LIMIT 1 


Time Diff : 1.689

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760504641'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760504701'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760504761'  
Array
(
    [0] => 62866
    [compaign_id] => 62866
    [1] => u140
    [user_id] => u140
    [2] => 55954,
    [group_ids] => 55954,
    [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] => 1760763600
    [start_date] => 1760763600
    [9] => 0
    [end_date] => 0
    [10] => 486
    [total_sms] => 486
    [11] => 486
    [sent_sms] => 486
    [12] => 0
    [duplicate_sms] => 0
    [13] => 73
    [answered_sms] => 73
    [14] => 38
    [busy_sms] => 38
    [15] => 0
    [congestion_sms] => 0
    [16] => 119
    [failed_sms] => 119
    [17] => 0
    [hangup_sms] => 0
    [18] => 66
    [no_answer_sms] => 66
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 190
    [cutting_sms] => 190
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 73
    [user_answered_sms] => 73
    [27] => 38
    [user_busy_sms] => 38
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 119
    [user_failed_sms] => 119
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 66
    [user_no_answer_sms] => 66
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u140
    [created_by] => u140
    [38] => 1
    [isScheduled] => 1
    [39] => 1759474373
    [create_date] => 1759474373
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760763607,"compaign_read_start_time":1760763608,"compaign_read_complete_time":1760763608,"compaign_send_start_time":1760763662,"compaign_send_complete_time":1760763665}
    [action_time] => {"api_allot_time":1760763607,"compaign_read_start_time":1760763608,"compaign_read_complete_time":1760763608,"compaign_send_start_time":1760763662,"compaign_send_complete_time":1760763665}
    [50] => 0
    [compaign_file] => 0
    [51] => u140_62866_18102025_103006AM_631
    [common_name] => u140_62866_18102025_103006AM_631
    [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_55954
    [temp_group_table] => contacts_temp_group_55954
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760763901
    [last_credit_update_time] => 1760763901
    [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 : 62866
\compaign_type : Rans per 29.36175 
ans sms 486
dnd sms 0

require answer perrequire answer per : 143

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='143', `user_busy_sms`='92', `user_congestion_sms`='15', `user_failed_sms`='116', `user_hangup_sms`='0', `user_no_answer_sms`='120', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=62866 LIMIT 1 


Time Diff : 0.58

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


Compaign : 66572
\compaign_type : ATans per 26.03344 
ans sms 4563
dnd sms 0

require answer perrequire answer per : 1188

user answer per : 16
below is the redis data 1172 UPDATE voice_compaign_detail_66572 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1172 Total Failed : 0 no_answer_count : 0 Busy count :0 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`='603', `user_congestion_sms`='0', `user_failed_sms`='3861', `user_hangup_sms`='0', `user_no_answer_sms`='83', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 0.576

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760505302'  
Array
(
    [0] => 66611
    [compaign_id] => 66611
    [1] => u20720
    [user_id] => u20720
    [2] => 58184,
    [group_ids] => 58184,
    [3] => 
    [sender_id] => 
    [4] => dhantaras.mp3
    [filename] => dhantaras.mp3
    [5] => 22
    [duration] => 22
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760763968
    [start_date] => 1760763968
    [9] => 0
    [end_date] => 0
    [10] => 9368
    [total_sms] => 9368
    [11] => 9368
    [sent_sms] => 9368
    [12] => 0
    [duplicate_sms] => 0
    [13] => 1262
    [answered_sms] => 1262
    [14] => 405
    [busy_sms] => 405
    [15] => 6
    [congestion_sms] => 6
    [16] => 2228
    [failed_sms] => 2228
    [17] => 0
    [hangup_sms] => 0
    [18] => 1016
    [no_answer_sms] => 1016
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 4451
    [cutting_sms] => 4451
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 1262
    [user_answered_sms] => 1262
    [27] => 405
    [user_busy_sms] => 405
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 2228
    [user_failed_sms] => 2228
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 1016
    [user_no_answer_sms] => 1016
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u20720
    [created_by] => u20720
    [38] => 0
    [isScheduled] => 0
    [39] => 1760763963
    [create_date] => 1760763963
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760763975,"compaign_read_start_time":1760763976,"compaign_read_complete_time":1760763992,"compaign_send_start_time":1760764022,"compaign_send_complete_time":1760764053}
    [action_time] => {"api_allot_time":1760763975,"compaign_read_start_time":1760763976,"compaign_read_complete_time":1760763992,"compaign_send_start_time":1760764022,"compaign_send_complete_time":1760764053}
    [50] => 0
    [compaign_file] => 0
    [51] => u20720_66611_18102025_103613AM_180
    [common_name] => u20720_66611_18102025_103613AM_180
    [52] => 1760763963_u20720_voice.wav
    [voice_file] => 1760763963_u20720_voice.wav
    [53] => normal
    [plan_type] => normal
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_58184
    [temp_group_table] => contacts_temp_group_58184
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => D,FNA,FBZ,FCG,FFL,FHG,FTD,FTR,N,
    [reschedule_types] => D,FNA,FBZ,FCG,FFL,FHG,FTD,FTR,N,
    [72] => 2
    [reschedule_remaining] => 2
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 1760764202
    [reschedule_last_check_time] => 1760764202
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760764442
    [last_credit_update_time] => 1760764442
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1702
    [user_voice_plan_id] => 1702
    [85] => 4
    [voice_plan_id] => 4
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.17
    [pulse_rate] => 0.17
    [89] => trans
    [delivery_route] => trans
    [90] => normal
    [delivery_type] => normal
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => {"1":1760764500,"2":1760768100}
    [rt_time] => {"1":1760764500,"2":1760768100}
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"27"}]
    [alloted_apis] => [{"cli":"","g_id":"27"}]
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr83,sr180,u20720
    [uphierarchy] => admin,sr83,sr180,u20720
    [113] => 
    [extra_params_json] => 
)


Compaign : 66611
\compaign_type : Rans per 28.56632 
ans sms 9368
dnd sms 0

require answer perrequire answer per : 2677

user answer per : 1262
below is the redis data 1415 UPDATE voice_compaign_detail_66611 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1415 Total Failed : 3036 no_answer_count : 1013 Busy count :780 congestion_count : 361 failed_count : 882UPDATE voice_compaign_detail_66611 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 1013 UPDATE voice_compaign_detail_66611 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 780 UPDATE voice_compaign_detail_66611 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 361 UPDATE voice_compaign_detail_66611 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 882 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='2677', `user_busy_sms`='1185', `user_congestion_sms`='367', `user_failed_sms`='3110', `user_hangup_sms`='0', `user_no_answer_sms`='2029', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66611 LIMIT 1 


Time Diff : 0.046

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760505361'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760505422'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760505481'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760505542'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760505601'  
Array
(
    [0] => 66624
    [compaign_id] => 66624
    [1] => u22472
    [user_id] => u22472
    [2] => 58189,
    [group_ids] => 58189,
    [3] => 
    [sender_id] => 
    [4] => varsha (mp3cut.net).mp3
    [filename] => varsha (mp3cut.net).mp3
    [5] => 28
    [duration] => 28
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760764474
    [start_date] => 1760764474
    [9] => 0
    [end_date] => 0
    [10] => 575
    [total_sms] => 575
    [11] => 575
    [sent_sms] => 575
    [12] => 0
    [duplicate_sms] => 0
    [13] => 111
    [answered_sms] => 111
    [14] => 59
    [busy_sms] => 59
    [15] => 0
    [congestion_sms] => 0
    [16] => 100
    [failed_sms] => 100
    [17] => 0
    [hangup_sms] => 0
    [18] => 63
    [no_answer_sms] => 63
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 242
    [cutting_sms] => 242
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 111
    [user_answered_sms] => 111
    [27] => 59
    [user_busy_sms] => 59
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 100
    [user_failed_sms] => 100
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 63
    [user_no_answer_sms] => 63
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u22472
    [created_by] => u22472
    [38] => 0
    [isScheduled] => 0
    [39] => 1760764473
    [create_date] => 1760764473
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760764481,"compaign_read_start_time":1760764483,"compaign_read_complete_time":1760764484,"compaign_send_start_time":1760764502,"compaign_send_complete_time":1760764504}
    [action_time] => {"api_allot_time":1760764481,"compaign_read_start_time":1760764483,"compaign_read_complete_time":1760764484,"compaign_send_start_time":1760764502,"compaign_send_complete_time":1760764504}
    [50] => 0
    [compaign_file] => 0
    [51] => u22472_66624_18102025_104440AM_554
    [common_name] => u22472_66624_18102025_104440AM_554
    [52] => 1760762151_u22472_voice.wav
    [voice_file] => 1760762151_u22472_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [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_58189
    [temp_group_table] => contacts_temp_group_58189
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760764742
    [last_credit_update_time] => 1760764742
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1725
    [user_voice_plan_id] => 1725
    [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,sr183,u22472
    [uphierarchy] => admin,sr27,sr183,u22472
    [113] => 
    [extra_params_json] => 
)


Compaign : 66624
\compaign_type : Rans per 25.74234 
ans sms 575
dnd sms 0

require answer perrequire answer per : 149

user answer per : 111
below is the redis data 38 UPDATE voice_compaign_detail_66624 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 38 Total Failed : 204 no_answer_count : 69 Busy count :53 congestion_count : 25 failed_count : 57UPDATE voice_compaign_detail_66624 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 69 UPDATE voice_compaign_detail_66624 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 53 UPDATE voice_compaign_detail_66624 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 25 UPDATE voice_compaign_detail_66624 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`='149', `user_busy_sms`='112', `user_congestion_sms`='25', `user_failed_sms`='157', `user_hangup_sms`='0', `user_no_answer_sms`='132', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66624 LIMIT 1 


Time Diff : 0.492

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


Compaign : 66625
\compaign_type : Rans per 29.08889 
ans sms 217
dnd sms 7

require answer perrequire answer per : 62

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='62', `user_busy_sms`='57', `user_congestion_sms`='5', `user_failed_sms`='40', `user_hangup_sms`='0', `user_no_answer_sms`='46', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='7' WHERE `compaign_id`=66625 LIMIT 1 


Time Diff : 1.023

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760505662'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760505722'  
Array
(
    [0] => 66626
    [compaign_id] => 66626
    [1] => sr60
    [user_id] => sr60
    [2] => 58191,
    [group_ids] => 58191,
    [3] => 
    [sender_id] => 
    [4] => GAGANVIHAR.mp3
    [filename] => GAGANVIHAR.mp3
    [5] => 18
    [duration] => 18
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760764601
    [start_date] => 1760764601
    [9] => 0
    [end_date] => 0
    [10] => 410
    [total_sms] => 410
    [11] => 410
    [sent_sms] => 410
    [12] => 0
    [duplicate_sms] => 0
    [13] => 47
    [answered_sms] => 47
    [14] => 38
    [busy_sms] => 38
    [15] => 0
    [congestion_sms] => 0
    [16] => 53
    [failed_sms] => 53
    [17] => 0
    [hangup_sms] => 0
    [18] => 49
    [no_answer_sms] => 49
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 101
    [cutting_sms] => 101
    [22] => 122
    [dnd_sms] => 122
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 47
    [user_answered_sms] => 47
    [27] => 38
    [user_busy_sms] => 38
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 53
    [user_failed_sms] => 53
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 49
    [user_no_answer_sms] => 49
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 122
    [user_dnd_sms] => 122
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => sr60
    [created_by] => sr60
    [38] => 0
    [isScheduled] => 0
    [39] => 1760764601
    [create_date] => 1760764601
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760764607,"compaign_read_start_time":1760764609,"compaign_read_complete_time":1760764611,"compaign_send_start_time":1760764622,"compaign_send_complete_time":1760764629}
    [action_time] => {"api_allot_time":1760764607,"compaign_read_start_time":1760764609,"compaign_read_complete_time":1760764611,"compaign_send_start_time":1760764622,"compaign_send_complete_time":1760764629}
    [50] => 0
    [compaign_file] => 0
    [51] => sr60_66626_18102025_104646AM_927
    [common_name] => sr60_66626_18102025_104646AM_927
    [52] => 1760764600_sr60_voice.wav
    [voice_file] => 1760764600_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.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_58191
    [temp_group_table] => contacts_temp_group_58191
    [61] => 0
    [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] => 1760764862
    [last_credit_update_time] => 1760764862
    [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] => 30
    [pulse] => 30
    [88] => 0.11
    [pulse_rate] => 0.11
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 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,sr60
    [uphierarchy] => admin,sr60
    [113] => 
    [extra_params_json] => 
)


Compaign : 66626
\compaign_type : Rans per 26.19319 
ans sms 410
dnd sms 122

require answer perrequire answer per : 76

user answer per : 47
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_66626 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 23 UPDATE voice_compaign_detail_66626 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 23 Total Failed : 71 no_answer_count : 24 Busy count :19 congestion_count : 9 failed_count : 19UPDATE voice_compaign_detail_66626 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 24 UPDATE voice_compaign_detail_66626 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 19 UPDATE voice_compaign_detail_66626 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 9 UPDATE voice_compaign_detail_66626 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 19 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='76', `user_busy_sms`='68', `user_congestion_sms`='9', `user_failed_sms`='56', `user_hangup_sms`='0', `user_no_answer_sms`='79', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='122' WHERE `compaign_id`=66626 LIMIT 1 


Time Diff : 0.693

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


Compaign : 66634
\compaign_type : Rans per 27.42715 
ans sms 155
dnd sms 7

require answer perrequire answer per : 41

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='39', `user_busy_sms`='48', `user_congestion_sms`='0', `user_failed_sms`='35', `user_hangup_sms`='0', `user_no_answer_sms`='26', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='7' WHERE `compaign_id`=66634 LIMIT 1 


Time Diff : 1.826

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760506141'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760506201'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760506262'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760506321'  
Array
(
    [0] => 66636
    [compaign_id] => 66636
    [1] => u20720
    [user_id] => u20720
    [2] => 58195,
    [group_ids] => 58195,
    [3] => 
    [sender_id] => 
    [4] => dhantaras.mp3
    [filename] => dhantaras.mp3
    [5] => 22
    [duration] => 22
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760764500
    [start_date] => 1760764500
    [9] => 0
    [end_date] => 0
    [10] => 9368
    [total_sms] => 9368
    [11] => 9368
    [sent_sms] => 9368
    [12] => 0
    [duplicate_sms] => 0
    [13] => 1353
    [answered_sms] => 1353
    [14] => 403
    [busy_sms] => 403
    [15] => 7
    [congestion_sms] => 7
    [16] => 2138
    [failed_sms] => 2138
    [17] => 0
    [hangup_sms] => 0
    [18] => 923
    [no_answer_sms] => 923
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 4544
    [cutting_sms] => 4544
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 1353
    [user_answered_sms] => 1353
    [27] => 403
    [user_busy_sms] => 403
    [28] => 7
    [user_congestion_sms] => 7
    [29] => 2138
    [user_failed_sms] => 2138
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 923
    [user_no_answer_sms] => 923
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u20720
    [created_by] => u20720
    [38] => 1
    [isScheduled] => 1
    [39] => 1760764971
    [create_date] => 1760764971
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760764983,"compaign_read_start_time":1760764984,"compaign_read_complete_time":1760764998,"compaign_send_start_time":1760765042,"compaign_send_complete_time":1760765069}
    [action_time] => {"api_allot_time":1760764983,"compaign_read_start_time":1760764984,"compaign_read_complete_time":1760764998,"compaign_send_start_time":1760765042,"compaign_send_complete_time":1760765069}
    [50] => 0
    [compaign_file] => 0
    [51] => u20720_66636_18102025_105302AM_895
    [common_name] => u20720_66636_18102025_105302AM_895
    [52] => 1760763963_u20720_voice.wav
    [voice_file] => 1760763963_u20720_voice.wav
    [53] => normal
    [plan_type] => normal
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_58195
    [temp_group_table] => contacts_temp_group_58195
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => 1760765521
    [last_credit_update_time] => 1760765521
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1702
    [user_voice_plan_id] => 1702
    [85] => 4
    [voice_plan_id] => 4
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.17
    [pulse_rate] => 0.17
    [89] => trans
    [delivery_route] => trans
    [90] => normal
    [delivery_type] => normal
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"27"}]
    [alloted_apis] => [{"cli":"","g_id":"27"}]
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr83,sr180,u20720
    [uphierarchy] => admin,sr83,sr180,u20720
    [113] => 
    [extra_params_json] => 
)


Compaign : 66636
\compaign_type : Rans per 30.80976 
ans sms 9368
dnd sms 0

require answer perrequire answer per : 2887

user answer per : 1353
below is the redis data 1534 UPDATE voice_compaign_detail_66636 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1534 Total Failed : 3011 no_answer_count : 1004 Busy count :773 congestion_count : 358 failed_count : 876UPDATE voice_compaign_detail_66636 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 1004 UPDATE voice_compaign_detail_66636 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 773 UPDATE voice_compaign_detail_66636 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 358 UPDATE voice_compaign_detail_66636 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 876 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='2887', `user_busy_sms`='1176', `user_congestion_sms`='364', `user_failed_sms`='3014', `user_hangup_sms`='0', `user_no_answer_sms`='1927', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66636 LIMIT 1 


Time Diff : 0.049

Array
(
    [0] => 66643
    [compaign_id] => 66643
    [1] => u22472
    [user_id] => u22472
    [2] => 58196,
    [group_ids] => 58196,
    [3] => 
    [sender_id] => 
    [4] => varsha (mp3cut.net).mp3
    [filename] => varsha (mp3cut.net).mp3
    [5] => 28
    [duration] => 28
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760765227
    [start_date] => 1760765227
    [9] => 0
    [end_date] => 0
    [10] => 633
    [total_sms] => 633
    [11] => 633
    [sent_sms] => 633
    [12] => 0
    [duplicate_sms] => 0
    [13] => 115
    [answered_sms] => 115
    [14] => 77
    [busy_sms] => 77
    [15] => 0
    [congestion_sms] => 0
    [16] => 107
    [failed_sms] => 107
    [17] => 0
    [hangup_sms] => 0
    [18] => 63
    [no_answer_sms] => 63
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 271
    [cutting_sms] => 271
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 115
    [user_answered_sms] => 115
    [27] => 77
    [user_busy_sms] => 77
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 107
    [user_failed_sms] => 107
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 63
    [user_no_answer_sms] => 63
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u22472
    [created_by] => u22472
    [38] => 0
    [isScheduled] => 0
    [39] => 1760765226
    [create_date] => 1760765226
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760765235,"compaign_read_start_time":1760765236,"compaign_read_complete_time":1760765237,"compaign_send_start_time":1760765282,"compaign_send_complete_time":1760765284}
    [action_time] => {"api_allot_time":1760765235,"compaign_read_start_time":1760765236,"compaign_read_complete_time":1760765237,"compaign_send_start_time":1760765282,"compaign_send_complete_time":1760765284}
    [50] => 0
    [compaign_file] => 0
    [51] => u22472_66643_18102025_105713AM_536
    [common_name] => u22472_66643_18102025_105713AM_536
    [52] => 1760762151_u22472_voice.wav
    [voice_file] => 1760762151_u22472_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [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_58196
    [temp_group_table] => contacts_temp_group_58196
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760765521
    [last_credit_update_time] => 1760765521
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1725
    [user_voice_plan_id] => 1725
    [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,sr183,u22472
    [uphierarchy] => admin,sr27,sr183,u22472
    [113] => 
    [extra_params_json] => 
)


Compaign : 66643
\compaign_type : Rans per 27.25449 
ans sms 633
dnd sms 0

require answer perrequire answer per : 173

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='173', `user_busy_sms`='132', `user_congestion_sms`='26', `user_failed_sms`='167', `user_hangup_sms`='0', `user_no_answer_sms`='135', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66643 LIMIT 1 


Time Diff : 0.346

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760506382'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760506441'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760506501'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760506562'  
Array
(
    [0] => 66589
    [compaign_id] => 66589
    [1] => u61
    [user_id] => u61
    [2] => 58162,
    [group_ids] => 58162,
    [3] => 
    [sender_id] => 
    [4] => Follow 20 Oct.mp3
    [filename] => Follow 20 Oct.mp3
    [5] => 28
    [duration] => 28
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760765400
    [start_date] => 1760765400
    [9] => 0
    [end_date] => 0
    [10] => 1247
    [total_sms] => 1247
    [11] => 1247
    [sent_sms] => 1247
    [12] => 0
    [duplicate_sms] => 0
    [13] => 182
    [answered_sms] => 182
    [14] => 112
    [busy_sms] => 112
    [15] => 2
    [congestion_sms] => 2
    [16] => 155
    [failed_sms] => 155
    [17] => 0
    [hangup_sms] => 0
    [18] => 199
    [no_answer_sms] => 199
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 597
    [cutting_sms] => 597
    [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] => 112
    [user_busy_sms] => 112
    [28] => 2
    [user_congestion_sms] => 2
    [29] => 155
    [user_failed_sms] => 155
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 199
    [user_no_answer_sms] => 199
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u61
    [created_by] => u61
    [38] => 1
    [isScheduled] => 1
    [39] => 1760762521
    [create_date] => 1760762521
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760765407,"compaign_read_start_time":1760765407,"compaign_read_complete_time":1760765409,"compaign_send_start_time":1760765462,"compaign_send_complete_time":1760765472}
    [action_time] => {"api_allot_time":1760765407,"compaign_read_start_time":1760765407,"compaign_read_complete_time":1760765409,"compaign_send_start_time":1760765462,"compaign_send_complete_time":1760765472}
    [50] => 0
    [compaign_file] => 0
    [51] => u61_66589_18102025_110005AM_954
    [common_name] => u61_66589_18102025_110005AM_954
    [52] => 1760762521_u61_voice.wav
    [voice_file] => 1760762521_u61_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.100.241
    [campaign_create_ip] => 10.244.100.241
    [60] => contacts_temp_group_58162
    [temp_group_table] => contacts_temp_group_58162
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 5
    [reschedule_max] => 5
    [71] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR,N,
    [reschedule_types] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR,N,
    [72] => 5
    [reschedule_remaining] => 5
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 1760765702
    [reschedule_last_check_time] => 1760765702
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760765701
    [last_credit_update_time] => 1760765701
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 133
    [user_voice_plan_id] => 133
    [85] => 54
    [voice_plan_id] => 54
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.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] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => {"1":1760767200,"2":1760769000,"3":1760770800,"4":1760772600,"5":1760774400}
    [rt_time] => {"1":1760767200,"2":1760769000,"3":1760770800,"4":1760772600,"5":1760774400}
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"27"}]
    [alloted_apis] => [{"cli":"","g_id":"27"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u61
    [uphierarchy] => admin,u61
    [113] => 
    [extra_params_json] => 
)


Compaign : 66589
\compaign_type : Rans per 28.81411 
ans sms 1247
dnd sms 0

require answer perrequire answer per : 360

user answer per : 182
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_66589 SET user_report='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_66589 SET user_report='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 : 393 no_answer_count : 132 Busy count :101 congestion_count : 47 failed_count : 113UPDATE voice_compaign_detail_66589 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 132 UPDATE voice_compaign_detail_66589 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 101 UPDATE voice_compaign_detail_66589 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 47 UPDATE voice_compaign_detail_66589 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`='360', `user_busy_sms`='280', `user_congestion_sms`='49', `user_failed_sms`='212', `user_hangup_sms`='0', `user_no_answer_sms`='346', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66589 LIMIT 1 


Time Diff : 0.228

Array
(
    [0] => 66610
    [compaign_id] => 66610
    [1] => u22468
    [user_id] => u22468
    [2] => 58181,
    [group_ids] => 58181,
    [3] => 
    [sender_id] => 
    [4] => AUD-20251016-WA0012.mp3
    [filename] => AUD-20251016-WA0012.mp3
    [5] => 17
    [duration] => 17
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760765400
    [start_date] => 1760765400
    [9] => 0
    [end_date] => 0
    [10] => 1142
    [total_sms] => 1142
    [11] => 1142
    [sent_sms] => 1142
    [12] => 0
    [duplicate_sms] => 0
    [13] => 159
    [answered_sms] => 159
    [14] => 127
    [busy_sms] => 127
    [15] => 0
    [congestion_sms] => 0
    [16] => 27
    [failed_sms] => 27
    [17] => 0
    [hangup_sms] => 0
    [18] => 126
    [no_answer_sms] => 126
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 377
    [cutting_sms] => 377
    [22] => 326
    [dnd_sms] => 326
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 159
    [user_answered_sms] => 159
    [27] => 127
    [user_busy_sms] => 127
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 27
    [user_failed_sms] => 27
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 126
    [user_no_answer_sms] => 126
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 326
    [user_dnd_sms] => 326
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u22468
    [created_by] => u22468
    [38] => 1
    [isScheduled] => 1
    [39] => 1760763726
    [create_date] => 1760763726
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760765406,"compaign_read_start_time":1760765410,"compaign_read_complete_time":1760765417,"compaign_send_start_time":1760765462,"compaign_send_complete_time":1760765471}
    [action_time] => {"api_allot_time":1760765406,"compaign_read_start_time":1760765410,"compaign_read_complete_time":1760765417,"compaign_send_start_time":1760765462,"compaign_send_complete_time":1760765471}
    [50] => 0
    [compaign_file] => 0
    [51] => u22468_66610_18102025_110005AM_115
    [common_name] => u22468_66610_18102025_110005AM_115
    [52] => 1760762753_u22468_voice.wav
    [voice_file] => 1760762753_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] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_58181
    [temp_group_table] => contacts_temp_group_58181
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760765701
    [last_credit_update_time] => 1760765701
    [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 : 66610
\compaign_type : Rans per 25.2556 
ans sms 1142
dnd sms 326

require answer perrequire answer per : 207

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='207', `user_busy_sms`='212', `user_congestion_sms`='40', `user_failed_sms`='121', `user_hangup_sms`='0', `user_no_answer_sms`='236', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='326' WHERE `compaign_id`=66610 LIMIT 1 


Time Diff : 0.248

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


Compaign : 66645
\compaign_type : Rans per 26.53126 
ans sms 116
dnd sms 7

require answer perrequire answer per : 29

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


Time Diff : 2.44

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760506742'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760506801'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760506862'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760506922'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760506981'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760507041'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760507102'  
Array
(
    [0] => 66647
    [compaign_id] => 66647
    [1] => sr87
    [user_id] => sr87
    [2] => 58198,
    [group_ids] => 58198,
    [3] => 
    [sender_id] => 
    [4] => MAHAPRASAD_KENDRAPADA_DHANTERAS25.mp3
    [filename] => MAHAPRASAD_KENDRAPADA_DHANTERAS25.mp3
    [5] => 29
    [duration] => 29
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760765727
    [start_date] => 1760765727
    [9] => 0
    [end_date] => 0
    [10] => 6976
    [total_sms] => 6976
    [11] => 6976
    [sent_sms] => 6976
    [12] => 0
    [duplicate_sms] => 0
    [13] => 1096
    [answered_sms] => 1096
    [14] => 422
    [busy_sms] => 422
    [15] => 10
    [congestion_sms] => 10
    [16] => 855
    [failed_sms] => 855
    [17] => 0
    [hangup_sms] => 0
    [18] => 1224
    [no_answer_sms] => 1224
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 3369
    [cutting_sms] => 3369
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 1096
    [user_answered_sms] => 1096
    [27] => 422
    [user_busy_sms] => 422
    [28] => 10
    [user_congestion_sms] => 10
    [29] => 855
    [user_failed_sms] => 855
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 1224
    [user_no_answer_sms] => 1224
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => sr87
    [created_by] => sr87
    [38] => 0
    [isScheduled] => 0
    [39] => 1760765725
    [create_date] => 1760765725
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760765736,"compaign_read_start_time":1760765737,"compaign_read_complete_time":1760765748,"compaign_send_start_time":1760765762,"compaign_send_complete_time":1760765784}
    [action_time] => {"api_allot_time":1760765736,"compaign_read_start_time":1760765737,"compaign_read_complete_time":1760765748,"compaign_send_start_time":1760765762,"compaign_send_complete_time":1760765784}
    [50] => 0
    [compaign_file] => 0
    [51] => sr87_66647_18102025_110534AM_538
    [common_name] => sr87_66647_18102025_110534AM_538
    [52] => 1760765725_sr87_voice.wav
    [voice_file] => 1760765725_sr87_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [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_58198
    [temp_group_table] => contacts_temp_group_58198
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => 1760766241
    [last_credit_update_time] => 1760766241
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 214
    [user_voice_plan_id] => 214
    [85] => 11
    [voice_plan_id] => 11
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.14
    [pulse_rate] => 0.14
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [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
    [uphierarchy] => admin,sr27,sr87
    [113] => 
    [extra_params_json] => 
)


Compaign : 66647
\compaign_type : Rans per 28.69107 
ans sms 6976
dnd sms 0

require answer perrequire answer per : 2002

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


 Blank User Record End

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


Compaign : 66652
\compaign_type : Rans per 30.27177 
ans sms 103
dnd sms 7

require answer perrequire answer per : 30

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='7', `user_busy_sms`='43', `user_congestion_sms`='0', `user_failed_sms`='32', `user_hangup_sms`='0', `user_no_answer_sms`='14', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='7' WHERE `compaign_id`=66652 LIMIT 1 


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


Compaign : 66572
\compaign_type : ATans per 25.55257 
ans sms 6289
dnd sms 0

require answer perrequire answer per : 1608

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='31', `user_busy_sms`='1208', `user_congestion_sms`='0', `user_failed_sms`='4865', `user_hangup_sms`='0', `user_no_answer_sms`='185', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 0.799

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


Compaign : 66658
\compaign_type : Rans per 30.59382 
ans sms 96
dnd sms 7

require answer perrequire answer per : 28

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='1', `user_busy_sms`='40', `user_congestion_sms`='0', `user_failed_sms`='34', `user_hangup_sms`='0', `user_no_answer_sms`='14', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='7' WHERE `compaign_id`=66658 LIMIT 1 


Time Diff : 2.927

Array
(
    [0] => 66659
    [compaign_id] => 66659
    [1] => sr60
    [user_id] => sr60
    [2] => 58202,
    [group_ids] => 58202,
    [3] => 
    [sender_id] => 
    [4] => GAGANVIHAR.mp3
    [filename] => GAGANVIHAR.mp3
    [5] => 18
    [duration] => 18
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760766725
    [start_date] => 1760766725
    [9] => 0
    [end_date] => 0
    [10] => 334
    [total_sms] => 334
    [11] => 334
    [sent_sms] => 334
    [12] => 0
    [duplicate_sms] => 0
    [13] => 24
    [answered_sms] => 24
    [14] => 32
    [busy_sms] => 32
    [15] => 0
    [congestion_sms] => 0
    [16] => 51
    [failed_sms] => 51
    [17] => 0
    [hangup_sms] => 0
    [18] => 24
    [no_answer_sms] => 24
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 81
    [cutting_sms] => 81
    [22] => 122
    [dnd_sms] => 122
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 24
    [user_answered_sms] => 24
    [27] => 32
    [user_busy_sms] => 32
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 51
    [user_failed_sms] => 51
    [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] => 122
    [user_dnd_sms] => 122
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => sr60
    [created_by] => sr60
    [38] => 0
    [isScheduled] => 0
    [39] => 1760766725
    [create_date] => 1760766725
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760766732,"compaign_read_start_time":1760766736,"compaign_read_complete_time":1760766737,"compaign_send_start_time":1760766782,"compaign_send_complete_time":1760766783}
    [action_time] => {"api_allot_time":1760766732,"compaign_read_start_time":1760766736,"compaign_read_complete_time":1760766737,"compaign_send_start_time":1760766782,"compaign_send_complete_time":1760766783}
    [50] => 0
    [compaign_file] => 0
    [51] => sr60_66659_18102025_112212AM_543
    [common_name] => sr60_66659_18102025_112212AM_543
    [52] => 1760764600_sr60_voice.wav
    [voice_file] => 1760764600_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_58202
    [temp_group_table] => contacts_temp_group_58202
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => 1
    [extension_key] => 1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760767021
    [last_credit_update_time] => 1760767021
    [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] => 30
    [pulse] => 30
    [88] => 0.11
    [pulse_rate] => 0.11
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 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,sr60
    [uphierarchy] => admin,sr60
    [113] => 
    [extra_params_json] => 
)


Compaign : 66659
\compaign_type : Rans per 26.43755 
ans sms 334
dnd sms 122

require answer perrequire answer per : 57

user answer per : 24
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_66659 SET user_report='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_66659 SET user_report='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 : 61 no_answer_count : 21 Busy count :16 congestion_count : 8 failed_count : 16UPDATE voice_compaign_detail_66659 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 21 UPDATE voice_compaign_detail_66659 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 16 UPDATE voice_compaign_detail_66659 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 8 UPDATE voice_compaign_detail_66659 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 16 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='57', `user_busy_sms`='51', `user_congestion_sms`='8', `user_failed_sms`='39', `user_hangup_sms`='0', `user_no_answer_sms`='57', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='122' WHERE `compaign_id`=66659 LIMIT 1 


Time Diff : 0.841

Array
(
    [0] => 66660
    [compaign_id] => 66660
    [1] => u288
    [user_id] => u288
    [2] => 58204,
    [group_ids] => 58204,
    [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] => 1760766762
    [start_date] => 1760766762
    [9] => 0
    [end_date] => 0
    [10] => 2101
    [total_sms] => 2101
    [11] => 2101
    [sent_sms] => 2101
    [12] => 0
    [duplicate_sms] => 0
    [13] => 295
    [answered_sms] => 295
    [14] => 205
    [busy_sms] => 205
    [15] => 3
    [congestion_sms] => 3
    [16] => 324
    [failed_sms] => 324
    [17] => 0
    [hangup_sms] => 0
    [18] => 211
    [no_answer_sms] => 211
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 1063
    [cutting_sms] => 1063
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 295
    [user_answered_sms] => 295
    [27] => 205
    [user_busy_sms] => 205
    [28] => 3
    [user_congestion_sms] => 3
    [29] => 324
    [user_failed_sms] => 324
    [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] => 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] => 1760766761
    [create_date] => 1760766761
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760766769,"compaign_read_start_time":1760766769,"compaign_read_complete_time":1760766772,"compaign_send_start_time":1760766782,"compaign_send_complete_time":1760766787}
    [action_time] => {"api_allot_time":1760766769,"compaign_read_start_time":1760766769,"compaign_read_complete_time":1760766772,"compaign_send_start_time":1760766782,"compaign_send_complete_time":1760766787}
    [50] => 0
    [compaign_file] => 0
    [51] => u288_66660_18102025_112248AM_396
    [common_name] => u288_66660_18102025_112248AM_396
    [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_58204
    [temp_group_table] => contacts_temp_group_58204
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 4
    [reschedule_max] => 4
    [71] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR,N,
    [reschedule_types] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR,N,
    [72] => 4
    [reschedule_remaining] => 4
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 1760766902
    [reschedule_last_check_time] => 1760766902
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760767021
    [last_credit_update_time] => 1760767021
    [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 : 66660
\compaign_type : Rans per 25.71249 
ans sms 2101
dnd sms 0

require answer perrequire answer per : 541

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='541', `user_busy_sms`='472', `user_congestion_sms`='97', `user_failed_sms`='458', `user_hangup_sms`='0', `user_no_answer_sms`='533', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66660 LIMIT 1 


Time Diff : 0.134

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760507941'  
Array
(
    [0] => 66661
    [compaign_id] => 66661
    [1] => u349
    [user_id] => u349
    [2] => 58205,
    [group_ids] => 58205,
    [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] => 1760766848
    [start_date] => 1760766848
    [9] => 0
    [end_date] => 0
    [10] => 74
    [total_sms] => 74
    [11] => 74
    [sent_sms] => 74
    [12] => 0
    [duplicate_sms] => 0
    [13] => 21
    [answered_sms] => 21
    [14] => 12
    [busy_sms] => 12
    [15] => 0
    [congestion_sms] => 0
    [16] => 8
    [failed_sms] => 8
    [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] => 10
    [dnd_sms] => 10
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 21
    [user_answered_sms] => 21
    [27] => 12
    [user_busy_sms] => 12
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 8
    [user_failed_sms] => 8
    [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] => 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] => 1760766848
    [create_date] => 1760766848
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760766855,"compaign_read_start_time":1760766856,"compaign_read_complete_time":1760766856,"compaign_send_start_time":1760766902,"compaign_send_complete_time":1760766902}
    [action_time] => {"api_allot_time":1760766855,"compaign_read_start_time":1760766856,"compaign_read_complete_time":1760766856,"compaign_send_start_time":1760766902,"compaign_send_complete_time":1760766902}
    [50] => 0
    [compaign_file] => 0
    [51] => u349_66661_18102025_112413AM_316
    [common_name] => u349_66661_18102025_112413AM_316
    [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_58205
    [temp_group_table] => contacts_temp_group_58205
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 5
    [reschedule_max] => 5
    [71] => D,FNA,FBZ,FCG,FFL,FHG,FTD,FTR,N,
    [reschedule_types] => D,FNA,FBZ,FCG,FFL,FHG,FTD,FTR,N,
    [72] => 5
    [reschedule_remaining] => 5
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760767082
    [last_credit_update_time] => 1760767082
    [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 : 66661
\compaign_type : Rans per 29.05385 
ans sms 74
dnd sms 10

require answer perrequire answer per : 19

user answer per : 21
Total Failed : 0 no_answer_count : 0 Busy count :0 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`='12', `user_congestion_sms`='0', `user_failed_sms`='8', `user_hangup_sms`='0', `user_no_answer_sms`='23', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='10' WHERE `compaign_id`=66661 LIMIT 1 


Time Diff : 3.027

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760508002'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760508062'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760508121'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760508182'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760508242'  
Array
(
    [0] => 66665
    [compaign_id] => 66665
    [1] => u22468
    [user_id] => u22468
    [2] => 58208,
    [group_ids] => 58208,
    [3] => 
    [sender_id] => 
    [4] => AUD-20251016-WA0012.mp3
    [filename] => AUD-20251016-WA0012.mp3
    [5] => 17
    [duration] => 17
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760767158
    [start_date] => 1760767158
    [9] => 0
    [end_date] => 0
    [10] => 2004
    [total_sms] => 2004
    [11] => 2004
    [sent_sms] => 2004
    [12] => 0
    [duplicate_sms] => 0
    [13] => 404
    [answered_sms] => 404
    [14] => 153
    [busy_sms] => 153
    [15] => 1
    [congestion_sms] => 1
    [16] => 96
    [failed_sms] => 96
    [17] => 0
    [hangup_sms] => 0
    [18] => 216
    [no_answer_sms] => 216
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 808
    [cutting_sms] => 808
    [22] => 326
    [dnd_sms] => 326
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 404
    [user_answered_sms] => 404
    [27] => 153
    [user_busy_sms] => 153
    [28] => 1
    [user_congestion_sms] => 1
    [29] => 96
    [user_failed_sms] => 96
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 216
    [user_no_answer_sms] => 216
    [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] => 1760767157
    [create_date] => 1760767157
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760767164,"compaign_read_start_time":1760767165,"compaign_read_complete_time":1760767170,"compaign_send_start_time":1760767202,"compaign_send_complete_time":1760767206}
    [action_time] => {"api_allot_time":1760767164,"compaign_read_start_time":1760767165,"compaign_read_complete_time":1760767170,"compaign_send_start_time":1760767202,"compaign_send_complete_time":1760767206}
    [50] => 0
    [compaign_file] => 0
    [51] => u22468_66665_18102025_112923AM_700
    [common_name] => u22468_66665_18102025_112923AM_700
    [52] => 1760767157_u22468_voice.wav
    [voice_file] => 1760767157_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_58208
    [temp_group_table] => contacts_temp_group_58208
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760767442
    [last_credit_update_time] => 1760767442
    [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 : 66665
\compaign_type : Rans per 27.39243 
ans sms 2004
dnd sms 326

require answer perrequire answer per : 460

user answer per : 404
below is the redis data 56 UPDATE voice_compaign_detail_66665 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 56 Total Failed : 752 no_answer_count : 251 Busy count :193 congestion_count : 90 failed_count : 218UPDATE voice_compaign_detail_66665 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 251 UPDATE voice_compaign_detail_66665 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 193 UPDATE voice_compaign_detail_66665 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 90 UPDATE voice_compaign_detail_66665 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 218 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='460', `user_busy_sms`='346', `user_congestion_sms`='91', `user_failed_sms`='314', `user_hangup_sms`='0', `user_no_answer_sms`='467', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='326' WHERE `compaign_id`=66665 LIMIT 1 


Time Diff : 0.112

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760508301'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760508362'  
Array
(
    [0] => 66653
    [compaign_id] => 66653
    [1] => u61
    [user_id] => u61
    [2] => 58201,
    [group_ids] => 58201,
    [3] => 
    [sender_id] => 
    [4] => Follow 20 Oct.mp3
    [filename] => Follow 20 Oct.mp3
    [5] => 28
    [duration] => 28
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760767200
    [start_date] => 1760767200
    [9] => 0
    [end_date] => 0
    [10] => 887
    [total_sms] => 887
    [11] => 887
    [sent_sms] => 887
    [12] => 0
    [duplicate_sms] => 0
    [13] => 121
    [answered_sms] => 121
    [14] => 62
    [busy_sms] => 62
    [15] => 1
    [congestion_sms] => 1
    [16] => 144
    [failed_sms] => 144
    [17] => 0
    [hangup_sms] => 0
    [18] => 146
    [no_answer_sms] => 146
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 413
    [cutting_sms] => 413
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 121
    [user_answered_sms] => 121
    [27] => 62
    [user_busy_sms] => 62
    [28] => 1
    [user_congestion_sms] => 1
    [29] => 144
    [user_failed_sms] => 144
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 146
    [user_no_answer_sms] => 146
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u61
    [created_by] => u61
    [38] => 1
    [isScheduled] => 1
    [39] => 1760766125
    [create_date] => 1760766125
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760767207,"compaign_read_start_time":1760767207,"compaign_read_complete_time":1760767209,"compaign_send_start_time":1760767262,"compaign_send_complete_time":1760767269}
    [action_time] => {"api_allot_time":1760767207,"compaign_read_start_time":1760767207,"compaign_read_complete_time":1760767209,"compaign_send_start_time":1760767262,"compaign_send_complete_time":1760767269}
    [50] => 0
    [compaign_file] => 0
    [51] => u61_66653_18102025_113006AM_179
    [common_name] => u61_66653_18102025_113006AM_179
    [52] => 1760762521_u61_voice.wav
    [voice_file] => 1760762521_u61_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_58201
    [temp_group_table] => contacts_temp_group_58201
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760767501
    [last_credit_update_time] => 1760767501
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 133
    [user_voice_plan_id] => 133
    [85] => 54
    [voice_plan_id] => 54
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.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] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"27"}]
    [alloted_apis] => [{"cli":"","g_id":"27"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u61
    [uphierarchy] => admin,u61
    [113] => 
    [extra_params_json] => 
)


Compaign : 66653
\compaign_type : Rans per 29.35798 
ans sms 887
dnd sms 0

require answer perrequire answer per : 261

user answer per : 121
below is the redis data 140 /n/r
only no answer and busy will be convert, total number require 140 /n/r
UPDATE voice_compaign_detail_66653 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 103 UPDATE voice_compaign_detail_66653 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 103 Total Failed : 261 no_answer_count : 88 Busy count :67 congestion_count : 31 failed_count : 75UPDATE voice_compaign_detail_66653 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 88 UPDATE voice_compaign_detail_66653 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 67 UPDATE voice_compaign_detail_66653 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 31 UPDATE voice_compaign_detail_66653 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`='261', `user_busy_sms`='191', `user_congestion_sms`='32', `user_failed_sms`='165', `user_hangup_sms`='0', `user_no_answer_sms`='238', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66653 LIMIT 1 


Time Diff : 0.317

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760508422'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760508481'  
Array
(
    [0] => 66668
    [compaign_id] => 66668
    [1] => u349
    [user_id] => u349
    [2] => 58211,
    [group_ids] => 58211,
    [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] => 1760767322
    [start_date] => 1760767322
    [9] => 0
    [end_date] => 0
    [10] => 74
    [total_sms] => 74
    [11] => 74
    [sent_sms] => 74
    [12] => 0
    [duplicate_sms] => 0
    [13] => 25
    [answered_sms] => 25
    [14] => 14
    [busy_sms] => 14
    [15] => 0
    [congestion_sms] => 0
    [16] => 8
    [failed_sms] => 8
    [17] => 0
    [hangup_sms] => 0
    [18] => 17
    [no_answer_sms] => 17
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 10
    [dnd_sms] => 10
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 25
    [user_answered_sms] => 25
    [27] => 14
    [user_busy_sms] => 14
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 8
    [user_failed_sms] => 8
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 17
    [user_no_answer_sms] => 17
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 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] => 1760767322
    [create_date] => 1760767322
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760767330,"compaign_read_start_time":1760767330,"compaign_read_complete_time":1760767330,"compaign_send_start_time":1760767381,"compaign_send_complete_time":1760767382}
    [action_time] => {"api_allot_time":1760767330,"compaign_read_start_time":1760767330,"compaign_read_complete_time":1760767330,"compaign_send_start_time":1760767381,"compaign_send_complete_time":1760767382}
    [50] => 0
    [compaign_file] => 0
    [51] => u349_66668_18102025_113207AM_622
    [common_name] => u349_66668_18102025_113207AM_622
    [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_58211
    [temp_group_table] => contacts_temp_group_58211
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760767622
    [last_credit_update_time] => 1760767622
    [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 : 66668
\compaign_type : Rans per 28.60405 
ans sms 74
dnd sms 10

require answer perrequire answer per : 19

user answer per : 25
Total Failed : 0 no_answer_count : 0 Busy count :0 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`='14', `user_congestion_sms`='0', `user_failed_sms`='8', `user_hangup_sms`='0', `user_no_answer_sms`='17', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='10' WHERE `compaign_id`=66668 LIMIT 1 


Time Diff : 3.838

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


Compaign : 66669
\compaign_type : Rans per 28.98167 
ans sms 95
dnd sms 7

require answer perrequire answer per : 26

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='3', `user_busy_sms`='42', `user_congestion_sms`='0', `user_failed_sms`='31', `user_hangup_sms`='0', `user_no_answer_sms`='12', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='7' WHERE `compaign_id`=66669 LIMIT 1 


Time Diff : 2.926

Array
(
    [0] => 66670
    [compaign_id] => 66670
    [1] => u288
    [user_id] => u288
    [2] => 58210,
    [group_ids] => 58210,
    [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] => 1760767336
    [start_date] => 1760767336
    [9] => 0
    [end_date] => 0
    [10] => 1560
    [total_sms] => 1560
    [11] => 1560
    [sent_sms] => 1560
    [12] => 0
    [duplicate_sms] => 0
    [13] => 176
    [answered_sms] => 176
    [14] => 147
    [busy_sms] => 147
    [15] => 1
    [congestion_sms] => 1
    [16] => 313
    [failed_sms] => 313
    [17] => 0
    [hangup_sms] => 0
    [18] => 163
    [no_answer_sms] => 163
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 760
    [cutting_sms] => 760
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 176
    [user_answered_sms] => 176
    [27] => 147
    [user_busy_sms] => 147
    [28] => 1
    [user_congestion_sms] => 1
    [29] => 313
    [user_failed_sms] => 313
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 163
    [user_no_answer_sms] => 163
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u288
    [created_by] => u288
    [38] => 0
    [isScheduled] => 0
    [39] => 1760767336
    [create_date] => 1760767336
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760767342,"compaign_read_start_time":1760767345,"compaign_read_complete_time":1760767347,"compaign_send_start_time":1760767382,"compaign_send_complete_time":1760767385}
    [action_time] => {"api_allot_time":1760767342,"compaign_read_start_time":1760767345,"compaign_read_complete_time":1760767347,"compaign_send_start_time":1760767382,"compaign_send_complete_time":1760767385}
    [50] => 0
    [compaign_file] => 0
    [51] => u288_66670_18102025_113221AM_266
    [common_name] => u288_66670_18102025_113221AM_266
    [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_58210
    [temp_group_table] => contacts_temp_group_58210
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760767622
    [last_credit_update_time] => 1760767622
    [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 : 66670
\compaign_type : Rans per 29.27088 
ans sms 1560
dnd sms 0

require answer perrequire answer per : 457

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='457', `user_busy_sms`='334', `user_congestion_sms`='57', `user_failed_sms`='336', `user_hangup_sms`='0', `user_no_answer_sms`='376', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66670 LIMIT 1 


Time Diff : 0.182

Array
(
    [0] => 66671
    [compaign_id] => 66671
    [1] => u22468
    [user_id] => u22468
    [2] => 58212,
    [group_ids] => 58212,
    [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] => 1760767342
    [start_date] => 1760767342
    [9] => 0
    [end_date] => 0
    [10] => 2004
    [total_sms] => 2004
    [11] => 2004
    [sent_sms] => 2004
    [12] => 0
    [duplicate_sms] => 0
    [13] => 378
    [answered_sms] => 378
    [14] => 161
    [busy_sms] => 161
    [15] => 0
    [congestion_sms] => 0
    [16] => 100
    [failed_sms] => 100
    [17] => 0
    [hangup_sms] => 0
    [18] => 209
    [no_answer_sms] => 209
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 830
    [cutting_sms] => 830
    [22] => 326
    [dnd_sms] => 326
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 378
    [user_answered_sms] => 378
    [27] => 161
    [user_busy_sms] => 161
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 100
    [user_failed_sms] => 100
    [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] => 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] => 1760767341
    [create_date] => 1760767341
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760767349,"compaign_read_start_time":1760767351,"compaign_read_complete_time":1760767354,"compaign_send_start_time":1760767382,"compaign_send_complete_time":1760767386}
    [action_time] => {"api_allot_time":1760767349,"compaign_read_start_time":1760767351,"compaign_read_complete_time":1760767354,"compaign_send_start_time":1760767382,"compaign_send_complete_time":1760767386}
    [50] => 0
    [compaign_file] => 0
    [51] => u22468_66671_18102025_113227AM_429
    [common_name] => u22468_66671_18102025_113227AM_429
    [52] => 1760767341_u22468_voice.wav
    [voice_file] => 1760767341_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_58212
    [temp_group_table] => contacts_temp_group_58212
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760767622
    [last_credit_update_time] => 1760767622
    [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 : 66671
\compaign_type : Rans per 27.09534 
ans sms 2004
dnd sms 326

require answer perrequire answer per : 455

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='455', `user_busy_sms`='355', `user_congestion_sms`='90', `user_failed_sms`='317', `user_hangup_sms`='0', `user_no_answer_sms`='461', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='326' WHERE `compaign_id`=66671 LIMIT 1 


Time Diff : 0.139

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760508542'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760508602'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760508661'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760508722'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760508781'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760508841'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760508902'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760508961'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760509021'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760509082'  
Array
(
    [0] => 66675
    [compaign_id] => 66675
    [1] => u349
    [user_id] => u349
    [2] => 58214,
    [group_ids] => 58214,
    [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] => 1760767922
    [start_date] => 1760767922
    [9] => 0
    [end_date] => 0
    [10] => 74
    [total_sms] => 74
    [11] => 74
    [sent_sms] => 74
    [12] => 0
    [duplicate_sms] => 0
    [13] => 19
    [answered_sms] => 19
    [14] => 13
    [busy_sms] => 13
    [15] => 0
    [congestion_sms] => 0
    [16] => 10
    [failed_sms] => 10
    [17] => 0
    [hangup_sms] => 0
    [18] => 22
    [no_answer_sms] => 22
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 10
    [dnd_sms] => 10
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 19
    [user_answered_sms] => 19
    [27] => 13
    [user_busy_sms] => 13
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 10
    [user_failed_sms] => 10
    [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] => 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] => 1760767922
    [create_date] => 1760767922
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760767930,"compaign_read_start_time":1760767931,"compaign_read_complete_time":1760767931,"compaign_send_start_time":1760767981,"compaign_send_complete_time":1760767982}
    [action_time] => {"api_allot_time":1760767930,"compaign_read_start_time":1760767931,"compaign_read_complete_time":1760767931,"compaign_send_start_time":1760767981,"compaign_send_complete_time":1760767982}
    [50] => 0
    [compaign_file] => 0
    [51] => u349_66675_18102025_114208AM_743
    [common_name] => u349_66675_18102025_114208AM_743
    [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_58214
    [temp_group_table] => contacts_temp_group_58214
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760768221
    [last_credit_update_time] => 1760768221
    [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 : 66675
\compaign_type : Rans per 28.73779 
ans sms 74
dnd sms 10

require answer perrequire answer per : 19

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


 Blank User Record End

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


Time Diff : 3.797

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760509141'  
Array
(
    [0] => 66680
    [compaign_id] => 66680
    [1] => u607
    [user_id] => u607
    [2] => 58217,
    [group_ids] => 58217,
    [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] => 1760767978
    [start_date] => 1760767978
    [9] => 0
    [end_date] => 0
    [10] => 4000
    [total_sms] => 4000
    [11] => 4000
    [sent_sms] => 4000
    [12] => 0
    [duplicate_sms] => 0
    [13] => 337
    [answered_sms] => 337
    [14] => 232
    [busy_sms] => 232
    [15] => 6
    [congestion_sms] => 6
    [16] => 972
    [failed_sms] => 972
    [17] => 0
    [hangup_sms] => 0
    [18] => 424
    [no_answer_sms] => 424
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2029
    [cutting_sms] => 2029
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 337
    [user_answered_sms] => 337
    [27] => 232
    [user_busy_sms] => 232
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 972
    [user_failed_sms] => 972
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 424
    [user_no_answer_sms] => 424
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u607
    [created_by] => u607
    [38] => 0
    [isScheduled] => 0
    [39] => 1760767977
    [create_date] => 1760767977
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760767985,"compaign_read_start_time":1760767987,"compaign_read_complete_time":1760767993,"compaign_send_start_time":1760768042,"compaign_send_complete_time":1760768050}
    [action_time] => {"api_allot_time":1760767985,"compaign_read_start_time":1760767987,"compaign_read_complete_time":1760767993,"compaign_send_start_time":1760768042,"compaign_send_complete_time":1760768050}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_66680_18102025_114303AM_369
    [common_name] => u607_66680_18102025_114303AM_369
    [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_58217
    [temp_group_table] => contacts_temp_group_58217
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760768282
    [last_credit_update_time] => 1760768282
    [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 : 66680
\compaign_type : Rans per 26.06359 
ans sms 4000
dnd sms 0

require answer perrequire answer per : 1043

user answer per : 337
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_66680 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 544 UPDATE voice_compaign_detail_66680 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 544 Total Failed : 1291 no_answer_count : 431 Busy count :332 congestion_count : 154 failed_count : 374UPDATE voice_compaign_detail_66680 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 431 UPDATE voice_compaign_detail_66680 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 332 UPDATE voice_compaign_detail_66680 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 154 UPDATE voice_compaign_detail_66680 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 374 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='993', `user_busy_sms`='876', `user_congestion_sms`='158', `user_failed_sms`='998', `user_hangup_sms`='0', `user_no_answer_sms`='975', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66680 LIMIT 1 


Time Diff : 0.071

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760509201'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760509262'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760509321'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760509383'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760509441'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760509501'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760509561'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760509621'  
Array
(
    [0] => 66686
    [compaign_id] => 66686
    [1] => u349
    [user_id] => u349
    [2] => 58220,
    [group_ids] => 58220,
    [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] => 1760768522
    [start_date] => 1760768522
    [9] => 0
    [end_date] => 0
    [10] => 74
    [total_sms] => 74
    [11] => 74
    [sent_sms] => 74
    [12] => 0
    [duplicate_sms] => 0
    [13] => 19
    [answered_sms] => 19
    [14] => 18
    [busy_sms] => 18
    [15] => 0
    [congestion_sms] => 0
    [16] => 8
    [failed_sms] => 8
    [17] => 0
    [hangup_sms] => 0
    [18] => 19
    [no_answer_sms] => 19
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 10
    [dnd_sms] => 10
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 19
    [user_answered_sms] => 19
    [27] => 18
    [user_busy_sms] => 18
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 8
    [user_failed_sms] => 8
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 19
    [user_no_answer_sms] => 19
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 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] => 1760768522
    [create_date] => 1760768522
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760768529,"compaign_read_start_time":1760768530,"compaign_read_complete_time":1760768532,"compaign_send_start_time":1760768583,"compaign_send_complete_time":1760768588}
    [action_time] => {"api_allot_time":1760768529,"compaign_read_start_time":1760768530,"compaign_read_complete_time":1760768532,"compaign_send_start_time":1760768583,"compaign_send_complete_time":1760768588}
    [50] => 0
    [compaign_file] => 0
    [51] => u349_66686_18102025_115207AM_238
    [common_name] => u349_66686_18102025_115207AM_238
    [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_58220
    [temp_group_table] => contacts_temp_group_58220
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760768821
    [last_credit_update_time] => 1760768821
    [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 : 66686
\compaign_type : Rans per 29.10702 
ans sms 74
dnd sms 10

require answer perrequire answer per : 19

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


 Blank User Record End

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


Time Diff : 2.554

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760509682'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760509741'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760509802'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760509861'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760509921'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760509982'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760510042'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760510101'  
Array
(
    [0] => 66492
    [compaign_id] => 66492
    [1] => u20128
    [user_id] => u20128
    [2] => 58089,
    [group_ids] => 58089,
    [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] => 1760769000
    [start_date] => 1760769000
    [9] => 0
    [end_date] => 0
    [10] => 364
    [total_sms] => 364
    [11] => 364
    [sent_sms] => 364
    [12] => 0
    [duplicate_sms] => 0
    [13] => 47
    [answered_sms] => 47
    [14] => 54
    [busy_sms] => 54
    [15] => 1
    [congestion_sms] => 1
    [16] => 44
    [failed_sms] => 44
    [17] => 0
    [hangup_sms] => 0
    [18] => 91
    [no_answer_sms] => 91
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 127
    [cutting_sms] => 127
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 47
    [user_answered_sms] => 47
    [27] => 54
    [user_busy_sms] => 54
    [28] => 1
    [user_congestion_sms] => 1
    [29] => 44
    [user_failed_sms] => 44
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 91
    [user_no_answer_sms] => 91
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u20128
    [created_by] => u20128
    [38] => 1
    [isScheduled] => 1
    [39] => 1760694723
    [create_date] => 1760694723
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760769006,"compaign_read_start_time":1760769008,"compaign_read_complete_time":1760769009,"compaign_send_start_time":1760769061,"compaign_send_complete_time":1760769063}
    [action_time] => {"api_allot_time":1760769006,"compaign_read_start_time":1760769008,"compaign_read_complete_time":1760769009,"compaign_send_start_time":1760769061,"compaign_send_complete_time":1760769063}
    [50] => 0
    [compaign_file] => 0
    [51] => u20128_66492_18102025_120006PM_213
    [common_name] => u20128_66492_18102025_120006PM_213
    [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] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_58089
    [temp_group_table] => contacts_temp_group_58089
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [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] => 1760769301
    [last_credit_update_time] => 1760769301
    [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] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":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 : 66492
\compaign_type : Rans per 27.85614 
ans sms 364
dnd sms 0

require answer perrequire answer per : 102

user answer per : 47
below is the redis data 55 UPDATE voice_compaign_detail_66492 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 55 Total Failed : 73 no_answer_count : 25 Busy count :19 congestion_count : 9 failed_count : 20UPDATE voice_compaign_detail_66492 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 25 UPDATE voice_compaign_detail_66492 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 19 UPDATE voice_compaign_detail_66492 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 9 UPDATE voice_compaign_detail_66492 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`='102', `user_busy_sms`='73', `user_congestion_sms`='9', `user_failed_sms`='64', `user_hangup_sms`='0', `user_no_answer_sms`='116', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66492 LIMIT 1 


Time Diff : 0.602

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760510162'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760510222'  
Array
(
    [0] => 66696
    [compaign_id] => 66696
    [1] => u349
    [user_id] => u349
    [2] => 58225,
    [group_ids] => 58225,
    [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] => 1760769122
    [start_date] => 1760769122
    [9] => 0
    [end_date] => 0
    [10] => 74
    [total_sms] => 74
    [11] => 74
    [sent_sms] => 74
    [12] => 0
    [duplicate_sms] => 0
    [13] => 19
    [answered_sms] => 19
    [14] => 14
    [busy_sms] => 14
    [15] => 1
    [congestion_sms] => 1
    [16] => 10
    [failed_sms] => 10
    [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] => 10
    [dnd_sms] => 10
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 19
    [user_answered_sms] => 19
    [27] => 14
    [user_busy_sms] => 14
    [28] => 1
    [user_congestion_sms] => 1
    [29] => 10
    [user_failed_sms] => 10
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 20
    [user_no_answer_sms] => 20
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 10
    [user_dnd_sms] => 10
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u349
    [created_by] => u349
    [38] => 0
    [isScheduled] => 0
    [39] => 1760769122
    [create_date] => 1760769122
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760769130,"compaign_read_start_time":1760769133,"compaign_read_complete_time":1760769134,"compaign_send_start_time":1760769182,"compaign_send_complete_time":1760769183}
    [action_time] => {"api_allot_time":1760769130,"compaign_read_start_time":1760769133,"compaign_read_complete_time":1760769134,"compaign_send_start_time":1760769182,"compaign_send_complete_time":1760769183}
    [50] => 0
    [compaign_file] => 0
    [51] => u349_66696_18102025_120207PM_332
    [common_name] => u349_66696_18102025_120207PM_332
    [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_58225
    [temp_group_table] => contacts_temp_group_58225
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760769422
    [last_credit_update_time] => 1760769422
    [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 : 66696
\compaign_type : Rans per 30.5907 
ans sms 74
dnd sms 10

require answer perrequire answer per : 20

user answer per : 19
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_66696 SET user_report='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_66696 SET user_report='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`='20', `user_busy_sms`='14', `user_congestion_sms`='1', `user_failed_sms`='8', `user_hangup_sms`='0', `user_no_answer_sms`='21', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='10' WHERE `compaign_id`=66696 LIMIT 1 


Time Diff : 3.027

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760510281'  
Array
(
    [0] => 66701
    [compaign_id] => 66701
    [1] => u607
    [user_id] => u607
    [2] => 58227,
    [group_ids] => 58227,
    [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] => 1760769203
    [start_date] => 1760769203
    [9] => 0
    [end_date] => 0
    [10] => 366
    [total_sms] => 366
    [11] => 366
    [sent_sms] => 366
    [12] => 0
    [duplicate_sms] => 0
    [13] => 65
    [answered_sms] => 65
    [14] => 54
    [busy_sms] => 54
    [15] => 1
    [congestion_sms] => 1
    [16] => 37
    [failed_sms] => 37
    [17] => 0
    [hangup_sms] => 0
    [18] => 80
    [no_answer_sms] => 80
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 129
    [cutting_sms] => 129
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 65
    [user_answered_sms] => 65
    [27] => 54
    [user_busy_sms] => 54
    [28] => 1
    [user_congestion_sms] => 1
    [29] => 37
    [user_failed_sms] => 37
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 80
    [user_no_answer_sms] => 80
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u607
    [created_by] => u607
    [38] => 0
    [isScheduled] => 0
    [39] => 1760769203
    [create_date] => 1760769203
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760769211,"compaign_read_start_time":1760769212,"compaign_read_complete_time":1760769212,"compaign_send_start_time":1760769242,"compaign_send_complete_time":1760769243}
    [action_time] => {"api_allot_time":1760769211,"compaign_read_start_time":1760769212,"compaign_read_complete_time":1760769212,"compaign_send_start_time":1760769242,"compaign_send_complete_time":1760769243}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_66701_18102025_120328PM_901
    [common_name] => u607_66701_18102025_120328PM_901
    [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_58227
    [temp_group_table] => contacts_temp_group_58227
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760769422
    [last_credit_update_time] => 1760769422
    [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 : 66701
\compaign_type : Rans per 27.79742 
ans sms 366
dnd sms 0

require answer perrequire answer per : 102

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='102', `user_busy_sms`='82', `user_congestion_sms`='11', `user_failed_sms`='51', `user_hangup_sms`='0', `user_no_answer_sms`='120', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66701 LIMIT 1 


Time Diff : 0.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>'1760510342'  
Array
(
    [0] => 66684
    [compaign_id] => 66684
    [1] => u20123
    [user_id] => u20123
    [2] => 58219,
    [group_ids] => 58219,
    [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] => 1760768496
    [start_date] => 1760768496
    [9] => 0
    [end_date] => 0
    [10] => 49140
    [total_sms] => 49140
    [11] => 49140
    [sent_sms] => 49140
    [12] => 0
    [duplicate_sms] => 0
    [13] => 1736
    [answered_sms] => 1736
    [14] => 2087
    [busy_sms] => 2087
    [15] => 21
    [congestion_sms] => 21
    [16] => 5218
    [failed_sms] => 5218
    [17] => 0
    [hangup_sms] => 0
    [18] => 1829
    [no_answer_sms] => 1829
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 38249
    [cutting_sms] => 38249
    [22] => 0
    [dnd_sms] => 0
    [23] => 2
    [blocked_sms] => 2
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 1736
    [user_answered_sms] => 1736
    [27] => 2087
    [user_busy_sms] => 2087
    [28] => 21
    [user_congestion_sms] => 21
    [29] => 5218
    [user_failed_sms] => 5218
    [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] => u20123
    [created_by] => u20123
    [38] => 0
    [isScheduled] => 0
    [39] => 1760768470
    [create_date] => 1760768470
    [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":1760768503,"compaign_read_start_time":1760768504,"compaign_read_complete_time":1760768579,"compaign_send_start_time":1760768583,"compaign_send_complete_time":1760768709}
    [action_time] => {"api_allot_time":1760768503,"compaign_read_start_time":1760768504,"compaign_read_complete_time":1760768579,"compaign_send_start_time":1760768583,"compaign_send_complete_time":1760768709}
    [50] => 0
    [compaign_file] => 0
    [51] => u20123_66684_18102025_115142AM_712
    [common_name] => u20123_66684_18102025_115142AM_712
    [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_58219
    [temp_group_table] => contacts_temp_group_58219
    [61] => 0
    [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] => 1760769481
    [last_credit_update_time] => 1760769481
    [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 : 66684
\compaign_type : Rans per 28.70077 
ans sms 49140
dnd sms 0

require answer perrequire answer per : 14104

user answer per : 1736
below is the redis data 12368 UPDATE voice_compaign_detail_66684 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 12368 Total Failed : 25891 no_answer_count : 8633 Busy count :6644 congestion_count : 3074 failed_count : 7540UPDATE voice_compaign_detail_66684 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 8633 UPDATE voice_compaign_detail_66684 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 6644 UPDATE voice_compaign_detail_66684 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 3074 UPDATE voice_compaign_detail_66684 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 7540 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='14104', `user_busy_sms`='8731', `user_congestion_sms`='3085', `user_failed_sms`='12758', `user_hangup_sms`='0', `user_no_answer_sms`='10462', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66684 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>'1760510401'  
Array
(
    [0] => 66687
    [compaign_id] => 66687
    [1] => u20123
    [user_id] => u20123
    [2] => 58221,
    [group_ids] => 58221,
    [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] => 1760768552
    [start_date] => 1760768552
    [9] => 0
    [end_date] => 0
    [10] => 27927
    [total_sms] => 27927
    [11] => 27927
    [sent_sms] => 27927
    [12] => 0
    [duplicate_sms] => 0
    [13] => 1032
    [answered_sms] => 1032
    [14] => 1158
    [busy_sms] => 1158
    [15] => 16
    [congestion_sms] => 16
    [16] => 4256
    [failed_sms] => 4256
    [17] => 0
    [hangup_sms] => 0
    [18] => 1432
    [no_answer_sms] => 1432
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 20033
    [cutting_sms] => 20033
    [22] => 0
    [dnd_sms] => 0
    [23] => 1
    [blocked_sms] => 1
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 1032
    [user_answered_sms] => 1032
    [27] => 1158
    [user_busy_sms] => 1158
    [28] => 16
    [user_congestion_sms] => 16
    [29] => 4256
    [user_failed_sms] => 4256
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 1432
    [user_no_answer_sms] => 1432
    [32] => 0
    [user_timeout_duration_sms] => 0
    [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] => 1760768538
    [create_date] => 1760768538
    [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":1760768559,"compaign_read_start_time":1760768560,"compaign_read_complete_time":1760768613,"compaign_send_start_time":1760768642,"compaign_send_complete_time":1760768718}
    [action_time] => {"api_allot_time":1760768559,"compaign_read_start_time":1760768560,"compaign_read_complete_time":1760768613,"compaign_send_start_time":1760768642,"compaign_send_complete_time":1760768718}
    [50] => 0
    [compaign_file] => 0
    [51] => u20123_66687_18102025_115238AM_169
    [common_name] => u20123_66687_18102025_115238AM_169
    [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_58221
    [temp_group_table] => contacts_temp_group_58221
    [61] => 0
    [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] => 1760769601
    [last_credit_update_time] => 1760769601
    [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 : 66687
\compaign_type : Rans per 26.8759 
ans sms 27927
dnd sms 0

require answer perrequire answer per : 7506

user answer per : 1032
below is the redis data 6474 UPDATE voice_compaign_detail_66687 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 6474 Total Failed : 13563 no_answer_count : 4522 Busy count :3481 congestion_count : 1610 failed_count : 3950UPDATE voice_compaign_detail_66687 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 4522 UPDATE voice_compaign_detail_66687 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 3481 UPDATE voice_compaign_detail_66687 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 1610 UPDATE voice_compaign_detail_66687 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 3950 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='7506', `user_busy_sms`='4639', `user_congestion_sms`='1622', `user_failed_sms`='8206', `user_hangup_sms`='0', `user_no_answer_sms`='5954', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66687 LIMIT 1 


Time Diff : 0.028

Array
(
    [0] => 66676
    [compaign_id] => 66676
    [1] => u61
    [user_id] => u61
    [2] => 58216,
    [group_ids] => 58216,
    [3] => 
    [sender_id] => 
    [4] => Follow 20 Oct.mp3
    [filename] => Follow 20 Oct.mp3
    [5] => 28
    [duration] => 28
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760769000
    [start_date] => 1760769000
    [9] => 0
    [end_date] => 0
    [10] => 626
    [total_sms] => 626
    [11] => 626
    [sent_sms] => 626
    [12] => 0
    [duplicate_sms] => 0
    [13] => 76
    [answered_sms] => 76
    [14] => 48
    [busy_sms] => 48
    [15] => 2
    [congestion_sms] => 2
    [16] => 151
    [failed_sms] => 151
    [17] => 0
    [hangup_sms] => 0
    [18] => 93
    [no_answer_sms] => 93
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 256
    [cutting_sms] => 256
    [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] => 48
    [user_busy_sms] => 48
    [28] => 2
    [user_congestion_sms] => 2
    [29] => 151
    [user_failed_sms] => 151
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 93
    [user_no_answer_sms] => 93
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u61
    [created_by] => u61
    [38] => 1
    [isScheduled] => 1
    [39] => 1760767924
    [create_date] => 1760767924
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760769007,"compaign_read_start_time":1760769011,"compaign_read_complete_time":1760769011,"compaign_send_start_time":1760769061,"compaign_send_complete_time":1760769063}
    [action_time] => {"api_allot_time":1760769007,"compaign_read_start_time":1760769011,"compaign_read_complete_time":1760769011,"compaign_send_start_time":1760769061,"compaign_send_complete_time":1760769063}
    [50] => 0
    [compaign_file] => 0
    [51] => u61_66676_18102025_120006PM_104
    [common_name] => u61_66676_18102025_120006PM_104
    [52] => 1760762521_u61_voice.wav
    [voice_file] => 1760762521_u61_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_58216
    [temp_group_table] => contacts_temp_group_58216
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => 1760769542
    [last_credit_update_time] => 1760769542
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 133
    [user_voice_plan_id] => 133
    [85] => 54
    [voice_plan_id] => 54
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.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] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"27"}]
    [alloted_apis] => [{"cli":"","g_id":"27"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u61
    [uphierarchy] => admin,u61
    [113] => 
    [extra_params_json] => 
)


Compaign : 66676
\compaign_type : Rans per 26.71888 
ans sms 626
dnd sms 0

require answer perrequire answer per : 168

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='168', `user_busy_sms`='129', `user_congestion_sms`='22', `user_failed_sms`='148', `user_hangup_sms`='0', `user_no_answer_sms`='159', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66676 LIMIT 1 


Time Diff : 0.372

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


Compaign : 66572
\compaign_type : ATans per 30.50467 
ans sms 8657
dnd sms 0

require answer perrequire answer per : 2641

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='46', `user_busy_sms`='2016', `user_congestion_sms`='0', `user_failed_sms`='6273', `user_hangup_sms`='0', `user_no_answer_sms`='322', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 0.969

Array
(
    [0] => 66705
    [compaign_id] => 66705
    [1] => u22475
    [user_id] => u22475
    [2] => 58229,
    [group_ids] => 58229,
    [3] => 
    [sender_id] => 
    [4] => WhatsApp Audio 2025-10-18 at 11.52.48 AM.mp3
    [filename] => WhatsApp Audio 2025-10-18 at 11.52.48 AM.mp3
    [5] => 29
    [duration] => 29
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760769423
    [start_date] => 1760769423
    [9] => 0
    [end_date] => 0
    [10] => 3699
    [total_sms] => 3699
    [11] => 3699
    [sent_sms] => 3699
    [12] => 0
    [duplicate_sms] => 0
    [13] => 578
    [answered_sms] => 578
    [14] => 163
    [busy_sms] => 163
    [15] => 3
    [congestion_sms] => 3
    [16] => 334
    [failed_sms] => 334
    [17] => 0
    [hangup_sms] => 0
    [18] => 410
    [no_answer_sms] => 410
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 1468
    [cutting_sms] => 1468
    [22] => 743
    [dnd_sms] => 743
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 578
    [user_answered_sms] => 578
    [27] => 163
    [user_busy_sms] => 163
    [28] => 3
    [user_congestion_sms] => 3
    [29] => 334
    [user_failed_sms] => 334
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 410
    [user_no_answer_sms] => 410
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 743
    [user_dnd_sms] => 743
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u22475
    [created_by] => u22475
    [38] => 0
    [isScheduled] => 0
    [39] => 1760769421
    [create_date] => 1760769421
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760769430,"compaign_read_start_time":1760769431,"compaign_read_complete_time":1760769443,"compaign_send_start_time":1760769486,"compaign_send_complete_time":1760769493}
    [action_time] => {"api_allot_time":1760769430,"compaign_read_start_time":1760769431,"compaign_read_complete_time":1760769443,"compaign_send_start_time":1760769486,"compaign_send_complete_time":1760769493}
    [50] => 0
    [compaign_file] => 0
    [51] => u22475_66705_18102025_120708PM_139
    [common_name] => u22475_66705_18102025_120708PM_139
    [52] => 1760769421_u22475_voice.wav
    [voice_file] => 1760769421_u22475_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [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_58229
    [temp_group_table] => contacts_temp_group_58229
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => 1760770141
    [last_credit_update_time] => 1760770141
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1729
    [user_voice_plan_id] => 1729
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.28
    [pulse_rate] => 0.28
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":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,u22475
    [uphierarchy] => admin,sr53,sr78,u22475
    [113] => 
    [extra_params_json] => 
)


Compaign : 66705
\compaign_type : Rans per 25.96113 
ans sms 3699
dnd sms 743

require answer perrequire answer per : 768

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='768', `user_busy_sms`='491', `user_congestion_sms`='155', `user_failed_sms`='705', `user_hangup_sms`='0', `user_no_answer_sms`='837', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='743' WHERE `compaign_id`=66705 LIMIT 1 


Time Diff : 0.114

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760511061'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760511122'  
Array
(
    [0] => 66700
    [compaign_id] => 66700
    [1] => u20123
    [user_id] => u20123
    [2] => 58226,
    [group_ids] => 58226,
    [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] => 1760769182
    [start_date] => 1760769182
    [9] => 0
    [end_date] => 0
    [10] => 49258
    [total_sms] => 49258
    [11] => 49258
    [sent_sms] => 49258
    [12] => 0
    [duplicate_sms] => 0
    [13] => 2424
    [answered_sms] => 2424
    [14] => 3159
    [busy_sms] => 3159
    [15] => 33
    [congestion_sms] => 33
    [16] => 4626
    [failed_sms] => 4626
    [17] => 0
    [hangup_sms] => 0
    [18] => 2147
    [no_answer_sms] => 2147
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 36869
    [cutting_sms] => 36869
    [22] => 0
    [dnd_sms] => 0
    [23] => 1
    [blocked_sms] => 1
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 2424
    [user_answered_sms] => 2424
    [27] => 3159
    [user_busy_sms] => 3159
    [28] => 33
    [user_congestion_sms] => 33
    [29] => 4626
    [user_failed_sms] => 4626
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2147
    [user_no_answer_sms] => 2147
    [32] => 0
    [user_timeout_duration_sms] => 0
    [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] => 1760769154
    [create_date] => 1760769154
    [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":1760769189,"compaign_read_start_time":1760769191,"compaign_read_complete_time":1760769281,"compaign_send_start_time":1760769301,"compaign_send_complete_time":1760769447}
    [action_time] => {"api_allot_time":1760769189,"compaign_read_start_time":1760769191,"compaign_read_complete_time":1760769281,"compaign_send_start_time":1760769301,"compaign_send_complete_time":1760769447}
    [50] => 0
    [compaign_file] => 0
    [51] => u20123_66700_18102025_120308PM_926
    [common_name] => u20123_66700_18102025_120308PM_926
    [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_58226
    [temp_group_table] => contacts_temp_group_58226
    [61] => 0
    [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] => 1760770264
    [last_credit_update_time] => 1760770264
    [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 : 66700
\compaign_type : Rans per 27.60809 
ans sms 49258
dnd sms 0

require answer perrequire answer per : 13600

user answer per : 2424
below is the redis data 11176 UPDATE voice_compaign_detail_66700 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 11176 Total Failed : 25705 no_answer_count : 8571 Busy count :6596 congestion_count : 3052 failed_count : 7486UPDATE voice_compaign_detail_66700 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 8571 UPDATE voice_compaign_detail_66700 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 6596 UPDATE voice_compaign_detail_66700 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 3052 UPDATE voice_compaign_detail_66700 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 7486 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='13600', `user_busy_sms`='9755', `user_congestion_sms`='3073', `user_failed_sms`='12112', `user_hangup_sms`='0', `user_no_answer_sms`='10718', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66700 LIMIT 1 


Time Diff : 0.019

Array
(
    [0] => 66711
    [compaign_id] => 66711
    [1] => u349
    [user_id] => u349
    [2] => 58231,
    [group_ids] => 58231,
    [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] => 1760769722
    [start_date] => 1760769722
    [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] => 13
    [busy_sms] => 13
    [15] => 0
    [congestion_sms] => 0
    [16] => 9
    [failed_sms] => 9
    [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] => 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] => 13
    [user_busy_sms] => 13
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 9
    [user_failed_sms] => 9
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 20
    [user_no_answer_sms] => 20
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 10
    [user_dnd_sms] => 10
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u349
    [created_by] => u349
    [38] => 0
    [isScheduled] => 0
    [39] => 1760769722
    [create_date] => 1760769722
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760769730,"compaign_read_start_time":1760769730,"compaign_read_complete_time":1760769731,"compaign_send_start_time":1760769782,"compaign_send_complete_time":1760769783}
    [action_time] => {"api_allot_time":1760769730,"compaign_read_start_time":1760769730,"compaign_read_complete_time":1760769731,"compaign_send_start_time":1760769782,"compaign_send_complete_time":1760769783}
    [50] => 0
    [compaign_file] => 0
    [51] => u349_66711_18102025_121207PM_459
    [common_name] => u349_66711_18102025_121207PM_459
    [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_58231
    [temp_group_table] => contacts_temp_group_58231
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => 1760770262
    [last_credit_update_time] => 1760770262
    [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 : 66711
\compaign_type : Rans per 25.99865 
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`='13', `user_congestion_sms`='0', `user_failed_sms`='9', `user_hangup_sms`='0', `user_no_answer_sms`='20', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='10' WHERE `compaign_id`=66711 LIMIT 1 


Time Diff : 3.216

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760511181'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760511241'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760511302'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760511361'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760511422'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760511481'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760511541'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760511601'  
Array
(
    [0] => 66703
    [compaign_id] => 66703
    [1] => u179
    [user_id] => u179
    [2] => 58228,
    [group_ids] => 58228,
    [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] => 1760769291
    [start_date] => 1760769291
    [9] => 0
    [end_date] => 0
    [10] => 4754
    [total_sms] => 4754
    [11] => 4754
    [sent_sms] => 4754
    [12] => 0
    [duplicate_sms] => 0
    [13] => 324
    [answered_sms] => 324
    [14] => 1135
    [busy_sms] => 1135
    [15] => 0
    [congestion_sms] => 0
    [16] => 168
    [failed_sms] => 168
    [17] => 0
    [hangup_sms] => 0
    [18] => 418
    [no_answer_sms] => 418
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 1965
    [cutting_sms] => 1965
    [22] => 744
    [dnd_sms] => 744
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 324
    [user_answered_sms] => 324
    [27] => 1135
    [user_busy_sms] => 1135
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 168
    [user_failed_sms] => 168
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 418
    [user_no_answer_sms] => 418
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 744
    [user_dnd_sms] => 744
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u179
    [created_by] => u179
    [38] => 0
    [isScheduled] => 0
    [39] => 1760769288
    [create_date] => 1760769288
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760769303,"compaign_read_start_time":1760769304,"compaign_read_complete_time":1760769314,"compaign_send_start_time":1760769362,"compaign_send_complete_time":1760769374}
    [action_time] => {"api_allot_time":1760769303,"compaign_read_start_time":1760769304,"compaign_read_complete_time":1760769314,"compaign_send_start_time":1760769362,"compaign_send_complete_time":1760769374}
    [50] => 0
    [compaign_file] => 0
    [51] => u179_66703_18102025_120501PM_412
    [common_name] => u179_66703_18102025_120501PM_412
    [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_58228
    [temp_group_table] => contacts_temp_group_58228
    [61] => 0
    [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] => 7
    [credit_seq] => 7
    [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] => 1760770503
    [reschedule_last_check_time] => 1760770503
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760770742
    [last_credit_update_time] => 1760770742
    [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":1760769900,"2":1760770800}
    [rt_time] => {"1":1760769900,"2":1760770800}
    [104] => 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 : 66703
\compaign_type : Rans per 27.11859 
ans sms 4754
dnd sms 744

require answer perrequire answer per : 1088

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='1088', `user_busy_sms`='1369', `user_congestion_sms`='117', `user_failed_sms`='368', `user_hangup_sms`='0', `user_no_answer_sms`='1068', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='744' WHERE `compaign_id`=66703 LIMIT 1 


Time Diff : 0.3

Array
(
    [0] => 66713
    [compaign_id] => 66713
    [1] => u179
    [user_id] => u179
    [2] => 58232,
    [group_ids] => 58232,
    [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] => 1760769785
    [start_date] => 1760769785
    [9] => 0
    [end_date] => 0
    [10] => 164
    [total_sms] => 164
    [11] => 164
    [sent_sms] => 164
    [12] => 0
    [duplicate_sms] => 0
    [13] => 24
    [answered_sms] => 24
    [14] => 32
    [busy_sms] => 32
    [15] => 0
    [congestion_sms] => 0
    [16] => 22
    [failed_sms] => 22
    [17] => 0
    [hangup_sms] => 0
    [18] => 32
    [no_answer_sms] => 32
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 22
    [cutting_sms] => 22
    [22] => 32
    [dnd_sms] => 32
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 24
    [user_answered_sms] => 24
    [27] => 32
    [user_busy_sms] => 32
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 22
    [user_failed_sms] => 22
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 32
    [user_no_answer_sms] => 32
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 32
    [user_dnd_sms] => 32
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u179
    [created_by] => u179
    [38] => 0
    [isScheduled] => 0
    [39] => 1760769785
    [create_date] => 1760769785
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760769791,"compaign_read_start_time":1760769794,"compaign_read_complete_time":1760769794,"compaign_send_start_time":1760769841,"compaign_send_complete_time":1760769843}
    [action_time] => {"api_allot_time":1760769791,"compaign_read_start_time":1760769794,"compaign_read_complete_time":1760769794,"compaign_send_start_time":1760769841,"compaign_send_complete_time":1760769843}
    [50] => 0
    [compaign_file] => 0
    [51] => u179_66713_18102025_121310PM_371
    [common_name] => u179_66713_18102025_121310PM_371
    [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_58232
    [temp_group_table] => contacts_temp_group_58232
    [61] => 0
    [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] => 5
    [credit_seq] => 5
    [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] => 1760770503
    [reschedule_last_check_time] => 1760770503
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760770742
    [last_credit_update_time] => 1760770742
    [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":1760769900,"2":1760770800}
    [rt_time] => {"1":1760769900,"2":1760770800}
    [104] => 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":"2"}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":"1","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 : 66713
\compaign_type : Rans per 26.75162 
ans sms 164
dnd sms 32

require answer perrequire answer per : 36

user answer per : 24
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_66713 SET user_report='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_66713 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 9 Total Failed : 13 no_answer_count : 5 Busy count :4 congestion_count : 2 failed_count : 2UPDATE voice_compaign_detail_66713 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 5 UPDATE voice_compaign_detail_66713 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 4 UPDATE voice_compaign_detail_66713 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 2 UPDATE voice_compaign_detail_66713 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`='36', `user_busy_sms`='41', `user_congestion_sms`='2', `user_failed_sms`='15', `user_hangup_sms`='0', `user_no_answer_sms`='38', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='32' WHERE `compaign_id`=66713 LIMIT 1 


Time Diff : 4.085

Array
(
    [0] => 66717
    [compaign_id] => 66717
    [1] => sr180
    [user_id] => sr180
    [2] => 58233,
    [group_ids] => 58233,
    [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] => 1760769967
    [start_date] => 1760769967
    [9] => 0
    [end_date] => 0
    [10] => 5071
    [total_sms] => 5071
    [11] => 5071
    [sent_sms] => 5071
    [12] => 0
    [duplicate_sms] => 0
    [13] => 316
    [answered_sms] => 316
    [14] => 307
    [busy_sms] => 307
    [15] => 4
    [congestion_sms] => 4
    [16] => 544
    [failed_sms] => 544
    [17] => 0
    [hangup_sms] => 0
    [18] => 428
    [no_answer_sms] => 428
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 1540
    [cutting_sms] => 1540
    [22] => 1932
    [dnd_sms] => 1932
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 316
    [user_answered_sms] => 316
    [27] => 307
    [user_busy_sms] => 307
    [28] => 4
    [user_congestion_sms] => 4
    [29] => 544
    [user_failed_sms] => 544
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 428
    [user_no_answer_sms] => 428
    [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] => 1760769964
    [create_date] => 1760769964
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760769973,"compaign_read_start_time":1760769976,"compaign_read_complete_time":1760769990,"compaign_send_start_time":1760770022,"compaign_send_complete_time":1760770031}
    [action_time] => {"api_allot_time":1760769973,"compaign_read_start_time":1760769976,"compaign_read_complete_time":1760769990,"compaign_send_start_time":1760770022,"compaign_send_complete_time":1760770031}
    [50] => 0
    [compaign_file] => 0
    [51] => sr180_66717_18102025_121612PM_168
    [common_name] => sr180_66717_18102025_121612PM_168
    [52] => 1760681482_sr180_voice.wav
    [voice_file] => 1760681482_sr180_voice.wav
    [53] => normal
    [plan_type] => normal
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_58233
    [temp_group_table] => contacts_temp_group_58233
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => 1760770741
    [last_credit_update_time] => 1760770741
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1124
    [user_voice_plan_id] => 1124
    [85] => 9
    [voice_plan_id] => 9
    [86] => 0
    [gateway_id] => 0
    [87] => 15
    [pulse] => 15
    [88] => 0.06
    [pulse_rate] => 0.06
    [89] => promo
    [delivery_route] => promo
    [90] => normal
    [delivery_type] => normal
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr83,sr180
    [uphierarchy] => admin,sr83,sr180
    [113] => 
    [extra_params_json] => 
)


Compaign : 66717
\compaign_type : Rans per 28.22337 
ans sms 5071
dnd sms 1932

require answer perrequire answer per : 886

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='886', `user_busy_sms`='738', `user_congestion_sms`='107', `user_failed_sms`='589', `user_hangup_sms`='0', `user_no_answer_sms`='819', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='1932' WHERE `compaign_id`=66717 LIMIT 1 


Time Diff : 0.127

Array
(
    [0] => 66722
    [compaign_id] => 66722
    [1] => sr180
    [user_id] => sr180
    [2] => 58237,
    [group_ids] => 58237,
    [3] => 
    [sender_id] => 
    [4] => sabirv.mp3
    [filename] => sabirv.mp3
    [5] => 31
    [duration] => 31
    [6] => 3
    [credits_per_sms] => 3
    [7] => 15
    [user_pulse] => 15
    [8] => 1760770226
    [start_date] => 1760770226
    [9] => 0
    [end_date] => 0
    [10] => 490
    [total_sms] => 490
    [11] => 490
    [sent_sms] => 490
    [12] => 0
    [duplicate_sms] => 0
    [13] => 55
    [answered_sms] => 55
    [14] => 34
    [busy_sms] => 34
    [15] => 0
    [congestion_sms] => 0
    [16] => 44
    [failed_sms] => 44
    [17] => 0
    [hangup_sms] => 0
    [18] => 83
    [no_answer_sms] => 83
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 147
    [cutting_sms] => 147
    [22] => 127
    [dnd_sms] => 127
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 55
    [user_answered_sms] => 55
    [27] => 34
    [user_busy_sms] => 34
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 44
    [user_failed_sms] => 44
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 83
    [user_no_answer_sms] => 83
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 127
    [user_dnd_sms] => 127
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => sr180
    [created_by] => sr180
    [38] => 0
    [isScheduled] => 0
    [39] => 1760770226
    [create_date] => 1760770226
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760770233,"compaign_read_start_time":1760770234,"compaign_read_complete_time":1760770236,"compaign_send_start_time":1760770262,"compaign_send_complete_time":1760770266}
    [action_time] => {"api_allot_time":1760770233,"compaign_read_start_time":1760770234,"compaign_read_complete_time":1760770236,"compaign_send_start_time":1760770262,"compaign_send_complete_time":1760770266}
    [50] => 0
    [compaign_file] => 0
    [51] => sr180_66722_18102025_122031PM_549
    [common_name] => sr180_66722_18102025_122031PM_549
    [52] => 1760770226_sr180_voice.wav
    [voice_file] => 1760770226_sr180_voice.wav
    [53] => normal
    [plan_type] => normal
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_58237
    [temp_group_table] => contacts_temp_group_58237
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => 1760770741
    [last_credit_update_time] => 1760770741
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1124
    [user_voice_plan_id] => 1124
    [85] => 9
    [voice_plan_id] => 9
    [86] => 0
    [gateway_id] => 0
    [87] => 15
    [pulse] => 15
    [88] => 0.06
    [pulse_rate] => 0.06
    [89] => promo
    [delivery_route] => promo
    [90] => normal
    [delivery_type] => normal
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr83,sr180
    [uphierarchy] => admin,sr83,sr180
    [113] => 
    [extra_params_json] => 
)


Compaign : 66722
\compaign_type : Rans per 27.81132 
ans sms 490
dnd sms 127

require answer perrequire answer per : 101

user answer per : 55
below is the redis data 46 /n/r
only no answer and busy will be convert, total number require 46 /n/r
UPDATE voice_compaign_detail_66722 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 33 UPDATE voice_compaign_detail_66722 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 33 Total Failed : 94 no_answer_count : 32 Busy count :25 congestion_count : 12 failed_count : 25UPDATE voice_compaign_detail_66722 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 32 UPDATE voice_compaign_detail_66722 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 25 UPDATE voice_compaign_detail_66722 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 12 UPDATE voice_compaign_detail_66722 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`='101', `user_busy_sms`='74', `user_congestion_sms`='12', `user_failed_sms`='56', `user_hangup_sms`='0', `user_no_answer_sms`='120', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='127' WHERE `compaign_id`=66722 LIMIT 1 


Time Diff : 0.629

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760511661'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760511722'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760511781'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760511842'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760511901'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760511961'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760512022'  
Array
(
    [0] => 66707
    [compaign_id] => 66707
    [1] => u20123
    [user_id] => u20123
    [2] => 58230,
    [group_ids] => 58230,
    [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] => 1760769632
    [start_date] => 1760769632
    [9] => 0
    [end_date] => 0
    [10] => 49188
    [total_sms] => 49188
    [11] => 49188
    [sent_sms] => 49188
    [12] => 0
    [duplicate_sms] => 0
    [13] => 2862
    [answered_sms] => 2862
    [14] => 3401
    [busy_sms] => 3401
    [15] => 13
    [congestion_sms] => 13
    [16] => 5096
    [failed_sms] => 5096
    [17] => 0
    [hangup_sms] => 0
    [18] => 2474
    [no_answer_sms] => 2474
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 35342
    [cutting_sms] => 35342
    [22] => 0
    [dnd_sms] => 0
    [23] => 2
    [blocked_sms] => 2
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 2862
    [user_answered_sms] => 2862
    [27] => 3401
    [user_busy_sms] => 3401
    [28] => 13
    [user_congestion_sms] => 13
    [29] => 5096
    [user_failed_sms] => 5096
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2474
    [user_no_answer_sms] => 2474
    [32] => 0
    [user_timeout_duration_sms] => 0
    [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] => 1760769593
    [create_date] => 1760769593
    [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":1760769638,"compaign_read_start_time":1760769640,"compaign_read_complete_time":1760769729,"compaign_send_start_time":1760769782,"compaign_send_complete_time":1760769934}
    [action_time] => {"api_allot_time":1760769638,"compaign_read_start_time":1760769640,"compaign_read_complete_time":1760769729,"compaign_send_start_time":1760769782,"compaign_send_complete_time":1760769934}
    [50] => 0
    [compaign_file] => 0
    [51] => u20123_66707_18102025_121037PM_889
    [common_name] => u20123_66707_18102025_121037PM_889
    [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_58230
    [temp_group_table] => contacts_temp_group_58230
    [61] => 0
    [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] => 1760771162
    [last_credit_update_time] => 1760771162
    [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 : 66707
\compaign_type : Rans per 27.15053 
ans sms 49188
dnd sms 0

require answer perrequire answer per : 13355

user answer per : 2862
below is the redis data 10493 UPDATE voice_compaign_detail_66707 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 10493 Total Failed : 24852 no_answer_count : 8286 Busy count :6378 congestion_count : 2950 failed_count : 7238UPDATE voice_compaign_detail_66707 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 8286 UPDATE voice_compaign_detail_66707 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 6378 UPDATE voice_compaign_detail_66707 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 2950 UPDATE voice_compaign_detail_66707 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 7238 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

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


Compaign : 66572
\compaign_type : ATans per 29.26052 
ans sms 9486
dnd sms 0

require answer perrequire answer per : 2776

user answer per : 53
below is the redis data 2723 UPDATE voice_compaign_detail_66572 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 2723 Total Failed : 0 no_answer_count : 0 Busy count :0 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`='2305', `user_congestion_sms`='0', `user_failed_sms`='6757', `user_hangup_sms`='0', `user_no_answer_sms`='371', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.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>'1760512502'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760512561'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760512621'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760512682'  
Array
(
    [0] => 66721
    [compaign_id] => 66721
    [1] => u20123
    [user_id] => u20123
    [2] => 58235,
    [group_ids] => 58235,
    [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] => 1760770049
    [start_date] => 1760770049
    [9] => 0
    [end_date] => 0
    [10] => 49250
    [total_sms] => 49250
    [11] => 49250
    [sent_sms] => 49250
    [12] => 0
    [duplicate_sms] => 0
    [13] => 2616
    [answered_sms] => 2616
    [14] => 3409
    [busy_sms] => 3409
    [15] => 22
    [congestion_sms] => 22
    [16] => 5002
    [failed_sms] => 5002
    [17] => 0
    [hangup_sms] => 0
    [18] => 2319
    [no_answer_sms] => 2319
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 35882
    [cutting_sms] => 35882
    [22] => 0
    [dnd_sms] => 0
    [23] => 1
    [blocked_sms] => 1
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 2616
    [user_answered_sms] => 2616
    [27] => 3409
    [user_busy_sms] => 3409
    [28] => 22
    [user_congestion_sms] => 22
    [29] => 5002
    [user_failed_sms] => 5002
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2319
    [user_no_answer_sms] => 2319
    [32] => 0
    [user_timeout_duration_sms] => 0
    [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] => 1760770021
    [create_date] => 1760770021
    [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":1760770055,"compaign_read_start_time":1760770058,"compaign_read_complete_time":1760770147,"compaign_send_start_time":1760770202,"compaign_send_complete_time":1760770361}
    [action_time] => {"api_allot_time":1760770055,"compaign_read_start_time":1760770058,"compaign_read_complete_time":1760770147,"compaign_send_start_time":1760770202,"compaign_send_complete_time":1760770361}
    [50] => 0
    [compaign_file] => 0
    [51] => u20123_66721_18102025_121734PM_238
    [common_name] => u20123_66721_18102025_121734PM_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_58235
    [temp_group_table] => contacts_temp_group_58235
    [61] => 0
    [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] => 1760771822
    [last_credit_update_time] => 1760771822
    [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 : 66721
\compaign_type : Rans per 30.91982 
ans sms 49250
dnd sms 0

require answer perrequire answer per : 15229

user answer per : 2616
below is the redis data 12613 UPDATE voice_compaign_detail_66721 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 12613 Total Failed : 23277 no_answer_count : 7761 Busy count :5973 congestion_count : 2763 failed_count : 6780UPDATE voice_compaign_detail_66721 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 7761 UPDATE voice_compaign_detail_66721 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 5973 UPDATE voice_compaign_detail_66721 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 2763 UPDATE voice_compaign_detail_66721 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 6780 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='15229', `user_busy_sms`='9382', `user_congestion_sms`='2777', `user_failed_sms`='11782', `user_hangup_sms`='0', `user_no_answer_sms`='10080', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66721 LIMIT 1 


Time Diff : 0.019

Array
(
    [0] => 66725
    [compaign_id] => 66725
    [1] => u22472
    [user_id] => u22472
    [2] => 58239,
    [group_ids] => 58239,
    [3] => 
    [sender_id] => 
    [4] => diwali (mp3cut.net).mp3
    [filename] => diwali (mp3cut.net).mp3
    [5] => 28
    [duration] => 28
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760770591
    [start_date] => 1760770591
    [9] => 0
    [end_date] => 0
    [10] => 573
    [total_sms] => 573
    [11] => 573
    [sent_sms] => 573
    [12] => 0
    [duplicate_sms] => 0
    [13] => 111
    [answered_sms] => 111
    [14] => 60
    [busy_sms] => 60
    [15] => 4
    [congestion_sms] => 4
    [16] => 97
    [failed_sms] => 97
    [17] => 0
    [hangup_sms] => 0
    [18] => 53
    [no_answer_sms] => 53
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 248
    [cutting_sms] => 248
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 111
    [user_answered_sms] => 111
    [27] => 60
    [user_busy_sms] => 60
    [28] => 4
    [user_congestion_sms] => 4
    [29] => 97
    [user_failed_sms] => 97
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 53
    [user_no_answer_sms] => 53
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u22472
    [created_by] => u22472
    [38] => 0
    [isScheduled] => 0
    [39] => 1760770590
    [create_date] => 1760770590
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760770597,"compaign_read_start_time":1760770597,"compaign_read_complete_time":1760770598,"compaign_send_start_time":1760770622,"compaign_send_complete_time":1760770624}
    [action_time] => {"api_allot_time":1760770597,"compaign_read_start_time":1760770597,"compaign_read_complete_time":1760770598,"compaign_send_start_time":1760770622,"compaign_send_complete_time":1760770624}
    [50] => 0
    [compaign_file] => 0
    [51] => u22472_66725_18102025_122636PM_460
    [common_name] => u22472_66725_18102025_122636PM_460
    [52] => 1760769966_u22472_voice.wav
    [voice_file] => 1760769966_u22472_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [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_58239
    [temp_group_table] => contacts_temp_group_58239
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => 1760771822
    [last_credit_update_time] => 1760771822
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1725
    [user_voice_plan_id] => 1725
    [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,sr183,u22472
    [uphierarchy] => admin,sr27,sr183,u22472
    [113] => 
    [extra_params_json] => 
)


Compaign : 66725
\compaign_type : Rans per 28.75627 
ans sms 573
dnd sms 0

require answer perrequire answer per : 165

user answer per : 111
below is the redis data 54 UPDATE voice_compaign_detail_66725 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 54 Total Failed : 195 no_answer_count : 66 Busy count :51 congestion_count : 24 failed_count : 54UPDATE voice_compaign_detail_66725 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 66 UPDATE voice_compaign_detail_66725 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 51 UPDATE voice_compaign_detail_66725 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 24 UPDATE voice_compaign_detail_66725 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`='165', `user_busy_sms`='111', `user_congestion_sms`='27', `user_failed_sms`='151', `user_hangup_sms`='0', `user_no_answer_sms`='119', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66725 LIMIT 1 


Time Diff : 0.492

Array
(
    [0] => 66720
    [compaign_id] => 66720
    [1] => u61
    [user_id] => u61
    [2] => 58236,
    [group_ids] => 58236,
    [3] => 
    [sender_id] => 
    [4] => Follow 20 Oct.mp3
    [filename] => Follow 20 Oct.mp3
    [5] => 28
    [duration] => 28
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760770800
    [start_date] => 1760770800
    [9] => 0
    [end_date] => 0
    [10] => 458
    [total_sms] => 458
    [11] => 458
    [sent_sms] => 458
    [12] => 0
    [duplicate_sms] => 0
    [13] => 34
    [answered_sms] => 34
    [14] => 34
    [busy_sms] => 34
    [15] => 0
    [congestion_sms] => 0
    [16] => 150
    [failed_sms] => 150
    [17] => 0
    [hangup_sms] => 0
    [18] => 63
    [no_answer_sms] => 63
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 177
    [cutting_sms] => 177
    [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] => 34
    [user_busy_sms] => 34
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 150
    [user_failed_sms] => 150
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 63
    [user_no_answer_sms] => 63
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u61
    [created_by] => u61
    [38] => 1
    [isScheduled] => 1
    [39] => 1760770024
    [create_date] => 1760770024
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760770806,"compaign_read_start_time":1760770807,"compaign_read_complete_time":1760770808,"compaign_send_start_time":1760770862,"compaign_send_complete_time":1760770863}
    [action_time] => {"api_allot_time":1760770806,"compaign_read_start_time":1760770807,"compaign_read_complete_time":1760770808,"compaign_send_start_time":1760770862,"compaign_send_complete_time":1760770863}
    [50] => 0
    [compaign_file] => 0
    [51] => u61_66720_18102025_123005PM_377
    [common_name] => u61_66720_18102025_123005PM_377
    [52] => 1760762521_u61_voice.wav
    [voice_file] => 1760762521_u61_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_58236
    [temp_group_table] => contacts_temp_group_58236
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => 1760771821
    [last_credit_update_time] => 1760771821
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 133
    [user_voice_plan_id] => 133
    [85] => 54
    [voice_plan_id] => 54
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.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] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"27"}]
    [alloted_apis] => [{"cli":"","g_id":"27"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u61
    [uphierarchy] => admin,u61
    [113] => 
    [extra_params_json] => 
)


Compaign : 66720
\compaign_type : Rans per 25.2111 
ans sms 458
dnd sms 0

require answer perrequire answer per : 116

user answer per : 34
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_66720 SET user_report='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_66720 SET user_report='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 : 120 no_answer_count : 41 Busy count :31 congestion_count : 15 failed_count : 33UPDATE voice_compaign_detail_66720 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 41 UPDATE voice_compaign_detail_66720 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 31 UPDATE voice_compaign_detail_66720 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 15 UPDATE voice_compaign_detail_66720 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`='116', `user_busy_sms`='94', `user_congestion_sms`='15', `user_failed_sms`='120', `user_hangup_sms`='0', `user_no_answer_sms`='113', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66720 LIMIT 1 


Time Diff : 0.537

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760512741'  
Array
(
    [0] => 66738
    [compaign_id] => 66738
    [1] => u91
    [user_id] => u91
    [2] => 58253,
    [group_ids] => 58253,
    [3] => 
    [sender_id] => 
    [4] => AUDIO HYD 18.10.2025.mp3
    [filename] => AUDIO HYD 18.10.2025.mp3
    [5] => 28
    [duration] => 28
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760771334
    [start_date] => 1760771334
    [9] => 0
    [end_date] => 0
    [10] => 2135
    [total_sms] => 2135
    [11] => 2135
    [sent_sms] => 2135
    [12] => 0
    [duplicate_sms] => 0
    [13] => 252
    [answered_sms] => 252
    [14] => 173
    [busy_sms] => 173
    [15] => 0
    [congestion_sms] => 0
    [16] => 181
    [failed_sms] => 181
    [17] => 0
    [hangup_sms] => 0
    [18] => 311
    [no_answer_sms] => 311
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 891
    [cutting_sms] => 891
    [22] => 327
    [dnd_sms] => 327
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 252
    [user_answered_sms] => 252
    [27] => 173
    [user_busy_sms] => 173
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 181
    [user_failed_sms] => 181
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 311
    [user_no_answer_sms] => 311
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 327
    [user_dnd_sms] => 327
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u91
    [created_by] => u91
    [38] => 0
    [isScheduled] => 0
    [39] => 1760771333
    [create_date] => 1760771333
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760771343,"compaign_read_start_time":1760771344,"compaign_read_complete_time":1760771352,"compaign_send_start_time":1760771402,"compaign_send_complete_time":1760771406}
    [action_time] => {"api_allot_time":1760771343,"compaign_read_start_time":1760771344,"compaign_read_complete_time":1760771352,"compaign_send_start_time":1760771402,"compaign_send_complete_time":1760771406}
    [50] => 0
    [compaign_file] => 0
    [51] => u91_66738_18102025_123902PM_406
    [common_name] => u91_66738_18102025_123902PM_406
    [52] => 1760770987_u91_voice.wav
    [voice_file] => 1760770987_u91_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [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_58253
    [temp_group_table] => contacts_temp_group_58253
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => 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] => 1760771703
    [reschedule_last_check_time] => 1760771703
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760771882
    [last_credit_update_time] => 1760771882
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 169
    [user_voice_plan_id] => 169
    [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":1760772600}
    [rt_time] => {"1":1760772600}
    [104] => 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,sr31,u91
    [uphierarchy] => admin,sr31,u91
    [113] => 
    [extra_params_json] => 
)


Compaign : 66738
\compaign_type : Rans per 26.0461 
ans sms 2135
dnd sms 327

require answer perrequire answer per : 471

user answer per : 252
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_66738 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 176 UPDATE voice_compaign_detail_66738 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 176 Total Failed : 595 no_answer_count : 199 Busy count :153 congestion_count : 71 failed_count : 172UPDATE voice_compaign_detail_66738 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 199 UPDATE voice_compaign_detail_66738 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 153 UPDATE voice_compaign_detail_66738 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 71 UPDATE voice_compaign_detail_66738 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 172 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='471', `user_busy_sms`='418', `user_congestion_sms`='71', `user_failed_sms`='297', `user_hangup_sms`='0', `user_no_answer_sms`='551', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='327' WHERE `compaign_id`=66738 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>'1760512802'  
Array
(
    [0] => 66729
    [compaign_id] => 66729
    [1] => u22472
    [user_id] => u22472
    [2] => 58244,
    [group_ids] => 58244,
    [3] => 
    [sender_id] => 
    [4] => diwali (mp3cut.net).mp3
    [filename] => diwali (mp3cut.net).mp3
    [5] => 28
    [duration] => 28
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760770745
    [start_date] => 1760770745
    [9] => 0
    [end_date] => 0
    [10] => 418
    [total_sms] => 418
    [11] => 418
    [sent_sms] => 418
    [12] => 0
    [duplicate_sms] => 0
    [13] => 83
    [answered_sms] => 83
    [14] => 58
    [busy_sms] => 58
    [15] => 0
    [congestion_sms] => 0
    [16] => 83
    [failed_sms] => 83
    [17] => 0
    [hangup_sms] => 0
    [18] => 34
    [no_answer_sms] => 34
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 160
    [cutting_sms] => 160
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 83
    [user_answered_sms] => 83
    [27] => 58
    [user_busy_sms] => 58
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 83
    [user_failed_sms] => 83
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 34
    [user_no_answer_sms] => 34
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u22472
    [created_by] => u22472
    [38] => 0
    [isScheduled] => 0
    [39] => 1760770744
    [create_date] => 1760770744
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760770753,"compaign_read_start_time":1760770753,"compaign_read_complete_time":1760770754,"compaign_send_start_time":1760770802,"compaign_send_complete_time":1760770804}
    [action_time] => {"api_allot_time":1760770753,"compaign_read_start_time":1760770753,"compaign_read_complete_time":1760770754,"compaign_send_start_time":1760770802,"compaign_send_complete_time":1760770804}
    [50] => 0
    [compaign_file] => 0
    [51] => u22472_66729_18102025_122911PM_623
    [common_name] => u22472_66729_18102025_122911PM_623
    [52] => 1760769966_u22472_voice.wav
    [voice_file] => 1760769966_u22472_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [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_58244
    [temp_group_table] => contacts_temp_group_58244
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => 1760771941
    [last_credit_update_time] => 1760771941
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1725
    [user_voice_plan_id] => 1725
    [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,sr183,u22472
    [uphierarchy] => admin,sr27,sr183,u22472
    [113] => 
    [extra_params_json] => 
)


Compaign : 66729
\compaign_type : Rans per 30.63768 
ans sms 418
dnd sms 0

require answer perrequire answer per : 129

user answer per : 83
below is the redis data 46 UPDATE voice_compaign_detail_66729 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 46 Total Failed : 114 no_answer_count : 39 Busy count :30 congestion_count : 14 failed_count : 31UPDATE voice_compaign_detail_66729 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 39 UPDATE voice_compaign_detail_66729 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 30 UPDATE voice_compaign_detail_66729 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 14 UPDATE voice_compaign_detail_66729 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`='129', `user_busy_sms`='88', `user_congestion_sms`='14', `user_failed_sms`='114', `user_hangup_sms`='0', `user_no_answer_sms`='73', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66729 LIMIT 1 


Time Diff : 0.816

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760512862'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760512921'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760512982'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760513041'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760513102'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760513161'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760513222'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760513281'  
Array
(
    [0] => 66731
    [compaign_id] => 66731
    [1] => u22472
    [user_id] => u22472
    [2] => 58245,
    [group_ids] => 58245,
    [3] => 
    [sender_id] => 
    [4] => diwali (mp3cut.net).mp3
    [filename] => diwali (mp3cut.net).mp3
    [5] => 28
    [duration] => 28
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760770908
    [start_date] => 1760770908
    [9] => 0
    [end_date] => 0
    [10] => 552
    [total_sms] => 552
    [11] => 552
    [sent_sms] => 552
    [12] => 0
    [duplicate_sms] => 0
    [13] => 93
    [answered_sms] => 93
    [14] => 73
    [busy_sms] => 73
    [15] => 0
    [congestion_sms] => 0
    [16] => 91
    [failed_sms] => 91
    [17] => 0
    [hangup_sms] => 0
    [18] => 60
    [no_answer_sms] => 60
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 235
    [cutting_sms] => 235
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 93
    [user_answered_sms] => 93
    [27] => 73
    [user_busy_sms] => 73
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 91
    [user_failed_sms] => 91
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 60
    [user_no_answer_sms] => 60
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u22472
    [created_by] => u22472
    [38] => 0
    [isScheduled] => 0
    [39] => 1760770908
    [create_date] => 1760770908
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760770923,"compaign_read_start_time":1760770925,"compaign_read_complete_time":1760770925,"compaign_send_start_time":1760770981,"compaign_send_complete_time":1760770983}
    [action_time] => {"api_allot_time":1760770923,"compaign_read_start_time":1760770925,"compaign_read_complete_time":1760770925,"compaign_send_start_time":1760770981,"compaign_send_complete_time":1760770983}
    [50] => 0
    [compaign_file] => 0
    [51] => u22472_66731_18102025_123202PM_773
    [common_name] => u22472_66731_18102025_123202PM_773
    [52] => 1760769966_u22472_voice.wav
    [voice_file] => 1760769966_u22472_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [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_58245
    [temp_group_table] => contacts_temp_group_58245
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => 1760772422
    [last_credit_update_time] => 1760772422
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1725
    [user_voice_plan_id] => 1725
    [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,sr183,u22472
    [uphierarchy] => admin,sr27,sr183,u22472
    [113] => 
    [extra_params_json] => 
)


Compaign : 66731
\compaign_type : Rans per 30.33188 
ans sms 552
dnd sms 0

require answer perrequire answer per : 168

user answer per : 93
below is the redis data 75 UPDATE voice_compaign_detail_66731 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 75 Total Failed : 160 no_answer_count : 54 Busy count :42 congestion_count : 19 failed_count : 45UPDATE voice_compaign_detail_66731 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 54 UPDATE voice_compaign_detail_66731 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 42 UPDATE voice_compaign_detail_66731 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 19 UPDATE voice_compaign_detail_66731 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`='168', `user_busy_sms`='115', `user_congestion_sms`='19', `user_failed_sms`='136', `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`=66731 LIMIT 1 


Time Diff : 0.377

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760513341'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760513401'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760513462'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760513521'  
Array
(
    [0] => 66730
    [compaign_id] => 66730
    [1] => u20720
    [user_id] => u20720
    [2] => 58243,
    [group_ids] => 58243,
    [3] => 
    [sender_id] => 
    [4] => dhantaras.mp3
    [filename] => dhantaras.mp3
    [5] => 22
    [duration] => 22
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760770754
    [start_date] => 1760770754
    [9] => 0
    [end_date] => 0
    [10] => 31544
    [total_sms] => 31544
    [11] => 31544
    [sent_sms] => 31544
    [12] => 0
    [duplicate_sms] => 0
    [13] => 5102
    [answered_sms] => 5102
    [14] => 1196
    [busy_sms] => 1196
    [15] => 17
    [congestion_sms] => 17
    [16] => 6983
    [failed_sms] => 6983
    [17] => 0
    [hangup_sms] => 0
    [18] => 3154
    [no_answer_sms] => 3154
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 15092
    [cutting_sms] => 15092
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 5102
    [user_answered_sms] => 5102
    [27] => 1196
    [user_busy_sms] => 1196
    [28] => 17
    [user_congestion_sms] => 17
    [29] => 6983
    [user_failed_sms] => 6983
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 3154
    [user_no_answer_sms] => 3154
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u20720
    [created_by] => u20720
    [38] => 0
    [isScheduled] => 0
    [39] => 1760770737
    [create_date] => 1760770737
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760770761,"compaign_read_start_time":1760770763,"compaign_read_complete_time":1760770821,"compaign_send_start_time":1760770862,"compaign_send_complete_time":1760771050}
    [action_time] => {"api_allot_time":1760770761,"compaign_read_start_time":1760770763,"compaign_read_complete_time":1760770821,"compaign_send_start_time":1760770862,"compaign_send_complete_time":1760771050}
    [50] => 0
    [compaign_file] => 0
    [51] => u20720_66730_18102025_122920PM_662
    [common_name] => u20720_66730_18102025_122920PM_662
    [52] => 1760770737_u20720_voice.wav
    [voice_file] => 1760770737_u20720_voice.wav
    [53] => normal
    [plan_type] => normal
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_58243
    [temp_group_table] => contacts_temp_group_58243
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => 1760772721
    [last_credit_update_time] => 1760772721
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1702
    [user_voice_plan_id] => 1702
    [85] => 4
    [voice_plan_id] => 4
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.17
    [pulse_rate] => 0.17
    [89] => trans
    [delivery_route] => trans
    [90] => normal
    [delivery_type] => normal
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"27"}]
    [alloted_apis] => [{"cli":"","g_id":"27"}]
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr83,sr180,u20720
    [uphierarchy] => admin,sr83,sr180,u20720
    [113] => 
    [extra_params_json] => 
)


Compaign : 66730
\compaign_type : Rans per 30.08286 
ans sms 31544
dnd sms 0

require answer perrequire answer per : 9490

user answer per : 5102
below is the redis data 4388 UPDATE voice_compaign_detail_66730 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 4388 Total Failed : 10709 no_answer_count : 3571 Busy count :2748 congestion_count : 1272 failed_count : 3118UPDATE voice_compaign_detail_66730 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 3571 UPDATE voice_compaign_detail_66730 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 2748 UPDATE voice_compaign_detail_66730 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 1272 UPDATE voice_compaign_detail_66730 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 3118 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='9490', `user_busy_sms`='3944', `user_congestion_sms`='1284', `user_failed_sms`='10101', `user_hangup_sms`='0', `user_no_answer_sms`='6725', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66730 LIMIT 1 


Time Diff : 0.033

Array
(
    [0] => 66734
    [compaign_id] => 66734
    [1] => u22472
    [user_id] => u22472
    [2] => 58248,
    [group_ids] => 58248,
    [3] => 
    [sender_id] => 
    [4] => diwali (mp3cut.net).mp3
    [filename] => diwali (mp3cut.net).mp3
    [5] => 28
    [duration] => 28
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760771061
    [start_date] => 1760771061
    [9] => 0
    [end_date] => 0
    [10] => 546
    [total_sms] => 546
    [11] => 546
    [sent_sms] => 546
    [12] => 0
    [duplicate_sms] => 0
    [13] => 113
    [answered_sms] => 113
    [14] => 67
    [busy_sms] => 67
    [15] => 0
    [congestion_sms] => 0
    [16] => 84
    [failed_sms] => 84
    [17] => 0
    [hangup_sms] => 0
    [18] => 56
    [no_answer_sms] => 56
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 226
    [cutting_sms] => 226
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 113
    [user_answered_sms] => 113
    [27] => 67
    [user_busy_sms] => 67
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 84
    [user_failed_sms] => 84
    [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] => u22472
    [created_by] => u22472
    [38] => 0
    [isScheduled] => 0
    [39] => 1760771060
    [create_date] => 1760771060
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760771067,"compaign_read_start_time":1760771069,"compaign_read_complete_time":1760771070,"compaign_send_start_time":1760771101,"compaign_send_complete_time":1760771103}
    [action_time] => {"api_allot_time":1760771067,"compaign_read_start_time":1760771069,"compaign_read_complete_time":1760771070,"compaign_send_start_time":1760771101,"compaign_send_complete_time":1760771103}
    [50] => 0
    [compaign_file] => 0
    [51] => u22472_66734_18102025_123426PM_777
    [common_name] => u22472_66734_18102025_123426PM_777
    [52] => 1760769966_u22472_voice.wav
    [voice_file] => 1760769966_u22472_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [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_58248
    [temp_group_table] => contacts_temp_group_58248
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1760772721
    [last_credit_update_time] => 1760772721
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1725
    [user_voice_plan_id] => 1725
    [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,sr183,u22472
    [uphierarchy] => admin,sr27,sr183,u22472
    [113] => 
    [extra_params_json] => 
)


Compaign : 66734
\compaign_type : Rans per 26.47895 
ans sms 546
dnd sms 0

require answer perrequire answer per : 145

user answer per : 113
below is the redis data 32 UPDATE voice_compaign_detail_66734 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 32 Total Failed : 194 no_answer_count : 65 Busy count :50 congestion_count : 24 failed_count : 55UPDATE voice_compaign_detail_66734 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 65 UPDATE voice_compaign_detail_66734 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 50 UPDATE voice_compaign_detail_66734 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 24 UPDATE voice_compaign_detail_66734 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`='145', `user_busy_sms`='117', `user_congestion_sms`='24', `user_failed_sms`='139', `user_hangup_sms`='0', `user_no_answer_sms`='121', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66734 LIMIT 1 


Time Diff : 0.167

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760513581'  
Array
(
    [0] => 66735
    [compaign_id] => 66735
    [1] => u22472
    [user_id] => u22472
    [2] => 58249,
    [group_ids] => 58249,
    [3] => 
    [sender_id] => 
    [4] => diwali (mp3cut.net).mp3
    [filename] => diwali (mp3cut.net).mp3
    [5] => 28
    [duration] => 28
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760771111
    [start_date] => 1760771111
    [9] => 0
    [end_date] => 0
    [10] => 324
    [total_sms] => 324
    [11] => 324
    [sent_sms] => 324
    [12] => 0
    [duplicate_sms] => 0
    [13] => 70
    [answered_sms] => 70
    [14] => 48
    [busy_sms] => 48
    [15] => 0
    [congestion_sms] => 0
    [16] => 60
    [failed_sms] => 60
    [17] => 0
    [hangup_sms] => 0
    [18] => 29
    [no_answer_sms] => 29
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 117
    [cutting_sms] => 117
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 70
    [user_answered_sms] => 70
    [27] => 48
    [user_busy_sms] => 48
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 60
    [user_failed_sms] => 60
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 29
    [user_no_answer_sms] => 29
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u22472
    [created_by] => u22472
    [38] => 0
    [isScheduled] => 0
    [39] => 1760771111
    [create_date] => 1760771111
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760771118,"compaign_read_start_time":1760771119,"compaign_read_complete_time":1760771119,"compaign_send_start_time":1760771162,"compaign_send_complete_time":1760771169}
    [action_time] => {"api_allot_time":1760771118,"compaign_read_start_time":1760771119,"compaign_read_complete_time":1760771119,"compaign_send_start_time":1760771162,"compaign_send_complete_time":1760771169}
    [50] => 0
    [compaign_file] => 0
    [51] => u22472_66735_18102025_123517PM_970
    [common_name] => u22472_66735_18102025_123517PM_970
    [52] => 1760769966_u22472_voice.wav
    [voice_file] => 1760769966_u22472_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [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_58249
    [temp_group_table] => contacts_temp_group_58249
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1760772781
    [last_credit_update_time] => 1760772781
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1725
    [user_voice_plan_id] => 1725
    [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,sr183,u22472
    [uphierarchy] => admin,sr27,sr183,u22472
    [113] => 
    [extra_params_json] => 
)


Compaign : 66735
\compaign_type : Rans per 26.39872 
ans sms 324
dnd sms 0

require answer perrequire answer per : 86

user answer per : 70
below is the redis data 16 UPDATE voice_compaign_detail_66735 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16 Total Failed : 101 no_answer_count : 34 Busy count :26 congestion_count : 12 failed_count : 29UPDATE voice_compaign_detail_66735 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 34 UPDATE voice_compaign_detail_66735 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 26 UPDATE voice_compaign_detail_66735 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 12 UPDATE voice_compaign_detail_66735 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`='86', `user_busy_sms`='74', `user_congestion_sms`='12', `user_failed_sms`='89', `user_hangup_sms`='0', `user_no_answer_sms`='63', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66735 LIMIT 1 


Time Diff : 0.358

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760513642'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760513701'  
Array
(
    [0] => 66746
    [compaign_id] => 66746
    [1] => u61
    [user_id] => u61
    [2] => 58259,
    [group_ids] => 58259,
    [3] => 
    [sender_id] => 
    [4] => Follow 20 Oct.mp3
    [filename] => Follow 20 Oct.mp3
    [5] => 28
    [duration] => 28
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760772600
    [start_date] => 1760772600
    [9] => 0
    [end_date] => 0
    [10] => 342
    [total_sms] => 342
    [11] => 342
    [sent_sms] => 342
    [12] => 0
    [duplicate_sms] => 0
    [13] => 27
    [answered_sms] => 27
    [14] => 13
    [busy_sms] => 13
    [15] => 1
    [congestion_sms] => 1
    [16] => 152
    [failed_sms] => 152
    [17] => 0
    [hangup_sms] => 0
    [18] => 31
    [no_answer_sms] => 31
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 118
    [cutting_sms] => 118
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 27
    [user_answered_sms] => 27
    [27] => 13
    [user_busy_sms] => 13
    [28] => 1
    [user_congestion_sms] => 1
    [29] => 152
    [user_failed_sms] => 152
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 31
    [user_no_answer_sms] => 31
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u61
    [created_by] => u61
    [38] => 1
    [isScheduled] => 1
    [39] => 1760772123
    [create_date] => 1760772123
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760772606,"compaign_read_start_time":1760772610,"compaign_read_complete_time":1760772611,"compaign_send_start_time":1760772662,"compaign_send_complete_time":1760772672}
    [action_time] => {"api_allot_time":1760772606,"compaign_read_start_time":1760772610,"compaign_read_complete_time":1760772611,"compaign_send_start_time":1760772662,"compaign_send_complete_time":1760772672}
    [50] => 0
    [compaign_file] => 0
    [51] => u61_66746_18102025_010005PM_143
    [common_name] => u61_66746_18102025_010005PM_143
    [52] => 1760762521_u61_voice.wav
    [voice_file] => 1760762521_u61_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_58259
    [temp_group_table] => contacts_temp_group_58259
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760772901
    [last_credit_update_time] => 1760772901
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 133
    [user_voice_plan_id] => 133
    [85] => 54
    [voice_plan_id] => 54
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.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] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"27"}]
    [alloted_apis] => [{"cli":"","g_id":"27"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u61
    [uphierarchy] => admin,u61
    [113] => 
    [extra_params_json] => 
)


Compaign : 66746
\compaign_type : Rans per 29.81013 
ans sms 342
dnd sms 0

require answer perrequire answer per : 102

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='71', `user_busy_sms`='76', `user_congestion_sms`='10', `user_failed_sms`='104', `user_hangup_sms`='0', `user_no_answer_sms`='81', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66746 LIMIT 1 


Time Diff : 0.442

Array
(
    [0] => 66747
    [compaign_id] => 66747
    [1] => u91
    [user_id] => u91
    [2] => 58260,
    [group_ids] => 58260,
    [3] => 
    [sender_id] => 
    [4] => AUDIO HYD 18.10.2025.mp3
    [filename] => AUDIO HYD 18.10.2025.mp3
    [5] => 28
    [duration] => 28
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760772600
    [start_date] => 1760772600
    [9] => 0
    [end_date] => 0
    [10] => 1664
    [total_sms] => 1664
    [11] => 1664
    [sent_sms] => 1664
    [12] => 0
    [duplicate_sms] => 0
    [13] => 142
    [answered_sms] => 142
    [14] => 151
    [busy_sms] => 151
    [15] => 0
    [congestion_sms] => 0
    [16] => 176
    [failed_sms] => 176
    [17] => 0
    [hangup_sms] => 0
    [18] => 228
    [no_answer_sms] => 228
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 640
    [cutting_sms] => 640
    [22] => 327
    [dnd_sms] => 327
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 142
    [user_answered_sms] => 142
    [27] => 151
    [user_busy_sms] => 151
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 176
    [user_failed_sms] => 176
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 228
    [user_no_answer_sms] => 228
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 327
    [user_dnd_sms] => 327
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u91
    [created_by] => u91
    [38] => 1
    [isScheduled] => 1
    [39] => 1760772128
    [create_date] => 1760772128
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760772607,"compaign_read_start_time":1760772613,"compaign_read_complete_time":1760772618,"compaign_send_start_time":1760772662,"compaign_send_complete_time":1760772674}
    [action_time] => {"api_allot_time":1760772607,"compaign_read_start_time":1760772613,"compaign_read_complete_time":1760772618,"compaign_send_start_time":1760772662,"compaign_send_complete_time":1760772674}
    [50] => 0
    [compaign_file] => 0
    [51] => u91_66747_18102025_010005PM_466
    [common_name] => u91_66747_18102025_010005PM_466
    [52] => 1760770987_u91_voice.wav
    [voice_file] => 1760770987_u91_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_58260
    [temp_group_table] => contacts_temp_group_58260
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760772901
    [last_credit_update_time] => 1760772901
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 169
    [user_voice_plan_id] => 169
    [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":"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,sr31,u91
    [uphierarchy] => admin,sr31,u91
    [113] => 
    [extra_params_json] => 
)


Compaign : 66747
\compaign_type : Rans per 26.70397 
ans sms 1664
dnd sms 327

require answer perrequire answer per : 358

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='358', `user_busy_sms`='317', `user_congestion_sms`='46', `user_failed_sms`='221', `user_hangup_sms`='0', `user_no_answer_sms`='395', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='327' WHERE `compaign_id`=66747 LIMIT 1 


Time Diff : 0.131

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760513762'  
Array
(
    [0] => 66736
    [compaign_id] => 66736
    [1] => u22472
    [user_id] => u22472
    [2] => 58250,
    [group_ids] => 58250,
    [3] => 
    [sender_id] => 
    [4] => diwali (mp3cut.net).mp3
    [filename] => diwali (mp3cut.net).mp3
    [5] => 28
    [duration] => 28
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760771159
    [start_date] => 1760771159
    [9] => 0
    [end_date] => 0
    [10] => 536
    [total_sms] => 536
    [11] => 536
    [sent_sms] => 536
    [12] => 0
    [duplicate_sms] => 0
    [13] => 96
    [answered_sms] => 96
    [14] => 76
    [busy_sms] => 76
    [15] => 1
    [congestion_sms] => 1
    [16] => 73
    [failed_sms] => 73
    [17] => 0
    [hangup_sms] => 0
    [18] => 54
    [no_answer_sms] => 54
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 236
    [cutting_sms] => 236
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 96
    [user_answered_sms] => 96
    [27] => 76
    [user_busy_sms] => 76
    [28] => 1
    [user_congestion_sms] => 1
    [29] => 73
    [user_failed_sms] => 73
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 54
    [user_no_answer_sms] => 54
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u22472
    [created_by] => u22472
    [38] => 0
    [isScheduled] => 0
    [39] => 1760771159
    [create_date] => 1760771159
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760771167,"compaign_read_start_time":1760771167,"compaign_read_complete_time":1760771168,"compaign_send_start_time":1760771222,"compaign_send_complete_time":1760771225}
    [action_time] => {"api_allot_time":1760771167,"compaign_read_start_time":1760771167,"compaign_read_complete_time":1760771168,"compaign_send_start_time":1760771222,"compaign_send_complete_time":1760771225}
    [50] => 0
    [compaign_file] => 0
    [51] => u22472_66736_18102025_123606PM_856
    [common_name] => u22472_66736_18102025_123606PM_856
    [52] => 1760769966_u22472_voice.wav
    [voice_file] => 1760769966_u22472_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [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_58250
    [temp_group_table] => contacts_temp_group_58250
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1760772901
    [last_credit_update_time] => 1760772901
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1725
    [user_voice_plan_id] => 1725
    [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,sr183,u22472
    [uphierarchy] => admin,sr27,sr183,u22472
    [113] => 
    [extra_params_json] => 
)


Compaign : 66736
\compaign_type : Rans per 29.46036 
ans sms 536
dnd sms 0

require answer perrequire answer per : 158

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='158', `user_busy_sms`='121', `user_congestion_sms`='21', `user_failed_sms`='123', `user_hangup_sms`='0', `user_no_answer_sms`='113', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66736 LIMIT 1 


Time Diff : 0.53

Array
(
    [0] => 66737
    [compaign_id] => 66737
    [1] => u22472
    [user_id] => u22472
    [2] => 58251,
    [group_ids] => 58251,
    [3] => 
    [sender_id] => 
    [4] => diwali (mp3cut.net).mp3
    [filename] => diwali (mp3cut.net).mp3
    [5] => 28
    [duration] => 28
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760771222
    [start_date] => 1760771222
    [9] => 0
    [end_date] => 0
    [10] => 377
    [total_sms] => 377
    [11] => 377
    [sent_sms] => 377
    [12] => 0
    [duplicate_sms] => 0
    [13] => 71
    [answered_sms] => 71
    [14] => 48
    [busy_sms] => 48
    [15] => 0
    [congestion_sms] => 0
    [16] => 72
    [failed_sms] => 72
    [17] => 0
    [hangup_sms] => 0
    [18] => 36
    [no_answer_sms] => 36
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 150
    [cutting_sms] => 150
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 71
    [user_answered_sms] => 71
    [27] => 48
    [user_busy_sms] => 48
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 72
    [user_failed_sms] => 72
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 36
    [user_no_answer_sms] => 36
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u22472
    [created_by] => u22472
    [38] => 0
    [isScheduled] => 0
    [39] => 1760771222
    [create_date] => 1760771222
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760771229,"compaign_read_start_time":1760771231,"compaign_read_complete_time":1760771231,"compaign_send_start_time":1760771281,"compaign_send_complete_time":1760771284}
    [action_time] => {"api_allot_time":1760771229,"compaign_read_start_time":1760771231,"compaign_read_complete_time":1760771231,"compaign_send_start_time":1760771281,"compaign_send_complete_time":1760771284}
    [50] => 0
    [compaign_file] => 0
    [51] => u22472_66737_18102025_123708PM_994
    [common_name] => u22472_66737_18102025_123708PM_994
    [52] => 1760769966_u22472_voice.wav
    [voice_file] => 1760769966_u22472_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [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_58251
    [temp_group_table] => contacts_temp_group_58251
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [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] => 1760772961
    [last_credit_update_time] => 1760772961
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1725
    [user_voice_plan_id] => 1725
    [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,sr183,u22472
    [uphierarchy] => admin,sr27,sr183,u22472
    [113] => 
    [extra_params_json] => 
)


Compaign : 66737
\compaign_type : Rans per 30.69167 
ans sms 377
dnd sms 0

require answer perrequire answer per : 116

user answer per : 71
below is the redis data 45 UPDATE voice_compaign_detail_66737 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 45 Total Failed : 105 no_answer_count : 36 Busy count :27 congestion_count : 13 failed_count : 29UPDATE voice_compaign_detail_66737 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 36 UPDATE voice_compaign_detail_66737 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 27 UPDATE voice_compaign_detail_66737 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 13 UPDATE voice_compaign_detail_66737 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`='116', `user_busy_sms`='75', `user_congestion_sms`='13', `user_failed_sms`='101', `user_hangup_sms`='0', `user_no_answer_sms`='72', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66737 LIMIT 1 


Time Diff : 0.687

Array
(
    [0] => 66739
    [compaign_id] => 66739
    [1] => u22472
    [user_id] => u22472
    [2] => 58254,
    [group_ids] => 58254,
    [3] => 
    [sender_id] => 
    [4] => diwali (mp3cut.net).mp3
    [filename] => diwali (mp3cut.net).mp3
    [5] => 28
    [duration] => 28
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760771456
    [start_date] => 1760771456
    [9] => 0
    [end_date] => 0
    [10] => 566
    [total_sms] => 566
    [11] => 566
    [sent_sms] => 566
    [12] => 0
    [duplicate_sms] => 0
    [13] => 99
    [answered_sms] => 99
    [14] => 83
    [busy_sms] => 83
    [15] => 1
    [congestion_sms] => 1
    [16] => 107
    [failed_sms] => 107
    [17] => 0
    [hangup_sms] => 0
    [18] => 47
    [no_answer_sms] => 47
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 229
    [cutting_sms] => 229
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 99
    [user_answered_sms] => 99
    [27] => 83
    [user_busy_sms] => 83
    [28] => 1
    [user_congestion_sms] => 1
    [29] => 107
    [user_failed_sms] => 107
    [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] => u22472
    [created_by] => u22472
    [38] => 0
    [isScheduled] => 0
    [39] => 1760771456
    [create_date] => 1760771456
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760771463,"compaign_read_start_time":1760771464,"compaign_read_complete_time":1760771465,"compaign_send_start_time":1760771522,"compaign_send_complete_time":1760771524}
    [action_time] => {"api_allot_time":1760771463,"compaign_read_start_time":1760771464,"compaign_read_complete_time":1760771465,"compaign_send_start_time":1760771522,"compaign_send_complete_time":1760771524}
    [50] => 0
    [compaign_file] => 0
    [51] => u22472_66739_18102025_124101PM_367
    [common_name] => u22472_66739_18102025_124101PM_367
    [52] => 1760769966_u22472_voice.wav
    [voice_file] => 1760769966_u22472_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [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_58254
    [temp_group_table] => contacts_temp_group_58254
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => 1760772961
    [last_credit_update_time] => 1760772961
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1725
    [user_voice_plan_id] => 1725
    [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,sr183,u22472
    [uphierarchy] => admin,sr27,sr183,u22472
    [113] => 
    [extra_params_json] => 
)


Compaign : 66739
\compaign_type : Rans per 26.57757 
ans sms 566
dnd sms 0

require answer perrequire answer per : 151

user answer per : 99
below is the redis data 52 UPDATE voice_compaign_detail_66739 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 52 Total Failed : 177 no_answer_count : 60 Busy count :46 congestion_count : 22 failed_count : 49UPDATE voice_compaign_detail_66739 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 60 UPDATE voice_compaign_detail_66739 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 46 UPDATE voice_compaign_detail_66739 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 22 UPDATE voice_compaign_detail_66739 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`='151', `user_busy_sms`='129', `user_congestion_sms`='23', `user_failed_sms`='156', `user_hangup_sms`='0', `user_no_answer_sms`='107', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66739 LIMIT 1 


Time Diff : 0.422

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


Compaign : 66753
\compaign_type : Rans per 28.68061 
ans sms 930
dnd sms 71

require answer perrequire answer per : 247

user answer per : 145
below is the redis data 102 /n/r
only no answer and busy will be convert, total number require 102 /n/r
UPDATE voice_compaign_detail_66753 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 77 UPDATE voice_compaign_detail_66753 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 77 Total Failed : 261 no_answer_count : 88 Busy count :67 congestion_count : 31 failed_count : 75UPDATE voice_compaign_detail_66753 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 88 UPDATE voice_compaign_detail_66753 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 67 UPDATE voice_compaign_detail_66753 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 31 UPDATE voice_compaign_detail_66753 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`='247', `user_busy_sms`='197', `user_congestion_sms`='31', `user_failed_sms`='126', `user_hangup_sms`='0', `user_no_answer_sms`='258', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='71' WHERE `compaign_id`=66753 LIMIT 1 


Time Diff : 0.24

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760514062'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760514122'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760514181'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760514241'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760514302'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760514361'  
Array
(
    [0] => 66758
    [compaign_id] => 66758
    [1] => u7
    [user_id] => u7
    [2] => 58264,
    [group_ids] => 58264,
    [3] => 
    [sender_id] => 
    [4] => kal 19th oct.mp3
    [filename] => kal 19th oct.mp3
    [5] => 27
    [duration] => 27
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760773293
    [start_date] => 1760773293
    [9] => 0
    [end_date] => 0
    [10] => 167
    [total_sms] => 167
    [11] => 167
    [sent_sms] => 167
    [12] => 0
    [duplicate_sms] => 0
    [13] => 58
    [answered_sms] => 58
    [14] => 19
    [busy_sms] => 19
    [15] => 0
    [congestion_sms] => 0
    [16] => 9
    [failed_sms] => 9
    [17] => 0
    [hangup_sms] => 0
    [18] => 34
    [no_answer_sms] => 34
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 31
    [cutting_sms] => 31
    [22] => 16
    [dnd_sms] => 16
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 58
    [user_answered_sms] => 58
    [27] => 19
    [user_busy_sms] => 19
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 9
    [user_failed_sms] => 9
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 34
    [user_no_answer_sms] => 34
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 16
    [user_dnd_sms] => 16
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u7
    [created_by] => u7
    [38] => 0
    [isScheduled] => 0
    [39] => 1760773293
    [create_date] => 1760773293
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760773299,"compaign_read_start_time":1760773300,"compaign_read_complete_time":1760773301,"compaign_send_start_time":1760773322,"compaign_send_complete_time":1760773323}
    [action_time] => {"api_allot_time":1760773299,"compaign_read_start_time":1760773300,"compaign_read_complete_time":1760773301,"compaign_send_start_time":1760773322,"compaign_send_complete_time":1760773323}
    [50] => 0
    [compaign_file] => 0
    [51] => u7_66758_18102025_011138PM_951
    [common_name] => u7_66758_18102025_011138PM_951
    [52] => 1729232022_u7_voice.wav
    [voice_file] => 1729232022_u7_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [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_58264
    [temp_group_table] => contacts_temp_group_58264
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_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] => 1760773502
    [reschedule_last_check_time] => 1760773502
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760773561
    [last_credit_update_time] => 1760773561
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 41
    [user_voice_plan_id] => 41
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.18
    [pulse_rate] => 0.18
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => []
    [rt_time] => []
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u7
    [uphierarchy] => admin,u7
    [113] => 
    [extra_params_json] => 
)


Compaign : 66758
\compaign_type : Rans per 26.45187 
ans sms 167
dnd sms 16

require answer perrequire answer per : 40

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='58', `user_busy_sms`='27', `user_congestion_sms`='4', `user_failed_sms`='17', `user_hangup_sms`='0', `user_no_answer_sms`='45', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='16' WHERE `compaign_id`=66758 LIMIT 1 


Time Diff : 1.335

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


Compaign : 66762
\compaign_type : Rans per 27.1082 
ans sms 683
dnd sms 71

require answer perrequire answer per : 166

user answer per : 92
below is the redis data 74 /n/r
only no answer and busy will be convert, total number require 74 /n/r
UPDATE voice_compaign_detail_66762 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 54 UPDATE voice_compaign_detail_66762 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 54 Total Failed : 192 no_answer_count : 65 Busy count :50 congestion_count : 23 failed_count : 54UPDATE voice_compaign_detail_66762 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 65 UPDATE voice_compaign_detail_66762 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 50 UPDATE voice_compaign_detail_66762 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 23 UPDATE voice_compaign_detail_66762 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`='166', `user_busy_sms`='149', `user_congestion_sms`='23', `user_failed_sms`='103', `user_hangup_sms`='0', `user_no_answer_sms`='171', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='71' WHERE `compaign_id`=66762 LIMIT 1 


Time Diff : 0.406

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760514842'  
Array
(
    [0] => 66763
    [compaign_id] => 66763
    [1] => u64
    [user_id] => u64
    [2] => 58271,
    [group_ids] => 58271,
    [3] => 
    [sender_id] => 
    [4] => BCS DHANTERAS.mp3
    [filename] => BCS DHANTERAS.mp3
    [5] => 19
    [duration] => 19
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760773731
    [start_date] => 1760773731
    [9] => 0
    [end_date] => 0
    [10] => 1227
    [total_sms] => 1227
    [11] => 1227
    [sent_sms] => 1227
    [12] => 0
    [duplicate_sms] => 0
    [13] => 169
    [answered_sms] => 169
    [14] => 169
    [busy_sms] => 169
    [15] => 0
    [congestion_sms] => 0
    [16] => 59
    [failed_sms] => 59
    [17] => 0
    [hangup_sms] => 0
    [18] => 149
    [no_answer_sms] => 149
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 460
    [cutting_sms] => 460
    [22] => 221
    [dnd_sms] => 221
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 169
    [user_answered_sms] => 169
    [27] => 169
    [user_busy_sms] => 169
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 59
    [user_failed_sms] => 59
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 149
    [user_no_answer_sms] => 149
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 221
    [user_dnd_sms] => 221
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u64
    [created_by] => u64
    [38] => 0
    [isScheduled] => 0
    [39] => 1760773730
    [create_date] => 1760773730
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760773742,"compaign_read_start_time":1760773744,"compaign_read_complete_time":1760773748,"compaign_send_start_time":1760773802,"compaign_send_complete_time":1760773805}
    [action_time] => {"api_allot_time":1760773742,"compaign_read_start_time":1760773744,"compaign_read_complete_time":1760773748,"compaign_send_start_time":1760773802,"compaign_send_complete_time":1760773805}
    [50] => 0
    [compaign_file] => 0
    [51] => u64_66763_18102025_011902PM_942
    [common_name] => u64_66763_18102025_011902PM_942
    [52] => 1760773730_u64_voice.wav
    [voice_file] => 1760773730_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_58271
    [temp_group_table] => contacts_temp_group_58271
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760774042
    [last_credit_update_time] => 1760774042
    [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 : 66763
\compaign_type : Rans per 29.68974 
ans sms 1227
dnd sms 221

require answer perrequire answer per : 299

user answer per : 169
below is the redis data 130 /n/r
only no answer and busy will be convert, total number require 130 /n/r
UPDATE voice_compaign_detail_66763 SET user_report='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_66763 SET user_report='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 : 280 no_answer_count : 94 Busy count :72 congestion_count : 34 failed_count : 80UPDATE voice_compaign_detail_66763 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 94 UPDATE voice_compaign_detail_66763 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 72 UPDATE voice_compaign_detail_66763 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 34 UPDATE voice_compaign_detail_66763 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`='299', `user_busy_sms`='269', `user_congestion_sms`='34', `user_failed_sms`='125', `user_hangup_sms`='0', `user_no_answer_sms`='279', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='221' WHERE `compaign_id`=66763 LIMIT 1 


Time Diff : 0.183

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


Compaign : 66768
\compaign_type : Rans per 29.55691 
ans sms 109
dnd sms 16

require answer perrequire answer per : 28

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


Time Diff : 2.606

Array
(
    [0] => 66769
    [compaign_id] => 66769
    [1] => u607
    [user_id] => u607
    [2] => 58276,
    [group_ids] => 58276,
    [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] => 1760773926
    [start_date] => 1760773926
    [9] => 0
    [end_date] => 0
    [10] => 264
    [total_sms] => 264
    [11] => 264
    [sent_sms] => 264
    [12] => 0
    [duplicate_sms] => 0
    [13] => 52
    [answered_sms] => 52
    [14] => 36
    [busy_sms] => 36
    [15] => 0
    [congestion_sms] => 0
    [16] => 30
    [failed_sms] => 30
    [17] => 0
    [hangup_sms] => 0
    [18] => 68
    [no_answer_sms] => 68
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 78
    [cutting_sms] => 78
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 52
    [user_answered_sms] => 52
    [27] => 36
    [user_busy_sms] => 36
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 30
    [user_failed_sms] => 30
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 68
    [user_no_answer_sms] => 68
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u607
    [created_by] => u607
    [38] => 0
    [isScheduled] => 0
    [39] => 1760773926
    [create_date] => 1760773926
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760773933,"compaign_read_start_time":1760773939,"compaign_read_complete_time":1760773939,"compaign_send_start_time":1760773981,"compaign_send_complete_time":1760773983}
    [action_time] => {"api_allot_time":1760773933,"compaign_read_start_time":1760773939,"compaign_read_complete_time":1760773939,"compaign_send_start_time":1760773981,"compaign_send_complete_time":1760773983}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_66769_18102025_012211PM_967
    [common_name] => u607_66769_18102025_012211PM_967
    [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_58276
    [temp_group_table] => contacts_temp_group_58276
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760774222
    [last_credit_update_time] => 1760774222
    [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 : 66769
\compaign_type : Rans per 27.32723 
ans sms 264
dnd sms 0

require answer perrequire answer per : 73

user answer per : 52
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_66769 SET user_report='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_66769 SET user_report='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 : 56 no_answer_count : 19 Busy count :15 congestion_count : 7 failed_count : 15UPDATE voice_compaign_detail_66769 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 19 UPDATE voice_compaign_detail_66769 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 15 UPDATE voice_compaign_detail_66769 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 7 UPDATE voice_compaign_detail_66769 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`='73', `user_busy_sms`='59', `user_congestion_sms`='7', `user_failed_sms`='37', `user_hangup_sms`='0', `user_no_answer_sms`='88', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66769 LIMIT 1 


Time Diff : 1.076

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


Compaign : 66770
\compaign_type : Rans per 26.61977 
ans sms 2931
dnd sms 743

require answer perrequire answer per : 583

user answer per : 325
below is the redis data 258 UPDATE voice_compaign_detail_66770 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 258 Total Failed : 799 no_answer_count : 267 Busy count :206 congestion_count : 95 failed_count : 231UPDATE voice_compaign_detail_66770 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 267 UPDATE voice_compaign_detail_66770 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 206 UPDATE voice_compaign_detail_66770 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 95 UPDATE voice_compaign_detail_66770 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 231 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='583', `user_busy_sms`='367', `user_congestion_sms`='97', `user_failed_sms`='560', `user_hangup_sms`='0', `user_no_answer_sms`='581', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='743' WHERE `compaign_id`=66770 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>'1760515141'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760515202'  
Array
(
    [0] => 66771
    [compaign_id] => 66771
    [1] => u607
    [user_id] => u607
    [2] => 58277,
    [group_ids] => 58277,
    [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] => 1760774131
    [start_date] => 1760774131
    [9] => 0
    [end_date] => 0
    [10] => 349
    [total_sms] => 349
    [11] => 349
    [sent_sms] => 349
    [12] => 0
    [duplicate_sms] => 0
    [13] => 40
    [answered_sms] => 40
    [14] => 24
    [busy_sms] => 24
    [15] => 0
    [congestion_sms] => 0
    [16] => 99
    [failed_sms] => 99
    [17] => 0
    [hangup_sms] => 0
    [18] => 40
    [no_answer_sms] => 40
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 110
    [cutting_sms] => 110
    [22] => 36
    [dnd_sms] => 36
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 40
    [user_answered_sms] => 40
    [27] => 24
    [user_busy_sms] => 24
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 99
    [user_failed_sms] => 99
    [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] => 36
    [user_dnd_sms] => 36
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u607
    [created_by] => u607
    [38] => 0
    [isScheduled] => 0
    [39] => 1760774131
    [create_date] => 1760774131
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760774138,"compaign_read_start_time":1760774141,"compaign_read_complete_time":1760774141,"compaign_send_start_time":1760774161,"compaign_send_complete_time":1760774162}
    [action_time] => {"api_allot_time":1760774138,"compaign_read_start_time":1760774141,"compaign_read_complete_time":1760774141,"compaign_send_start_time":1760774161,"compaign_send_complete_time":1760774162}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_66771_18102025_012537PM_923
    [common_name] => u607_66771_18102025_012537PM_923
    [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_58277
    [temp_group_table] => contacts_temp_group_58277
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760774402
    [last_credit_update_time] => 1760774402
    [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 : 66771
\compaign_type : Rans per 29.67459 
ans sms 349
dnd sms 36

require answer perrequire answer per : 93

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='93', `user_busy_sms`='65', `user_congestion_sms`='9', `user_failed_sms`='76', `user_hangup_sms`='0', `user_no_answer_sms`='70', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='36' WHERE `compaign_id`=66771 LIMIT 1 


Time Diff : 0.645

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


Compaign : 66775
\compaign_type : Rans per 28.45611 
ans sms 517
dnd sms 71

require answer perrequire answer per : 127

user answer per : 59
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_66775 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 54 UPDATE voice_compaign_detail_66775 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 54 Total Failed : 112 no_answer_count : 38 Busy count :29 congestion_count : 14 failed_count : 31UPDATE voice_compaign_detail_66775 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 38 UPDATE voice_compaign_detail_66775 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 29 UPDATE voice_compaign_detail_66775 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 14 UPDATE voice_compaign_detail_66775 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`='127', `user_busy_sms`='109', `user_congestion_sms`='14', `user_failed_sms`='67', `user_hangup_sms`='0', `user_no_answer_sms`='129', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='71' WHERE `compaign_id`=66775 LIMIT 1 


Time Diff : 0.551

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760515441'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760515501'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760515562'  
Array
(
    [0] => 66754
    [compaign_id] => 66754
    [1] => u61
    [user_id] => u61
    [2] => 58266,
    [group_ids] => 58266,
    [3] => 
    [sender_id] => 
    [4] => Follow 20 Oct.mp3
    [filename] => Follow 20 Oct.mp3
    [5] => 28
    [duration] => 28
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760774400
    [start_date] => 1760774400
    [9] => 0
    [end_date] => 0
    [10] => 271
    [total_sms] => 271
    [11] => 271
    [sent_sms] => 271
    [12] => 0
    [duplicate_sms] => 0
    [13] => 16
    [answered_sms] => 16
    [14] => 4
    [busy_sms] => 4
    [15] => 0
    [congestion_sms] => 0
    [16] => 154
    [failed_sms] => 154
    [17] => 0
    [hangup_sms] => 0
    [18] => 9
    [no_answer_sms] => 9
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 88
    [cutting_sms] => 88
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 16
    [user_answered_sms] => 16
    [27] => 4
    [user_busy_sms] => 4
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 154
    [user_failed_sms] => 154
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 9
    [user_no_answer_sms] => 9
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u61
    [created_by] => u61
    [38] => 1
    [isScheduled] => 1
    [39] => 1760773025
    [create_date] => 1760773025
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760774407,"compaign_read_start_time":1760774408,"compaign_read_complete_time":1760774408,"compaign_send_start_time":1760774461,"compaign_send_complete_time":1760774462}
    [action_time] => {"api_allot_time":1760774407,"compaign_read_start_time":1760774408,"compaign_read_complete_time":1760774408,"compaign_send_start_time":1760774461,"compaign_send_complete_time":1760774462}
    [50] => 0
    [compaign_file] => 0
    [51] => u61_66754_18102025_013005PM_923
    [common_name] => u61_66754_18102025_013005PM_923
    [52] => 1760762521_u61_voice.wav
    [voice_file] => 1760762521_u61_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_58266
    [temp_group_table] => contacts_temp_group_58266
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760774701
    [last_credit_update_time] => 1760774701
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 133
    [user_voice_plan_id] => 133
    [85] => 54
    [voice_plan_id] => 54
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.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] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"27"}]
    [alloted_apis] => [{"cli":"","g_id":"27"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,u61
    [uphierarchy] => admin,u61
    [113] => 
    [extra_params_json] => 
)


Compaign : 66754
\compaign_type : Rans per 25.15503 
ans sms 271
dnd sms 0

require answer perrequire answer per : 69

user answer per : 16
below is the redis data 53 /n/r
only no answer and busy will be convert, total number require 53 /n/r
UPDATE voice_compaign_detail_66754 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 42 UPDATE voice_compaign_detail_66754 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 42 Total Failed : 60 no_answer_count : 21 Busy count :16 congestion_count : 8 failed_count : 15UPDATE voice_compaign_detail_66754 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 21 UPDATE voice_compaign_detail_66754 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 16 UPDATE voice_compaign_detail_66754 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 8 UPDATE voice_compaign_detail_66754 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`='29', `user_busy_sms`='58', `user_congestion_sms`='8', `user_failed_sms`='113', `user_hangup_sms`='0', `user_no_answer_sms`='63', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66754 LIMIT 1 


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


Compaign : 66778
\compaign_type : Rans per 30.48691 
ans sms 74
dnd sms 16

require answer perrequire answer per : 18

user answer per : 12
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_66778 SET user_report='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_66778 SET user_report='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`='18', `user_busy_sms`='17', `user_congestion_sms`='0', `user_failed_sms`='0', `user_hangup_sms`='0', `user_no_answer_sms`='23', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='16' WHERE `compaign_id`=66778 LIMIT 1 


Time Diff : 3.014

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760515682'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760515741'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760515801'  
Array
(
    [0] => 66780
    [compaign_id] => 66780
    [1] => u91
    [user_id] => u91
    [2] => 58282,
    [group_ids] => 58282,
    [3] => 
    [sender_id] => 
    [4] => 21.10.25__sevakula kudika__.mp3
    [filename] => 21.10.25__sevakula kudika__.mp3
    [5] => 28
    [duration] => 28
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760774718
    [start_date] => 1760774718
    [9] => 0
    [end_date] => 0
    [10] => 1600
    [total_sms] => 1600
    [11] => 1600
    [sent_sms] => 1600
    [12] => 0
    [duplicate_sms] => 0
    [13] => 182
    [answered_sms] => 182
    [14] => 139
    [busy_sms] => 139
    [15] => 2
    [congestion_sms] => 2
    [16] => 144
    [failed_sms] => 144
    [17] => 0
    [hangup_sms] => 0
    [18] => 191
    [no_answer_sms] => 191
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 666
    [cutting_sms] => 666
    [22] => 276
    [dnd_sms] => 276
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 182
    [user_answered_sms] => 182
    [27] => 139
    [user_busy_sms] => 139
    [28] => 2
    [user_congestion_sms] => 2
    [29] => 144
    [user_failed_sms] => 144
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 191
    [user_no_answer_sms] => 191
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 276
    [user_dnd_sms] => 276
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u91
    [created_by] => u91
    [38] => 0
    [isScheduled] => 0
    [39] => 1760774717
    [create_date] => 1760774717
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760774725,"compaign_read_start_time":1760774725,"compaign_read_complete_time":1760774728,"compaign_send_start_time":1760774762,"compaign_send_complete_time":1760774766}
    [action_time] => {"api_allot_time":1760774725,"compaign_read_start_time":1760774725,"compaign_read_complete_time":1760774728,"compaign_send_start_time":1760774762,"compaign_send_complete_time":1760774766}
    [50] => 0
    [compaign_file] => 0
    [51] => u91_66780_18102025_013524PM_118
    [common_name] => u91_66780_18102025_013524PM_118
    [52] => 1760774254_u91_voice.wav
    [voice_file] => 1760774254_u91_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [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_58282
    [temp_group_table] => contacts_temp_group_58282
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 1
    [reschedule_max] => 1
    [71] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR,N,
    [reschedule_types] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR,N,
    [72] => 1
    [reschedule_remaining] => 1
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760775001
    [last_credit_update_time] => 1760775001
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 169
    [user_voice_plan_id] => 169
    [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":1760775300}
    [rt_time] => {"1":1760775300}
    [104] => 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,sr31,u91
    [uphierarchy] => admin,sr31,u91
    [113] => 
    [extra_params_json] => 
)


Compaign : 66780
\compaign_type : Rans per 25.14953 
ans sms 1600
dnd sms 276

require answer perrequire answer per : 333

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='333', `user_busy_sms`='317', `user_congestion_sms`='58', `user_failed_sms`='231', `user_hangup_sms`='0', `user_no_answer_sms`='385', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='276' WHERE `compaign_id`=66780 LIMIT 1 


Time Diff : 0.14

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


Compaign : 66572
\compaign_type : ATans per 28.07885 
ans sms 12239
dnd sms 0

require answer perrequire answer per : 3437

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='67', `user_busy_sms`='3263', `user_congestion_sms`='0', `user_failed_sms`='8398', `user_hangup_sms`='0', `user_no_answer_sms`='511', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.117

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760516342'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760516401'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760516462'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760516521'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760516582'  
Array
(
    [0] => 66785
    [compaign_id] => 66785
    [1] => u91
    [user_id] => u91
    [2] => 58284,
    [group_ids] => 58284,
    [3] => 
    [sender_id] => 
    [4] => 21.10.25__sevakula kudika__.mp3
    [filename] => 21.10.25__sevakula kudika__.mp3
    [5] => 28
    [duration] => 28
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760775300
    [start_date] => 1760775300
    [9] => 0
    [end_date] => 0
    [10] => 1267
    [total_sms] => 1267
    [11] => 1267
    [sent_sms] => 1267
    [12] => 0
    [duplicate_sms] => 0
    [13] => 139
    [answered_sms] => 139
    [14] => 116
    [busy_sms] => 116
    [15] => 1
    [congestion_sms] => 1
    [16] => 150
    [failed_sms] => 150
    [17] => 0
    [hangup_sms] => 0
    [18] => 141
    [no_answer_sms] => 141
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 444
    [cutting_sms] => 444
    [22] => 276
    [dnd_sms] => 276
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 139
    [user_answered_sms] => 139
    [27] => 116
    [user_busy_sms] => 116
    [28] => 1
    [user_congestion_sms] => 1
    [29] => 150
    [user_failed_sms] => 150
    [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] => 276
    [user_dnd_sms] => 276
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u91
    [created_by] => u91
    [38] => 1
    [isScheduled] => 1
    [39] => 1760775435
    [create_date] => 1760775435
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760775436,"compaign_read_start_time":1760775439,"compaign_read_complete_time":1760775441,"compaign_send_start_time":1760775482,"compaign_send_complete_time":1760775485}
    [action_time] => {"api_allot_time":1760775436,"compaign_read_start_time":1760775439,"compaign_read_complete_time":1760775441,"compaign_send_start_time":1760775482,"compaign_send_complete_time":1760775485}
    [50] => 0
    [compaign_file] => 0
    [51] => u91_66785_18102025_014715PM_933
    [common_name] => u91_66785_18102025_014715PM_933
    [52] => 1760774254_u91_voice.wav
    [voice_file] => 1760774254_u91_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_58284
    [temp_group_table] => contacts_temp_group_58284
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760775721
    [last_credit_update_time] => 1760775721
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 169
    [user_voice_plan_id] => 169
    [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":"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,sr31,u91
    [uphierarchy] => admin,sr31,u91
    [113] => 
    [extra_params_json] => 
)


Compaign : 66785
\compaign_type : Rans per 28.98329 
ans sms 1267
dnd sms 276

require answer perrequire answer per : 288

user answer per : 139
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_66785 SET user_report='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_66785 SET user_report='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 : 275 no_answer_count : 92 Busy count :71 congestion_count : 33 failed_count : 79UPDATE voice_compaign_detail_66785 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 92 UPDATE voice_compaign_detail_66785 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 71 UPDATE voice_compaign_detail_66785 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 33 UPDATE voice_compaign_detail_66785 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`='288', `user_busy_sms`='239', `user_congestion_sms`='34', `user_failed_sms`='170', `user_hangup_sms`='0', `user_no_answer_sms`='260', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='276' WHERE `compaign_id`=66785 LIMIT 1 


Time Diff : 0.218

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760516641'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760516701'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760516761'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760516821'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760516881'  
Array
(
    [0] => 66788
    [compaign_id] => 66788
    [1] => u179
    [user_id] => u179
    [2] => 58285,
    [group_ids] => 58285,
    [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] => 1760775810
    [start_date] => 1760775810
    [9] => 0
    [end_date] => 0
    [10] => 3155
    [total_sms] => 3155
    [11] => 3155
    [sent_sms] => 3155
    [12] => 0
    [duplicate_sms] => 0
    [13] => 186
    [answered_sms] => 186
    [14] => 754
    [busy_sms] => 754
    [15] => 0
    [congestion_sms] => 0
    [16] => 96
    [failed_sms] => 96
    [17] => 0
    [hangup_sms] => 0
    [18] => 260
    [no_answer_sms] => 260
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 1377
    [cutting_sms] => 1377
    [22] => 482
    [dnd_sms] => 482
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 186
    [user_answered_sms] => 186
    [27] => 754
    [user_busy_sms] => 754
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 96
    [user_failed_sms] => 96
    [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] => 482
    [user_dnd_sms] => 482
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u179
    [created_by] => u179
    [38] => 0
    [isScheduled] => 0
    [39] => 1760775808
    [create_date] => 1760775808
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760775817,"compaign_read_start_time":1760775817,"compaign_read_complete_time":1760775824,"compaign_send_start_time":1760775841,"compaign_send_complete_time":1760775847}
    [action_time] => {"api_allot_time":1760775817,"compaign_read_start_time":1760775817,"compaign_read_complete_time":1760775824,"compaign_send_start_time":1760775841,"compaign_send_complete_time":1760775847}
    [50] => 0
    [compaign_file] => 0
    [51] => u179_66788_18102025_015336PM_884
    [common_name] => u179_66788_18102025_015336PM_884
    [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_58285
    [temp_group_table] => contacts_temp_group_58285
    [61] => 0
    [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] => 1760775902
    [reschedule_last_check_time] => 1760775902
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760776081
    [last_credit_update_time] => 1760776081
    [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":1760776200,"2":1760777100,"3":1760778000}
    [rt_time] => {"1":1760776200,"2":1760777100,"3":1760778000}
    [104] => 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 : 66788
\compaign_type : Rans per 27.7007 
ans sms 3155
dnd sms 482

require answer perrequire answer per : 741

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='741', `user_busy_sms`='909', `user_congestion_sms`='71', `user_failed_sms`='219', `user_hangup_sms`='0', `user_no_answer_sms`='733', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='482' WHERE `compaign_id`=66788 LIMIT 1 


Time Diff : 0.071

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760516941'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760517005'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760517061'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760517121'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760517181'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760517242'  
Array
(
    [0] => 66789
    [compaign_id] => 66789
    [1] => u179
    [user_id] => u179
    [2] => 58286,
    [group_ids] => 58286,
    [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] => 1760776083
    [start_date] => 1760776083
    [9] => 0
    [end_date] => 0
    [10] => 164
    [total_sms] => 164
    [11] => 164
    [sent_sms] => 164
    [12] => 0
    [duplicate_sms] => 0
    [13] => 22
    [answered_sms] => 22
    [14] => 24
    [busy_sms] => 24
    [15] => 0
    [congestion_sms] => 0
    [16] => 26
    [failed_sms] => 26
    [17] => 0
    [hangup_sms] => 0
    [18] => 29
    [no_answer_sms] => 29
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 31
    [cutting_sms] => 31
    [22] => 32
    [dnd_sms] => 32
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 22
    [user_answered_sms] => 22
    [27] => 24
    [user_busy_sms] => 24
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 26
    [user_failed_sms] => 26
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 29
    [user_no_answer_sms] => 29
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 32
    [user_dnd_sms] => 32
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u179
    [created_by] => u179
    [38] => 0
    [isScheduled] => 0
    [39] => 1760776083
    [create_date] => 1760776083
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760776090,"compaign_read_start_time":1760776093,"compaign_read_complete_time":1760776094,"compaign_send_start_time":1760776142,"compaign_send_complete_time":1760776146}
    [action_time] => {"api_allot_time":1760776090,"compaign_read_start_time":1760776093,"compaign_read_complete_time":1760776094,"compaign_send_start_time":1760776142,"compaign_send_complete_time":1760776146}
    [50] => 0
    [compaign_file] => 0
    [51] => u179_66789_18102025_015809PM_598
    [common_name] => u179_66789_18102025_015809PM_598
    [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_58286
    [temp_group_table] => contacts_temp_group_58286
    [61] => 0
    [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] => 1760776202
    [reschedule_last_check_time] => 1760776202
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760776381
    [last_credit_update_time] => 1760776381
    [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":1760776200,"2":1760777100,"3":1760778000}
    [rt_time] => {"1":1760776200,"2":1760777100,"3":1760778000}
    [104] => 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 : 66789
\compaign_type : Rans per 25.59204 
ans sms 164
dnd sms 32

require answer perrequire answer per : 34

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='34', `user_busy_sms`='37', `user_congestion_sms`='3', `user_failed_sms`='23', `user_hangup_sms`='0', `user_no_answer_sms`='35', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='32' WHERE `compaign_id`=66789 LIMIT 1 


Time Diff : 1.732

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760517302'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760517362'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760517421'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760517482'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760517541'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760517601'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760517662'  
Array
(
    [0] => 66792
    [compaign_id] => 66792
    [1] => u179
    [user_id] => u179
    [2] => 58288,
    [group_ids] => 58288,
    [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] => 1760776200
    [start_date] => 1760776200
    [9] => 0
    [end_date] => 0
    [10] => 2414
    [total_sms] => 2414
    [11] => 2414
    [sent_sms] => 2414
    [12] => 0
    [duplicate_sms] => 0
    [13] => 106
    [answered_sms] => 106
    [14] => 557
    [busy_sms] => 557
    [15] => 0
    [congestion_sms] => 0
    [16] => 100
    [failed_sms] => 100
    [17] => 0
    [hangup_sms] => 0
    [18] => 207
    [no_answer_sms] => 207
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 962
    [cutting_sms] => 962
    [22] => 482
    [dnd_sms] => 482
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 106
    [user_answered_sms] => 106
    [27] => 557
    [user_busy_sms] => 557
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 100
    [user_failed_sms] => 100
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 207
    [user_no_answer_sms] => 207
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 482
    [user_dnd_sms] => 482
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u179
    [created_by] => u179
    [38] => 1
    [isScheduled] => 1
    [39] => 1760776331
    [create_date] => 1760776331
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760776333,"compaign_read_start_time":1760776334,"compaign_read_complete_time":1760776340,"compaign_send_start_time":1760776381,"compaign_send_complete_time":1760776394}
    [action_time] => {"api_allot_time":1760776333,"compaign_read_start_time":1760776334,"compaign_read_complete_time":1760776340,"compaign_send_start_time":1760776381,"compaign_send_complete_time":1760776394}
    [50] => 0
    [compaign_file] => 0
    [51] => u179_66792_18102025_020212PM_473
    [common_name] => u179_66792_18102025_020212PM_473
    [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_58288
    [temp_group_table] => contacts_temp_group_58288
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [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] => 1760776801
    [last_credit_update_time] => 1760776801
    [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 : 66792
\compaign_type : Rans per 30.5831 
ans sms 2414
dnd sms 482

require answer perrequire answer per : 591

user answer per : 106
below is the redis data 485 /n/r
only no answer and busy will be convert, total number require 485 /n/r
UPDATE voice_compaign_detail_66792 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 379 UPDATE voice_compaign_detail_66792 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 379 Total Failed : 281 no_answer_count : 94 Busy count :73 congestion_count : 34 failed_count : 80UPDATE voice_compaign_detail_66792 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 94 UPDATE voice_compaign_detail_66792 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 73 UPDATE voice_compaign_detail_66792 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 34 UPDATE voice_compaign_detail_66792 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`='591', `user_busy_sms`='654', `user_congestion_sms`='34', `user_failed_sms`='103', `user_hangup_sms`='0', `user_no_answer_sms`='550', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='482' WHERE `compaign_id`=66792 LIMIT 1 


Time Diff : 0.193

Array
(
    [0] => 66790
    [compaign_id] => 66790
    [1] => u20720
    [user_id] => u20720
    [2] => 58287,
    [group_ids] => 58287,
    [3] => 
    [sender_id] => 
    [4] => dhantaras.mp3
    [filename] => dhantaras.mp3
    [5] => 22
    [duration] => 22
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760776271
    [start_date] => 1760776271
    [9] => 0
    [end_date] => 0
    [10] => 10105
    [total_sms] => 10105
    [11] => 10105
    [sent_sms] => 10105
    [12] => 0
    [duplicate_sms] => 0
    [13] => 596
    [answered_sms] => 596
    [14] => 157
    [busy_sms] => 157
    [15] => 14
    [congestion_sms] => 14
    [16] => 3968
    [failed_sms] => 3968
    [17] => 0
    [hangup_sms] => 0
    [18] => 365
    [no_answer_sms] => 365
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 5005
    [cutting_sms] => 5005
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 596
    [user_answered_sms] => 596
    [27] => 157
    [user_busy_sms] => 157
    [28] => 14
    [user_congestion_sms] => 14
    [29] => 3968
    [user_failed_sms] => 3968
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 365
    [user_no_answer_sms] => 365
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u20720
    [created_by] => u20720
    [38] => 0
    [isScheduled] => 0
    [39] => 1760776267
    [create_date] => 1760776267
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760776279,"compaign_read_start_time":1760776279,"compaign_read_complete_time":1760776292,"compaign_send_start_time":1760776322,"compaign_send_complete_time":1760776382}
    [action_time] => {"api_allot_time":1760776279,"compaign_read_start_time":1760776279,"compaign_read_complete_time":1760776292,"compaign_send_start_time":1760776322,"compaign_send_complete_time":1760776382}
    [50] => 0
    [compaign_file] => 0
    [51] => u20720_66790_18102025_020117PM_572
    [common_name] => u20720_66790_18102025_020117PM_572
    [52] => 1760776267_u20720_voice.wav
    [voice_file] => 1760776267_u20720_voice.wav
    [53] => normal
    [plan_type] => normal
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_58287
    [temp_group_table] => contacts_temp_group_58287
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => 1760776801
    [last_credit_update_time] => 1760776801
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1702
    [user_voice_plan_id] => 1702
    [85] => 4
    [voice_plan_id] => 4
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.17
    [pulse_rate] => 0.17
    [89] => trans
    [delivery_route] => trans
    [90] => normal
    [delivery_type] => normal
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"27"}]
    [alloted_apis] => [{"cli":"","g_id":"27"}]
    [107] => 
    [retry_value] => 
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr83,sr180,u20720
    [uphierarchy] => admin,sr83,sr180,u20720
    [113] => 
    [extra_params_json] => 
)


Compaign : 66790
\compaign_type : Rans per 25.4314 
ans sms 10105
dnd sms 0

require answer perrequire answer per : 2570

user answer per : 596
below is the redis data 1974 UPDATE voice_compaign_detail_66790 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1974 Total Failed : 3037 no_answer_count : 1013 Busy count :780 congestion_count : 361 failed_count : 883UPDATE voice_compaign_detail_66790 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 1013 UPDATE voice_compaign_detail_66790 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 780 UPDATE voice_compaign_detail_66790 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 361 UPDATE voice_compaign_detail_66790 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 883 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='2570', `user_busy_sms`='937', `user_congestion_sms`='369', `user_failed_sms`='4851', `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`=66790 LIMIT 1 


Time Diff : 0.051

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760517721'  
Array
(
    [0] => 66795
    [compaign_id] => 66795
    [1] => u179
    [user_id] => u179
    [2] => 58289,
    [group_ids] => 58289,
    [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] => 1760776200
    [start_date] => 1760776200
    [9] => 0
    [end_date] => 0
    [10] => 130
    [total_sms] => 130
    [11] => 130
    [sent_sms] => 130
    [12] => 0
    [duplicate_sms] => 0
    [13] => 11
    [answered_sms] => 11
    [14] => 30
    [busy_sms] => 30
    [15] => 0
    [congestion_sms] => 0
    [16] => 30
    [failed_sms] => 30
    [17] => 0
    [hangup_sms] => 0
    [18] => 16
    [no_answer_sms] => 16
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 11
    [cutting_sms] => 11
    [22] => 32
    [dnd_sms] => 32
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 11
    [user_answered_sms] => 11
    [27] => 30
    [user_busy_sms] => 30
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 30
    [user_failed_sms] => 30
    [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] => 32
    [user_dnd_sms] => 32
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u179
    [created_by] => u179
    [38] => 1
    [isScheduled] => 1
    [39] => 1760776625
    [create_date] => 1760776625
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760776627,"compaign_read_start_time":1760776627,"compaign_read_complete_time":1760776628,"compaign_send_start_time":1760776682,"compaign_send_complete_time":1760776683}
    [action_time] => {"api_allot_time":1760776627,"compaign_read_start_time":1760776627,"compaign_read_complete_time":1760776628,"compaign_send_start_time":1760776682,"compaign_send_complete_time":1760776683}
    [50] => 0
    [compaign_file] => 0
    [51] => u179_66795_18102025_020705PM_712
    [common_name] => u179_66795_18102025_020705PM_712
    [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_58289
    [temp_group_table] => contacts_temp_group_58289
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [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] => 1760776862
    [last_credit_update_time] => 1760776862
    [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 : 66795
\compaign_type : Rans per 26.3407 
ans sms 130
dnd sms 32

require answer perrequire answer per : 26

user answer per : 11
below is the redis data 15 /n/r
only no answer and busy will be convert, total number require 15 /n/r
UPDATE voice_compaign_detail_66795 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 11 UPDATE voice_compaign_detail_66795 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 11 Total Failed : 4 no_answer_count : 2 Busy count :2 congestion_count : 1 failed_count : -1UPDATE voice_compaign_detail_66795 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 2 UPDATE voice_compaign_detail_66795 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 2 UPDATE voice_compaign_detail_66795 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`='26', `user_busy_sms`='32', `user_congestion_sms`='0', `user_failed_sms`='15', `user_hangup_sms`='0', `user_no_answer_sms`='25', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='32' WHERE `compaign_id`=66795 LIMIT 1 


Time Diff : 1.715

Array
(
    [0] => 66796
    [compaign_id] => 66796
    [1] => u607
    [user_id] => u607
    [2] => 58290,
    [group_ids] => 58290,
    [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] => 1760776625
    [start_date] => 1760776625
    [9] => 0
    [end_date] => 0
    [10] => 191
    [total_sms] => 191
    [11] => 191
    [sent_sms] => 191
    [12] => 0
    [duplicate_sms] => 0
    [13] => 25
    [answered_sms] => 25
    [14] => 26
    [busy_sms] => 26
    [15] => 0
    [congestion_sms] => 0
    [16] => 25
    [failed_sms] => 25
    [17] => 0
    [hangup_sms] => 0
    [18] => 72
    [no_answer_sms] => 72
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 43
    [cutting_sms] => 43
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 25
    [user_answered_sms] => 25
    [27] => 26
    [user_busy_sms] => 26
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 25
    [user_failed_sms] => 25
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 72
    [user_no_answer_sms] => 72
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u607
    [created_by] => u607
    [38] => 0
    [isScheduled] => 0
    [39] => 1760776625
    [create_date] => 1760776625
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760776634,"compaign_read_start_time":1760776636,"compaign_read_complete_time":1760776637,"compaign_send_start_time":1760776682,"compaign_send_complete_time":1760776683}
    [action_time] => {"api_allot_time":1760776634,"compaign_read_start_time":1760776636,"compaign_read_complete_time":1760776637,"compaign_send_start_time":1760776682,"compaign_send_complete_time":1760776683}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_66796_18102025_020712PM_682
    [common_name] => u607_66796_18102025_020712PM_682
    [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_58290
    [temp_group_table] => contacts_temp_group_58290
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760776862
    [last_credit_update_time] => 1760776862
    [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 : 66796
\compaign_type : Rans per 30.8158 
ans sms 191
dnd sms 0

require answer perrequire answer per : 59

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


Time Diff : 1.168

Array
(
    [0] => 66797
    [compaign_id] => 66797
    [1] => u607
    [user_id] => u607
    [2] => 58292,
    [group_ids] => 58292,
    [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] => 1760776625
    [start_date] => 1760776625
    [9] => 0
    [end_date] => 0
    [10] => 256
    [total_sms] => 256
    [11] => 256
    [sent_sms] => 256
    [12] => 0
    [duplicate_sms] => 0
    [13] => 13
    [answered_sms] => 13
    [14] => 20
    [busy_sms] => 20
    [15] => 0
    [congestion_sms] => 0
    [16] => 91
    [failed_sms] => 91
    [17] => 0
    [hangup_sms] => 0
    [18] => 20
    [no_answer_sms] => 20
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 76
    [cutting_sms] => 76
    [22] => 36
    [dnd_sms] => 36
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 13
    [user_answered_sms] => 13
    [27] => 20
    [user_busy_sms] => 20
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 91
    [user_failed_sms] => 91
    [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] => 36
    [user_dnd_sms] => 36
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u607
    [created_by] => u607
    [38] => 0
    [isScheduled] => 0
    [39] => 1760776625
    [create_date] => 1760776625
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760776634,"compaign_read_start_time":1760776639,"compaign_read_complete_time":1760776641,"compaign_send_start_time":1760776682,"compaign_send_complete_time":1760776683}
    [action_time] => {"api_allot_time":1760776634,"compaign_read_start_time":1760776639,"compaign_read_complete_time":1760776641,"compaign_send_start_time":1760776682,"compaign_send_complete_time":1760776683}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_66797_18102025_020712PM_272
    [common_name] => u607_66797_18102025_020712PM_272
    [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_58292
    [temp_group_table] => contacts_temp_group_58292
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760776862
    [last_credit_update_time] => 1760776862
    [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 : 66797
\compaign_type : Rans per 30.14285 
ans sms 256
dnd sms 36

require answer perrequire answer per : 67

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='53', `user_busy_sms`='50', `user_congestion_sms`='5', `user_failed_sms`='59', `user_hangup_sms`='0', `user_no_answer_sms`='53', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='36' WHERE `compaign_id`=66797 LIMIT 1 


Time Diff : 0.867

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760517781'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760517842'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760517901'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760517961'  
Array
(
    [0] => 66800
    [compaign_id] => 66800
    [1] => u776
    [user_id] => u776
    [2] => 58296,
    [group_ids] => 58296,
    [3] => 
    [sender_id] => 
    [4] => diwali.mp3
    [filename] => diwali.mp3
    [5] => 16
    [duration] => 16
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760776884
    [start_date] => 1760776884
    [9] => 0
    [end_date] => 0
    [10] => 1984
    [total_sms] => 1984
    [11] => 1984
    [sent_sms] => 1984
    [12] => 0
    [duplicate_sms] => 0
    [13] => 216
    [answered_sms] => 216
    [14] => 140
    [busy_sms] => 140
    [15] => 0
    [congestion_sms] => 0
    [16] => 206
    [failed_sms] => 206
    [17] => 0
    [hangup_sms] => 0
    [18] => 180
    [no_answer_sms] => 180
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 722
    [cutting_sms] => 722
    [22] => 520
    [dnd_sms] => 520
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 216
    [user_answered_sms] => 216
    [27] => 140
    [user_busy_sms] => 140
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 206
    [user_failed_sms] => 206
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 180
    [user_no_answer_sms] => 180
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 520
    [user_dnd_sms] => 520
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u776
    [created_by] => u776
    [38] => 0
    [isScheduled] => 0
    [39] => 1760776883
    [create_date] => 1760776883
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760776891,"compaign_read_start_time":1760776892,"compaign_read_complete_time":1760776896,"compaign_send_start_time":1760776921,"compaign_send_complete_time":1760776933}
    [action_time] => {"api_allot_time":1760776891,"compaign_read_start_time":1760776892,"compaign_read_complete_time":1760776896,"compaign_send_start_time":1760776921,"compaign_send_complete_time":1760776933}
    [50] => 0
    [compaign_file] => 0
    [51] => u776_66800_18102025_021130PM_949
    [common_name] => u776_66800_18102025_021130PM_949
    [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_58296
    [temp_group_table] => contacts_temp_group_58296
    [61] => 0
    [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] => 1760777102
    [reschedule_last_check_time] => 1760777102
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760777161
    [last_credit_update_time] => 1760777161
    [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] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => []
    [rt_time] => []
    [104] => 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 : 66800
\compaign_type : Rans per 25.80132 
ans sms 1984
dnd sms 520

require answer perrequire answer per : 378

user answer per : 216
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_66800 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 124 UPDATE voice_compaign_detail_66800 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 124 Total Failed : 525 no_answer_count : 176 Busy count :135 congestion_count : 63 failed_count : 151UPDATE voice_compaign_detail_66800 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 176 UPDATE voice_compaign_detail_66800 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 135 UPDATE voice_compaign_detail_66800 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 63 UPDATE voice_compaign_detail_66800 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`='378', `user_busy_sms`='331', `user_congestion_sms`='63', `user_failed_sms`='306', `user_hangup_sms`='0', `user_no_answer_sms`='386', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='520' WHERE `compaign_id`=66800 LIMIT 1 


Time Diff : 0.113

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760518022'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760518081'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760518141'  
Array
(
    [0] => 66801
    [compaign_id] => 66801
    [1] => u22468
    [user_id] => u22468
    [2] => 58297,
    [group_ids] => 58297,
    [3] => 
    [sender_id] => 
    [4] => AUD-20251016-WA0012.mp3
    [filename] => AUD-20251016-WA0012.mp3
    [5] => 17
    [duration] => 17
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760776983
    [start_date] => 1760776983
    [9] => 0
    [end_date] => 0
    [10] => 475
    [total_sms] => 475
    [11] => 475
    [sent_sms] => 475
    [12] => 0
    [duplicate_sms] => 0
    [13] => 105
    [answered_sms] => 105
    [14] => 46
    [busy_sms] => 46
    [15] => 0
    [congestion_sms] => 0
    [16] => 35
    [failed_sms] => 35
    [17] => 0
    [hangup_sms] => 0
    [18] => 57
    [no_answer_sms] => 57
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 154
    [cutting_sms] => 154
    [22] => 78
    [dnd_sms] => 78
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 105
    [user_answered_sms] => 105
    [27] => 46
    [user_busy_sms] => 46
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 35
    [user_failed_sms] => 35
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 57
    [user_no_answer_sms] => 57
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 78
    [user_dnd_sms] => 78
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u22468
    [created_by] => u22468
    [38] => 0
    [isScheduled] => 0
    [39] => 1760776983
    [create_date] => 1760776983
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760776991,"compaign_read_start_time":1760776993,"compaign_read_complete_time":1760776994,"compaign_send_start_time":1760777042,"compaign_send_complete_time":1760777052}
    [action_time] => {"api_allot_time":1760776991,"compaign_read_start_time":1760776993,"compaign_read_complete_time":1760776994,"compaign_send_start_time":1760777042,"compaign_send_complete_time":1760777052}
    [50] => 0
    [compaign_file] => 0
    [51] => u22468_66801_18102025_021310PM_963
    [common_name] => u22468_66801_18102025_021310PM_963
    [52] => 1760776983_u22468_voice.wav
    [voice_file] => 1760776983_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_58297
    [temp_group_table] => contacts_temp_group_58297
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760777281
    [last_credit_update_time] => 1760777281
    [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 : 66801
\compaign_type : Rans per 27.99675 
ans sms 475
dnd sms 78

require answer perrequire answer per : 112

user answer per : 105
below is the redis data 7 UPDATE voice_compaign_detail_66801 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 7 Total Failed : 147 no_answer_count : 50 Busy count :38 congestion_count : 18 failed_count : 41UPDATE voice_compaign_detail_66801 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 50 UPDATE voice_compaign_detail_66801 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 38 UPDATE voice_compaign_detail_66801 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 18 UPDATE voice_compaign_detail_66801 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`='112', `user_busy_sms`='84', `user_congestion_sms`='18', `user_failed_sms`='76', `user_hangup_sms`='0', `user_no_answer_sms`='107', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='78' WHERE `compaign_id`=66801 LIMIT 1 


Time Diff : 0.596

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760518201'  
Array
(
    [0] => 66804
    [compaign_id] => 66804
    [1] => u22468
    [user_id] => u22468
    [2] => 58298,
    [group_ids] => 58298,
    [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] => 1760777031
    [start_date] => 1760777031
    [9] => 0
    [end_date] => 0
    [10] => 475
    [total_sms] => 475
    [11] => 475
    [sent_sms] => 475
    [12] => 0
    [duplicate_sms] => 0
    [13] => 109
    [answered_sms] => 109
    [14] => 47
    [busy_sms] => 47
    [15] => 0
    [congestion_sms] => 0
    [16] => 25
    [failed_sms] => 25
    [17] => 0
    [hangup_sms] => 0
    [18] => 46
    [no_answer_sms] => 46
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 170
    [cutting_sms] => 170
    [22] => 78
    [dnd_sms] => 78
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 109
    [user_answered_sms] => 109
    [27] => 47
    [user_busy_sms] => 47
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 25
    [user_failed_sms] => 25
    [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] => 78
    [user_dnd_sms] => 78
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u22468
    [created_by] => u22468
    [38] => 0
    [isScheduled] => 0
    [39] => 1760777031
    [create_date] => 1760777031
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760777043,"compaign_read_start_time":1760777045,"compaign_read_complete_time":1760777045,"compaign_send_start_time":1760777101,"compaign_send_complete_time":1760777103}
    [action_time] => {"api_allot_time":1760777043,"compaign_read_start_time":1760777045,"compaign_read_complete_time":1760777045,"compaign_send_start_time":1760777101,"compaign_send_complete_time":1760777103}
    [50] => 0
    [compaign_file] => 0
    [51] => u22468_66804_18102025_021402PM_133
    [common_name] => u22468_66804_18102025_021402PM_133
    [52] => 1760777031_u22468_voice.wav
    [voice_file] => 1760777031_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_58298
    [temp_group_table] => contacts_temp_group_58298
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760777341
    [last_credit_update_time] => 1760777341
    [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 : 66804
\compaign_type : Rans per 28.97165 
ans sms 475
dnd sms 78

require answer perrequire answer per : 116

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='116', `user_busy_sms`='89', `user_congestion_sms`='20', `user_failed_sms`='71', `user_hangup_sms`='0', `user_no_answer_sms`='101', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='78' WHERE `compaign_id`=66804 LIMIT 1 


Time Diff : 0.6

Array
(
    [0] => 66805
    [compaign_id] => 66805
    [1] => u776
    [user_id] => u776
    [2] => 58299,
    [group_ids] => 58299,
    [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] => 1760777074
    [start_date] => 1760777074
    [9] => 0
    [end_date] => 0
    [10] => 1984
    [total_sms] => 1984
    [11] => 1984
    [sent_sms] => 1984
    [12] => 0
    [duplicate_sms] => 0
    [13] => 230
    [answered_sms] => 230
    [14] => 143
    [busy_sms] => 143
    [15] => 0
    [congestion_sms] => 0
    [16] => 199
    [failed_sms] => 199
    [17] => 0
    [hangup_sms] => 0
    [18] => 163
    [no_answer_sms] => 163
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 729
    [cutting_sms] => 729
    [22] => 520
    [dnd_sms] => 520
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 230
    [user_answered_sms] => 230
    [27] => 143
    [user_busy_sms] => 143
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 199
    [user_failed_sms] => 199
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 163
    [user_no_answer_sms] => 163
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 520
    [user_dnd_sms] => 520
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u776
    [created_by] => u776
    [38] => 0
    [isScheduled] => 0
    [39] => 1760777074
    [create_date] => 1760777074
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760777082,"compaign_read_start_time":1760777084,"compaign_read_complete_time":1760777088,"compaign_send_start_time":1760777101,"compaign_send_complete_time":1760777105}
    [action_time] => {"api_allot_time":1760777082,"compaign_read_start_time":1760777084,"compaign_read_complete_time":1760777088,"compaign_send_start_time":1760777101,"compaign_send_complete_time":1760777105}
    [50] => 0
    [compaign_file] => 0
    [51] => u776_66805_18102025_021440PM_842
    [common_name] => u776_66805_18102025_021440PM_842
    [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_58299
    [temp_group_table] => contacts_temp_group_58299
    [61] => 0
    [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] => 1760777341
    [last_credit_update_time] => 1760777341
    [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 : 66805
\compaign_type : Rans per 28.76686 
ans sms 1984
dnd sms 520

require answer perrequire answer per : 422

user answer per : 230
below is the redis data 192 /n/r
only no answer and busy will be convert, total number require 192 /n/r
UPDATE voice_compaign_detail_66805 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 137 UPDATE voice_compaign_detail_66805 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 137 Total Failed : 521 no_answer_count : 174 Busy count :134 congestion_count : 62 failed_count : 151UPDATE voice_compaign_detail_66805 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 174 UPDATE voice_compaign_detail_66805 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 134 UPDATE voice_compaign_detail_66805 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 62 UPDATE voice_compaign_detail_66805 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`='422', `user_busy_sms`='325', `user_congestion_sms`='62', `user_failed_sms`='284', `user_hangup_sms`='0', `user_no_answer_sms`='371', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='520' WHERE `compaign_id`=66805 LIMIT 1 


Time Diff : 0.144

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760518261'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760518321'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760518382'  
Array
(
    [0] => 66806
    [compaign_id] => 66806
    [1] => u179
    [user_id] => u179
    [2] => 58300,
    [group_ids] => 58300,
    [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] => 1760777100
    [start_date] => 1760777100
    [9] => 0
    [end_date] => 0
    [10] => 104
    [total_sms] => 104
    [11] => 104
    [sent_sms] => 104
    [12] => 0
    [duplicate_sms] => 0
    [13] => 12
    [answered_sms] => 12
    [14] => 16
    [busy_sms] => 16
    [15] => 0
    [congestion_sms] => 0
    [16] => 30
    [failed_sms] => 30
    [17] => 0
    [hangup_sms] => 0
    [18] => 11
    [no_answer_sms] => 11
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 3
    [cutting_sms] => 3
    [22] => 32
    [dnd_sms] => 32
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 12
    [user_answered_sms] => 12
    [27] => 16
    [user_busy_sms] => 16
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 30
    [user_failed_sms] => 30
    [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] => 32
    [user_dnd_sms] => 32
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u179
    [created_by] => u179
    [38] => 1
    [isScheduled] => 1
    [39] => 1760777223
    [create_date] => 1760777223
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760777226,"compaign_read_start_time":1760777228,"compaign_read_complete_time":1760777229,"compaign_send_start_time":1760777281,"compaign_send_complete_time":1760777282}
    [action_time] => {"api_allot_time":1760777226,"compaign_read_start_time":1760777228,"compaign_read_complete_time":1760777229,"compaign_send_start_time":1760777281,"compaign_send_complete_time":1760777282}
    [50] => 0
    [compaign_file] => 0
    [51] => u179_66806_18102025_021704PM_881
    [common_name] => u179_66806_18102025_021704PM_881
    [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_58300
    [temp_group_table] => contacts_temp_group_58300
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [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] => 1760777521
    [last_credit_update_time] => 1760777521
    [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 : 66806
\compaign_type : Rans per 28.8813 
ans sms 104
dnd sms 32

require answer perrequire answer per : 21

user answer per : 12
below is the redis data 9 /n/r
only no answer and busy will be convert, total number require 9 /n/r
UPDATE voice_compaign_detail_66806 SET user_report='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_66806 SET user_report='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 : 3 no_answer_count : 2 Busy count :1 congestion_count : 1 failed_count : -1UPDATE voice_compaign_detail_66806 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 2 UPDATE voice_compaign_detail_66806 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 1 UPDATE voice_compaign_detail_66806 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 1 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

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


Time Diff : 2.74

Array
(
    [0] => 66808
    [compaign_id] => 66808
    [1] => u179
    [user_id] => u179
    [2] => 58301,
    [group_ids] => 58301,
    [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] => 1760777100
    [start_date] => 1760777100
    [9] => 0
    [end_date] => 0
    [10] => 1823
    [total_sms] => 1823
    [11] => 1823
    [sent_sms] => 1823
    [12] => 0
    [duplicate_sms] => 0
    [13] => 65
    [answered_sms] => 65
    [14] => 421
    [busy_sms] => 421
    [15] => 0
    [congestion_sms] => 0
    [16] => 121
    [failed_sms] => 121
    [17] => 0
    [hangup_sms] => 0
    [18] => 120
    [no_answer_sms] => 120
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 614
    [cutting_sms] => 614
    [22] => 482
    [dnd_sms] => 482
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 65
    [user_answered_sms] => 65
    [27] => 421
    [user_busy_sms] => 421
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 121
    [user_failed_sms] => 121
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 120
    [user_no_answer_sms] => 120
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 482
    [user_dnd_sms] => 482
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u179
    [created_by] => u179
    [38] => 1
    [isScheduled] => 1
    [39] => 1760777230
    [create_date] => 1760777230
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760777233,"compaign_read_start_time":1760777234,"compaign_read_complete_time":1760777237,"compaign_send_start_time":1760777281,"compaign_send_complete_time":1760777285}
    [action_time] => {"api_allot_time":1760777233,"compaign_read_start_time":1760777234,"compaign_read_complete_time":1760777237,"compaign_send_start_time":1760777281,"compaign_send_complete_time":1760777285}
    [50] => 0
    [compaign_file] => 0
    [51] => u179_66808_18102025_021712PM_198
    [common_name] => u179_66808_18102025_021712PM_198
    [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_58301
    [temp_group_table] => contacts_temp_group_58301
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [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] => 1760777521
    [last_credit_update_time] => 1760777521
    [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 : 66808
\compaign_type : Rans per 27.07657 
ans sms 1823
dnd sms 482

require answer perrequire answer per : 364

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='364', `user_busy_sms`='464', `user_congestion_sms`='29', `user_failed_sms`='123', `user_hangup_sms`='0', `user_no_answer_sms`='361', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='482' WHERE `compaign_id`=66808 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>'1760518441'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760518501'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760518565'  
Array
(
    [0] => 66810
    [compaign_id] => 66810
    [1] => u122
    [user_id] => u122
    [2] => 58303,
    [group_ids] => 58303,
    [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] => 1760777482
    [start_date] => 1760777482
    [9] => 0
    [end_date] => 0
    [10] => 74
    [total_sms] => 74
    [11] => 74
    [sent_sms] => 74
    [12] => 0
    [duplicate_sms] => 0
    [13] => 16
    [answered_sms] => 16
    [14] => 22
    [busy_sms] => 22
    [15] => 0
    [congestion_sms] => 0
    [16] => 11
    [failed_sms] => 11
    [17] => 0
    [hangup_sms] => 0
    [18] => 18
    [no_answer_sms] => 18
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 7
    [dnd_sms] => 7
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 16
    [user_answered_sms] => 16
    [27] => 22
    [user_busy_sms] => 22
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 11
    [user_failed_sms] => 11
    [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] => 7
    [user_dnd_sms] => 7
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u122
    [created_by] => u122
    [38] => 0
    [isScheduled] => 0
    [39] => 1760777481
    [create_date] => 1760777481
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760777489,"compaign_read_start_time":1760777491,"compaign_read_complete_time":1760777491,"compaign_send_start_time":1760777522,"compaign_send_complete_time":1760777523}
    [action_time] => {"api_allot_time":1760777489,"compaign_read_start_time":1760777491,"compaign_read_complete_time":1760777491,"compaign_send_start_time":1760777522,"compaign_send_complete_time":1760777523}
    [50] => 0
    [compaign_file] => 0
    [51] => u122_66810_18102025_022127PM_234
    [common_name] => u122_66810_18102025_022127PM_234
    [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_58303
    [temp_group_table] => contacts_temp_group_58303
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760777702
    [last_credit_update_time] => 1760777702
    [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 : 66810
\compaign_type : Rans per 29.60918 
ans sms 74
dnd sms 7

require answer perrequire answer per : 20

user answer per : 16
below is the redis data 4 /n/r
only no answer and busy will be convert, total number require 4 /n/r
UPDATE voice_compaign_detail_66810 SET user_report='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_66810 SET user_report='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`='20', `user_busy_sms`='23', `user_congestion_sms`='0', `user_failed_sms`='5', `user_hangup_sms`='0', `user_no_answer_sms`='19', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='7' WHERE `compaign_id`=66810 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>'1760518622'  
Array
(
    [0] => 66812
    [compaign_id] => 66812
    [1] => u776
    [user_id] => u776
    [2] => 58305,
    [group_ids] => 58305,
    [3] => 
    [sender_id] => 
    [4] => diwali.mp3
    [filename] => diwali.mp3
    [5] => 16
    [duration] => 16
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760777545
    [start_date] => 1760777545
    [9] => 0
    [end_date] => 0
    [10] => 1606
    [total_sms] => 1606
    [11] => 1606
    [sent_sms] => 1606
    [12] => 0
    [duplicate_sms] => 0
    [13] => 141
    [answered_sms] => 141
    [14] => 135
    [busy_sms] => 135
    [15] => 0
    [congestion_sms] => 0
    [16] => 208
    [failed_sms] => 208
    [17] => 0
    [hangup_sms] => 0
    [18] => 107
    [no_answer_sms] => 107
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 495
    [cutting_sms] => 495
    [22] => 520
    [dnd_sms] => 520
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 141
    [user_answered_sms] => 141
    [27] => 135
    [user_busy_sms] => 135
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 208
    [user_failed_sms] => 208
    [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] => 520
    [user_dnd_sms] => 520
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u776
    [created_by] => u776
    [38] => 0
    [isScheduled] => 0
    [39] => 1760777545
    [create_date] => 1760777545
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760777551,"compaign_read_start_time":1760777551,"compaign_read_complete_time":1760777554,"compaign_send_start_time":1760777582,"compaign_send_complete_time":1760777588}
    [action_time] => {"api_allot_time":1760777551,"compaign_read_start_time":1760777551,"compaign_read_complete_time":1760777554,"compaign_send_start_time":1760777582,"compaign_send_complete_time":1760777588}
    [50] => 0
    [compaign_file] => 0
    [51] => u776_66812_18102025_022230PM_168
    [common_name] => u776_66812_18102025_022230PM_168
    [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_58305
    [temp_group_table] => contacts_temp_group_58305
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [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] => 1760777765
    [last_credit_update_time] => 1760777765
    [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] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 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 : 66812
\compaign_type : Rans per 27.52433 
ans sms 1606
dnd sms 520

require answer perrequire answer per : 299

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='299', `user_busy_sms`='248', `user_congestion_sms`='39', `user_failed_sms`='235', `user_hangup_sms`='0', `user_no_answer_sms`='265', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='520' WHERE `compaign_id`=66812 LIMIT 1 


Time Diff : 0.139

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760518681'  
Array
(
    [0] => 66814
    [compaign_id] => 66814
    [1] => u22468
    [user_id] => u22468
    [2] => 58307,
    [group_ids] => 58307,
    [3] => 
    [sender_id] => 
    [4] => AUD-20251016-WA0012.mp3
    [filename] => AUD-20251016-WA0012.mp3
    [5] => 17
    [duration] => 17
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760777575
    [start_date] => 1760777575
    [9] => 0
    [end_date] => 0
    [10] => 482
    [total_sms] => 482
    [11] => 482
    [sent_sms] => 482
    [12] => 0
    [duplicate_sms] => 0
    [13] => 75
    [answered_sms] => 75
    [14] => 84
    [busy_sms] => 84
    [15] => 0
    [congestion_sms] => 0
    [16] => 64
    [failed_sms] => 64
    [17] => 0
    [hangup_sms] => 0
    [18] => 31
    [no_answer_sms] => 31
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 158
    [cutting_sms] => 158
    [22] => 70
    [dnd_sms] => 70
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 75
    [user_answered_sms] => 75
    [27] => 84
    [user_busy_sms] => 84
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 64
    [user_failed_sms] => 64
    [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] => 70
    [user_dnd_sms] => 70
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u22468
    [created_by] => u22468
    [38] => 0
    [isScheduled] => 0
    [39] => 1760777574
    [create_date] => 1760777574
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760777584,"compaign_read_start_time":1760777585,"compaign_read_complete_time":1760777587,"compaign_send_start_time":1760777642,"compaign_send_complete_time":1760777644}
    [action_time] => {"api_allot_time":1760777584,"compaign_read_start_time":1760777585,"compaign_read_complete_time":1760777587,"compaign_send_start_time":1760777642,"compaign_send_complete_time":1760777644}
    [50] => 0
    [compaign_file] => 0
    [51] => u22468_66814_18102025_022302PM_338
    [common_name] => u22468_66814_18102025_022302PM_338
    [52] => 1760777574_u22468_voice.wav
    [voice_file] => 1760777574_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_58307
    [temp_group_table] => contacts_temp_group_58307
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760777822
    [last_credit_update_time] => 1760777822
    [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 : 66814
\compaign_type : Rans per 25.62474 
ans sms 482
dnd sms 70

require answer perrequire answer per : 106

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='106', `user_busy_sms`='117', `user_congestion_sms`='16', `user_failed_sms`='99', `user_hangup_sms`='0', `user_no_answer_sms`='74', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='70' WHERE `compaign_id`=66814 LIMIT 1 


Time Diff : 0.463

Array
(
    [0] => 66815
    [compaign_id] => 66815
    [1] => u22468
    [user_id] => u22468
    [2] => 58308,
    [group_ids] => 58308,
    [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] => 1760777615
    [start_date] => 1760777615
    [9] => 0
    [end_date] => 0
    [10] => 482
    [total_sms] => 482
    [11] => 482
    [sent_sms] => 482
    [12] => 0
    [duplicate_sms] => 0
    [13] => 81
    [answered_sms] => 81
    [14] => 73
    [busy_sms] => 73
    [15] => 0
    [congestion_sms] => 0
    [16] => 51
    [failed_sms] => 51
    [17] => 0
    [hangup_sms] => 0
    [18] => 43
    [no_answer_sms] => 43
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 164
    [cutting_sms] => 164
    [22] => 70
    [dnd_sms] => 70
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 81
    [user_answered_sms] => 81
    [27] => 73
    [user_busy_sms] => 73
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 51
    [user_failed_sms] => 51
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 43
    [user_no_answer_sms] => 43
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 70
    [user_dnd_sms] => 70
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u22468
    [created_by] => u22468
    [38] => 0
    [isScheduled] => 0
    [39] => 1760777614
    [create_date] => 1760777614
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760777622,"compaign_read_start_time":1760777624,"compaign_read_complete_time":1760777626,"compaign_send_start_time":1760777642,"compaign_send_complete_time":1760777644}
    [action_time] => {"api_allot_time":1760777622,"compaign_read_start_time":1760777624,"compaign_read_complete_time":1760777626,"compaign_send_start_time":1760777642,"compaign_send_complete_time":1760777644}
    [50] => 0
    [compaign_file] => 0
    [51] => u22468_66815_18102025_022340PM_642
    [common_name] => u22468_66815_18102025_022340PM_642
    [52] => 1760777614_u22468_voice.wav
    [voice_file] => 1760777614_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_58308
    [temp_group_table] => contacts_temp_group_58308
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760777822
    [last_credit_update_time] => 1760777822
    [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 : 66815
\compaign_type : Rans per 29.27069 
ans sms 482
dnd sms 70

require answer perrequire answer per : 121

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='121', `user_busy_sms`='105', `user_congestion_sms`='15', `user_failed_sms`='86', `user_hangup_sms`='0', `user_no_answer_sms`='85', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='70' WHERE `compaign_id`=66815 LIMIT 1 


Time Diff : 0.465

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760518742'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760518802'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760518862'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760518922'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760518981'  
Array
(
    [0] => 66819
    [compaign_id] => 66819
    [1] => u776
    [user_id] => u776
    [2] => 58309,
    [group_ids] => 58309,
    [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] => 1760777830
    [start_date] => 1760777830
    [9] => 0
    [end_date] => 0
    [10] => 1562
    [total_sms] => 1562
    [11] => 1562
    [sent_sms] => 1562
    [12] => 0
    [duplicate_sms] => 0
    [13] => 132
    [answered_sms] => 132
    [14] => 100
    [busy_sms] => 100
    [15] => 0
    [congestion_sms] => 0
    [16] => 214
    [failed_sms] => 214
    [17] => 0
    [hangup_sms] => 0
    [18] => 100
    [no_answer_sms] => 100
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 496
    [cutting_sms] => 496
    [22] => 520
    [dnd_sms] => 520
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 132
    [user_answered_sms] => 132
    [27] => 100
    [user_busy_sms] => 100
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 214
    [user_failed_sms] => 214
    [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] => 520
    [user_dnd_sms] => 520
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u776
    [created_by] => u776
    [38] => 0
    [isScheduled] => 0
    [39] => 1760777830
    [create_date] => 1760777830
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760777838,"compaign_read_start_time":1760777840,"compaign_read_complete_time":1760777848,"compaign_send_start_time":1760777882,"compaign_send_complete_time":1760777885}
    [action_time] => {"api_allot_time":1760777838,"compaign_read_start_time":1760777840,"compaign_read_complete_time":1760777848,"compaign_send_start_time":1760777882,"compaign_send_complete_time":1760777885}
    [50] => 0
    [compaign_file] => 0
    [51] => u776_66819_18102025_022716PM_390
    [common_name] => u776_66819_18102025_022716PM_390
    [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_58309
    [temp_group_table] => contacts_temp_group_58309
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [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] => 1760778122
    [last_credit_update_time] => 1760778122
    [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 : 66819
\compaign_type : Rans per 25.71993 
ans sms 1562
dnd sms 520

require answer perrequire answer per : 269

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='269', `user_busy_sms`='225', `user_congestion_sms`='42', `user_failed_sms`='249', `user_hangup_sms`='0', `user_no_answer_sms`='257', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='520' WHERE `compaign_id`=66819 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>'1760519042'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760519101'  
Array
(
    [0] => 66817
    [compaign_id] => 66817
    [1] => u179
    [user_id] => u179
    [2] => 58311,
    [group_ids] => 58311,
    [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] => 1760778000
    [start_date] => 1760778000
    [9] => 0
    [end_date] => 0
    [10] => 83
    [total_sms] => 83
    [11] => 83
    [sent_sms] => 83
    [12] => 0
    [duplicate_sms] => 0
    [13] => 1
    [answered_sms] => 1
    [14] => 17
    [busy_sms] => 17
    [15] => 0
    [congestion_sms] => 0
    [16] => 28
    [failed_sms] => 28
    [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] => 32
    [dnd_sms] => 32
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 1
    [user_answered_sms] => 1
    [27] => 17
    [user_busy_sms] => 17
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 28
    [user_failed_sms] => 28
    [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] => 32
    [user_dnd_sms] => 32
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u179
    [created_by] => u179
    [38] => 1
    [isScheduled] => 1
    [39] => 1760777823
    [create_date] => 1760777823
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760778007,"compaign_read_start_time":1760778008,"compaign_read_complete_time":1760778008,"compaign_send_start_time":1760778062,"compaign_send_complete_time":1760778062}
    [action_time] => {"api_allot_time":1760778007,"compaign_read_start_time":1760778008,"compaign_read_complete_time":1760778008,"compaign_send_start_time":1760778062,"compaign_send_complete_time":1760778062}
    [50] => 0
    [compaign_file] => 0
    [51] => u179_66817_18102025_023006PM_142
    [common_name] => u179_66817_18102025_023006PM_142
    [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_58311
    [temp_group_table] => contacts_temp_group_58311
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [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] => 1760778242
    [last_credit_update_time] => 1760778242
    [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 : 66817
\compaign_type : Rans per 26.14799 
ans sms 83
dnd sms 32

require answer perrequire answer per : 14

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


 Blank User Record End

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


Time Diff : 2.699

Array
(
    [0] => 66818
    [compaign_id] => 66818
    [1] => u179
    [user_id] => u179
    [2] => 58310,
    [group_ids] => 58310,
    [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] => 1760778000
    [start_date] => 1760778000
    [9] => 0
    [end_date] => 0
    [10] => 1459
    [total_sms] => 1459
    [11] => 1459
    [sent_sms] => 1459
    [12] => 0
    [duplicate_sms] => 0
    [13] => 33
    [answered_sms] => 33
    [14] => 279
    [busy_sms] => 279
    [15] => 0
    [congestion_sms] => 0
    [16] => 94
    [failed_sms] => 94
    [17] => 0
    [hangup_sms] => 0
    [18] => 93
    [no_answer_sms] => 93
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 478
    [cutting_sms] => 478
    [22] => 482
    [dnd_sms] => 482
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 33
    [user_answered_sms] => 33
    [27] => 279
    [user_busy_sms] => 279
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 94
    [user_failed_sms] => 94
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 93
    [user_no_answer_sms] => 93
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 482
    [user_dnd_sms] => 482
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u179
    [created_by] => u179
    [38] => 1
    [isScheduled] => 1
    [39] => 1760777830
    [create_date] => 1760777830
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760778007,"compaign_read_start_time":1760778011,"compaign_read_complete_time":1760778020,"compaign_send_start_time":1760778062,"compaign_send_complete_time":1760778065}
    [action_time] => {"api_allot_time":1760778007,"compaign_read_start_time":1760778011,"compaign_read_complete_time":1760778020,"compaign_send_start_time":1760778062,"compaign_send_complete_time":1760778065}
    [50] => 0
    [compaign_file] => 0
    [51] => u179_66818_18102025_023006PM_893
    [common_name] => u179_66818_18102025_023006PM_893
    [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_58310
    [temp_group_table] => contacts_temp_group_58310
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [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] => 1760778242
    [last_credit_update_time] => 1760778242
    [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 : 66818
\compaign_type : Rans per 25.25738 
ans sms 1459
dnd sms 482

require answer perrequire answer per : 247

user answer per : 33
below is the redis data 214 /n/r
only no answer and busy will be convert, total number require 214 /n/r
UPDATE voice_compaign_detail_66818 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 161 UPDATE voice_compaign_detail_66818 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 161 Total Failed : 211 no_answer_count : 71 Busy count :55 congestion_count : 26 failed_count : 59UPDATE voice_compaign_detail_66818 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 71 UPDATE voice_compaign_detail_66818 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 55 UPDATE voice_compaign_detail_66818 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 26 UPDATE voice_compaign_detail_66818 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`='247', `user_busy_sms`='331', `user_congestion_sms`='26', `user_failed_sms`='98', `user_hangup_sms`='0', `user_no_answer_sms`='275', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='482' WHERE `compaign_id`=66818 LIMIT 1 


Time Diff : 0.153

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760519162'  
Array
(
    [0] => 66820
    [compaign_id] => 66820
    [1] => u776
    [user_id] => u776
    [2] => 58312,
    [group_ids] => 58312,
    [3] => 
    [sender_id] => 
    [4] => diwali.mp3
    [filename] => diwali.mp3
    [5] => 16
    [duration] => 16
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760778132
    [start_date] => 1760778132
    [9] => 0
    [end_date] => 0
    [10] => 1307
    [total_sms] => 1307
    [11] => 1307
    [sent_sms] => 1307
    [12] => 0
    [duplicate_sms] => 0
    [13] => 80
    [answered_sms] => 80
    [14] => 58
    [busy_sms] => 58
    [15] => 0
    [congestion_sms] => 0
    [16] => 196
    [failed_sms] => 196
    [17] => 0
    [hangup_sms] => 0
    [18] => 63
    [no_answer_sms] => 63
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 390
    [cutting_sms] => 390
    [22] => 520
    [dnd_sms] => 520
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 80
    [user_answered_sms] => 80
    [27] => 58
    [user_busy_sms] => 58
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 196
    [user_failed_sms] => 196
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 63
    [user_no_answer_sms] => 63
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 520
    [user_dnd_sms] => 520
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u776
    [created_by] => u776
    [38] => 0
    [isScheduled] => 0
    [39] => 1760778132
    [create_date] => 1760778132
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760778139,"compaign_read_start_time":1760778140,"compaign_read_complete_time":1760778144,"compaign_send_start_time":1760778181,"compaign_send_complete_time":1760778183}
    [action_time] => {"api_allot_time":1760778139,"compaign_read_start_time":1760778140,"compaign_read_complete_time":1760778144,"compaign_send_start_time":1760778181,"compaign_send_complete_time":1760778183}
    [50] => 0
    [compaign_file] => 0
    [51] => u776_66820_18102025_023218PM_518
    [common_name] => u776_66820_18102025_023218PM_518
    [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_58312
    [temp_group_table] => contacts_temp_group_58312
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [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] => 1760778362
    [last_credit_update_time] => 1760778362
    [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] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 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 : 66820
\compaign_type : Rans per 27.30661 
ans sms 1307
dnd sms 520

require answer perrequire answer per : 215

user answer per : 80
below is the redis data 135 /n/r
only no answer and busy will be convert, total number require 135 /n/r
UPDATE voice_compaign_detail_66820 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 108 UPDATE voice_compaign_detail_66820 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 108 Total Failed : 250 no_answer_count : 84 Busy count :65 congestion_count : 30 failed_count : 71UPDATE voice_compaign_detail_66820 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 84 UPDATE voice_compaign_detail_66820 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 65 UPDATE voice_compaign_detail_66820 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 30 UPDATE voice_compaign_detail_66820 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`='201', `user_busy_sms`='173', `user_congestion_sms`='30', `user_failed_sms`='191', `user_hangup_sms`='0', `user_no_answer_sms`='192', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='520' WHERE `compaign_id`=66820 LIMIT 1 


Time Diff : 0.126

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760519221'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760519281'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760519342'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760519401'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760519461'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760519522'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760519581'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760519642'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760519701'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760519762'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760519822'  
Array
(
    [0] => 66823
    [compaign_id] => 66823
    [1] => u6257
    [user_id] => u6257
    [2] => 58315,
    [group_ids] => 58315,
    [3] => 
    [sender_id] => 
    [4] => New recording 18.mp3
    [filename] => New recording 18.mp3
    [5] => 14
    [duration] => 14
    [6] => 1
    [credits_per_sms] => 1
    [7] => 15
    [user_pulse] => 15
    [8] => 1760778220
    [start_date] => 1760778220
    [9] => 0
    [end_date] => 0
    [10] => 12033
    [total_sms] => 12033
    [11] => 12033
    [sent_sms] => 12033
    [12] => 0
    [duplicate_sms] => 0
    [13] => 698
    [answered_sms] => 698
    [14] => 592
    [busy_sms] => 592
    [15] => 1
    [congestion_sms] => 1
    [16] => 293
    [failed_sms] => 293
    [17] => 0
    [hangup_sms] => 0
    [18] => 883
    [no_answer_sms] => 883
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 8436
    [cutting_sms] => 8436
    [22] => 1130
    [dnd_sms] => 1130
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 698
    [user_answered_sms] => 698
    [27] => 592
    [user_busy_sms] => 592
    [28] => 1
    [user_congestion_sms] => 1
    [29] => 293
    [user_failed_sms] => 293
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 883
    [user_no_answer_sms] => 883
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 1130
    [user_dnd_sms] => 1130
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u6257
    [created_by] => u6257
    [38] => 0
    [isScheduled] => 0
    [39] => 1760778214
    [create_date] => 1760778214
    [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":1760778226,"compaign_read_start_time":1760778229,"compaign_read_complete_time":1760778274,"compaign_send_start_time":1760778301,"compaign_send_complete_time":1760778325}
    [action_time] => {"api_allot_time":1760778226,"compaign_read_start_time":1760778229,"compaign_read_complete_time":1760778274,"compaign_send_start_time":1760778301,"compaign_send_complete_time":1760778325}
    [50] => 0
    [compaign_file] => 0
    [51] => u6257_66823_18102025_023345PM_629
    [common_name] => u6257_66823_18102025_023345PM_629
    [52] => 1760778166_u6257_voice.wav
    [voice_file] => 1760778166_u6257_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_58315
    [temp_group_table] => contacts_temp_group_58315
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => 1760778962
    [last_credit_update_time] => 1760778962
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1471
    [user_voice_plan_id] => 1471
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 15
    [pulse] => 15
    [88] => 0.17
    [pulse_rate] => 0.17
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr7,sr245,u6257
    [uphierarchy] => admin,sr7,sr245,u6257
    [113] => 
    [extra_params_json] => 
)


Compaign : 66823
\compaign_type : Rans per 26.35276 
ans sms 12033
dnd sms 1130

require answer perrequire answer per : 2874

user answer per : 698
below is the redis data 2176 UPDATE voice_compaign_detail_66823 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 2176 Total Failed : 6261 no_answer_count : 2088 Busy count :1607 congestion_count : 744 failed_count : 1822UPDATE voice_compaign_detail_66823 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 2088 UPDATE voice_compaign_detail_66823 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 1607 UPDATE voice_compaign_detail_66823 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 744 UPDATE voice_compaign_detail_66823 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 1822 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='2874', `user_busy_sms`='2199', `user_congestion_sms`='744', `user_failed_sms`='2115', `user_hangup_sms`='0', `user_no_answer_sms`='2971', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='1130' WHERE `compaign_id`=66823 LIMIT 1 


Time Diff : 0.059

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760519881'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760519941'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760520002'  
Array
(
    [0] => 66821
    [compaign_id] => 66821
    [1] => u6257
    [user_id] => u6257
    [2] => 58313,
    [group_ids] => 58313,
    [3] => 
    [sender_id] => 
    [4] => New recording 18.mp3
    [filename] => New recording 18.mp3
    [5] => 14
    [duration] => 14
    [6] => 1
    [credits_per_sms] => 1
    [7] => 15
    [user_pulse] => 15
    [8] => 1760778175
    [start_date] => 1760778175
    [9] => 0
    [end_date] => 0
    [10] => 18985
    [total_sms] => 18985
    [11] => 18985
    [sent_sms] => 18985
    [12] => 0
    [duplicate_sms] => 0
    [13] => 1398
    [answered_sms] => 1398
    [14] => 1126
    [busy_sms] => 1126
    [15] => 11
    [congestion_sms] => 11
    [16] => 639
    [failed_sms] => 639
    [17] => 0
    [hangup_sms] => 0
    [18] => 1540
    [no_answer_sms] => 1540
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 12515
    [cutting_sms] => 12515
    [22] => 1756
    [dnd_sms] => 1756
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 1398
    [user_answered_sms] => 1398
    [27] => 1126
    [user_busy_sms] => 1126
    [28] => 11
    [user_congestion_sms] => 11
    [29] => 639
    [user_failed_sms] => 639
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 1540
    [user_no_answer_sms] => 1540
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 1756
    [user_dnd_sms] => 1756
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u6257
    [created_by] => u6257
    [38] => 0
    [isScheduled] => 0
    [39] => 1760778166
    [create_date] => 1760778166
    [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":1760778182,"compaign_read_start_time":1760778184,"compaign_read_complete_time":1760778261,"compaign_send_start_time":1760778301,"compaign_send_complete_time":1760778338}
    [action_time] => {"api_allot_time":1760778182,"compaign_read_start_time":1760778184,"compaign_read_complete_time":1760778261,"compaign_send_start_time":1760778301,"compaign_send_complete_time":1760778338}
    [50] => 0
    [compaign_file] => 0
    [51] => u6257_66821_18102025_023301PM_486
    [common_name] => u6257_66821_18102025_023301PM_486
    [52] => 1760778166_u6257_voice.wav
    [voice_file] => 1760778166_u6257_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_58313
    [temp_group_table] => contacts_temp_group_58313
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => 1760779202
    [last_credit_update_time] => 1760779202
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1471
    [user_voice_plan_id] => 1471
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 15
    [pulse] => 15
    [88] => 0.17
    [pulse_rate] => 0.17
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr7,sr245,u6257
    [uphierarchy] => admin,sr7,sr245,u6257
    [113] => 
    [extra_params_json] => 
)


Compaign : 66821
\compaign_type : Rans per 26.82098 
ans sms 18985
dnd sms 1756

require answer perrequire answer per : 4621

user answer per : 1398
below is the redis data 3223 UPDATE voice_compaign_detail_66821 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 3223 Total Failed : 9292 no_answer_count : 3098 Busy count :2385 congestion_count : 1103 failed_count : 2706UPDATE voice_compaign_detail_66821 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 3098 UPDATE voice_compaign_detail_66821 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 2385 UPDATE voice_compaign_detail_66821 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 1103 UPDATE voice_compaign_detail_66821 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 2706 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='4621', `user_busy_sms`='3511', `user_congestion_sms`='1114', `user_failed_sms`='3345', `user_hangup_sms`='0', `user_no_answer_sms`='4638', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='1756' WHERE `compaign_id`=66821 LIMIT 1 


Time Diff : 0.047

Array
(
    [0] => 66822
    [compaign_id] => 66822
    [1] => u6257
    [user_id] => u6257
    [2] => 58314,
    [group_ids] => 58314,
    [3] => 
    [sender_id] => 
    [4] => New recording 18.mp3
    [filename] => New recording 18.mp3
    [5] => 14
    [duration] => 14
    [6] => 1
    [credits_per_sms] => 1
    [7] => 15
    [user_pulse] => 15
    [8] => 1760778198
    [start_date] => 1760778198
    [9] => 0
    [end_date] => 0
    [10] => 18989
    [total_sms] => 18989
    [11] => 18989
    [sent_sms] => 18989
    [12] => 0
    [duplicate_sms] => 0
    [13] => 1201
    [answered_sms] => 1201
    [14] => 961
    [busy_sms] => 961
    [15] => 9
    [congestion_sms] => 9
    [16] => 462
    [failed_sms] => 462
    [17] => 0
    [hangup_sms] => 0
    [18] => 1385
    [no_answer_sms] => 1385
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 13146
    [cutting_sms] => 13146
    [22] => 1825
    [dnd_sms] => 1825
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 1201
    [user_answered_sms] => 1201
    [27] => 961
    [user_busy_sms] => 961
    [28] => 9
    [user_congestion_sms] => 9
    [29] => 462
    [user_failed_sms] => 462
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 1385
    [user_no_answer_sms] => 1385
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 1825
    [user_dnd_sms] => 1825
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u6257
    [created_by] => u6257
    [38] => 0
    [isScheduled] => 0
    [39] => 1760778189
    [create_date] => 1760778189
    [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":1760778204,"compaign_read_start_time":1760778205,"compaign_read_complete_time":1760778285,"compaign_send_start_time":1760778301,"compaign_send_complete_time":1760778336}
    [action_time] => {"api_allot_time":1760778204,"compaign_read_start_time":1760778205,"compaign_read_complete_time":1760778285,"compaign_send_start_time":1760778301,"compaign_send_complete_time":1760778336}
    [50] => 0
    [compaign_file] => 0
    [51] => u6257_66822_18102025_023323PM_672
    [common_name] => u6257_66822_18102025_023323PM_672
    [52] => 1760778166_u6257_voice.wav
    [voice_file] => 1760778166_u6257_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 10.244.126.0
    [campaign_create_ip] => 10.244.126.0
    [60] => contacts_temp_group_58314
    [temp_group_table] => contacts_temp_group_58314
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => 1760779202
    [last_credit_update_time] => 1760779202
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1471
    [user_voice_plan_id] => 1471
    [85] => 2
    [voice_plan_id] => 2
    [86] => 0
    [gateway_id] => 0
    [87] => 15
    [pulse] => 15
    [88] => 0.17
    [pulse_rate] => 0.17
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr7,sr245,u6257
    [uphierarchy] => admin,sr7,sr245,u6257
    [113] => 
    [extra_params_json] => 
)


Compaign : 66822
\compaign_type : Rans per 29.05865 
ans sms 18989
dnd sms 1825

require answer perrequire answer per : 4988

user answer per : 1201
below is the redis data 3787 UPDATE voice_compaign_detail_66822 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 3787 Total Failed : 9363 no_answer_count : 3122 Busy count :2403 congestion_count : 1112 failed_count : 2726UPDATE voice_compaign_detail_66822 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 3122 UPDATE voice_compaign_detail_66822 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 2403 UPDATE voice_compaign_detail_66822 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 1112 UPDATE voice_compaign_detail_66822 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 2726 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='4988', `user_busy_sms`='3364', `user_congestion_sms`='1117', `user_failed_sms`='3188', `user_hangup_sms`='0', `user_no_answer_sms`='4507', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='1825' WHERE `compaign_id`=66822 LIMIT 1 


Time Diff : 0.047

Array
(
    [0] => 66811
    [compaign_id] => 66811
    [1] => u122
    [user_id] => u122
    [2] => 58304,
    [group_ids] => 58304,
    [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] => 1760778900
    [start_date] => 1760778900
    [9] => 0
    [end_date] => 0
    [10] => 86
    [total_sms] => 86
    [11] => 86
    [sent_sms] => 86
    [12] => 0
    [duplicate_sms] => 0
    [13] => 14
    [answered_sms] => 14
    [14] => 28
    [busy_sms] => 28
    [15] => 0
    [congestion_sms] => 0
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 21
    [no_answer_sms] => 21
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 11
    [dnd_sms] => 11
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 28
    [user_busy_sms] => 28
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 12
    [user_failed_sms] => 12
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 21
    [user_no_answer_sms] => 21
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 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] => 1760777521
    [create_date] => 1760777521
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760778907,"compaign_read_start_time":1760778910,"compaign_read_complete_time":1760778911,"compaign_send_start_time":1760778962,"compaign_send_complete_time":1760778962}
    [action_time] => {"api_allot_time":1760778907,"compaign_read_start_time":1760778910,"compaign_read_complete_time":1760778911,"compaign_send_start_time":1760778962,"compaign_send_complete_time":1760778962}
    [50] => 0
    [compaign_file] => 0
    [51] => u122_66811_18102025_024505PM_494
    [common_name] => u122_66811_18102025_024505PM_494
    [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_58304
    [temp_group_table] => contacts_temp_group_58304
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760779202
    [last_credit_update_time] => 1760779202
    [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 : 66811
\compaign_type : Rans per 25.20433 
ans sms 86
dnd sms 11

require answer perrequire answer per : 19

user answer per : 14
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_66811 SET user_report='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_66811 SET user_report='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`='19', `user_busy_sms`='29', `user_congestion_sms`='0', `user_failed_sms`='4', `user_hangup_sms`='0', `user_no_answer_sms`='23', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='11' WHERE `compaign_id`=66811 LIMIT 1 


Time Diff : 1.233

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


Compaign : 66572
\compaign_type : ATans per 26.3644 
ans sms 15041
dnd sms 0

require answer perrequire answer per : 3966

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='85', `user_busy_sms`='4205', `user_congestion_sms`='0', `user_failed_sms`='10094', `user_hangup_sms`='0', `user_no_answer_sms`='657', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.164

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760520181'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760520242'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760520301'  
Array
(
    [0] => 66824
    [compaign_id] => 66824
    [1] => u776
    [user_id] => u776
    [2] => 58316,
    [group_ids] => 58316,
    [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] => 1760778426
    [start_date] => 1760778426
    [9] => 0
    [end_date] => 0
    [10] => 1293
    [total_sms] => 1293
    [11] => 1293
    [sent_sms] => 1293
    [12] => 0
    [duplicate_sms] => 0
    [13] => 60
    [answered_sms] => 60
    [14] => 64
    [busy_sms] => 64
    [15] => 0
    [congestion_sms] => 0
    [16] => 190
    [failed_sms] => 190
    [17] => 0
    [hangup_sms] => 0
    [18] => 69
    [no_answer_sms] => 69
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 390
    [cutting_sms] => 390
    [22] => 520
    [dnd_sms] => 520
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 60
    [user_answered_sms] => 60
    [27] => 64
    [user_busy_sms] => 64
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 190
    [user_failed_sms] => 190
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 69
    [user_no_answer_sms] => 69
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 520
    [user_dnd_sms] => 520
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u776
    [created_by] => u776
    [38] => 0
    [isScheduled] => 0
    [39] => 1760778426
    [create_date] => 1760778426
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760778432,"compaign_read_start_time":1760778433,"compaign_read_complete_time":1760778438,"compaign_send_start_time":1760778482,"compaign_send_complete_time":1760778485}
    [action_time] => {"api_allot_time":1760778432,"compaign_read_start_time":1760778433,"compaign_read_complete_time":1760778438,"compaign_send_start_time":1760778482,"compaign_send_complete_time":1760778485}
    [50] => 0
    [compaign_file] => 0
    [51] => u776_66824_18102025_023711PM_657
    [common_name] => u776_66824_18102025_023711PM_657
    [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_58316
    [temp_group_table] => contacts_temp_group_58316
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [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] => 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] => 1760779442
    [last_credit_update_time] => 1760779442
    [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 : 66824
\compaign_type : Rans per 30.72569 
ans sms 1293
dnd sms 520

require answer perrequire answer per : 238

user answer per : 60
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_66824 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 127 UPDATE voice_compaign_detail_66824 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 127 Total Failed : 216 no_answer_count : 73 Busy count :56 congestion_count : 26 failed_count : 61UPDATE voice_compaign_detail_66824 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 73 UPDATE voice_compaign_detail_66824 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 56 UPDATE voice_compaign_detail_66824 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 26 UPDATE voice_compaign_detail_66824 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 61 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='193', `user_busy_sms`='183', `user_congestion_sms`='26', `user_failed_sms`='171', `user_hangup_sms`='0', `user_no_answer_sms`='200', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='520' WHERE `compaign_id`=66824 LIMIT 1 


Time Diff : 0.314

Array
(
    [0] => 66827
    [compaign_id] => 66827
    [1] => u179
    [user_id] => u179
    [2] => 58318,
    [group_ids] => 58318,
    [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] => 1760778964
    [start_date] => 1760778964
    [9] => 0
    [end_date] => 0
    [10] => 4753
    [total_sms] => 4753
    [11] => 4753
    [sent_sms] => 4753
    [12] => 0
    [duplicate_sms] => 0
    [13] => 296
    [answered_sms] => 296
    [14] => 1189
    [busy_sms] => 1189
    [15] => 0
    [congestion_sms] => 0
    [16] => 200
    [failed_sms] => 200
    [17] => 0
    [hangup_sms] => 0
    [18] => 441
    [no_answer_sms] => 441
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 1883
    [cutting_sms] => 1883
    [22] => 744
    [dnd_sms] => 744
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 296
    [user_answered_sms] => 296
    [27] => 1189
    [user_busy_sms] => 1189
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 200
    [user_failed_sms] => 200
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 441
    [user_no_answer_sms] => 441
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 744
    [user_dnd_sms] => 744
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u179
    [created_by] => u179
    [38] => 0
    [isScheduled] => 0
    [39] => 1760778962
    [create_date] => 1760778962
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760778971,"compaign_read_start_time":1760778973,"compaign_read_complete_time":1760778987,"compaign_send_start_time":1760779022,"compaign_send_complete_time":1760779034}
    [action_time] => {"api_allot_time":1760778971,"compaign_read_start_time":1760778973,"compaign_read_complete_time":1760778987,"compaign_send_start_time":1760779022,"compaign_send_complete_time":1760779034}
    [50] => 0
    [compaign_file] => 0
    [51] => u179_66827_18102025_024609PM_632
    [common_name] => u179_66827_18102025_024609PM_632
    [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_58318
    [temp_group_table] => contacts_temp_group_58318
    [61] => 0
    [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] => 1760779203
    [reschedule_last_check_time] => 1760779203
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760779501
    [last_credit_update_time] => 1760779501
    [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":1760779800,"2":1760780700,"3":1760781600}
    [rt_time] => {"1":1760779800,"2":1760780700,"3":1760781600}
    [104] => 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 : 66827
\compaign_type : Rans per 28.69167 
ans sms 4753
dnd sms 744

require answer perrequire answer per : 1151

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='1151', `user_busy_sms`='1428', `user_congestion_sms`='79', `user_failed_sms`='261', `user_hangup_sms`='0', `user_no_answer_sms`='1090', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='744' WHERE `compaign_id`=66827 LIMIT 1 


Time Diff : 0.08

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


Compaign : 66572
\compaign_type : ATans per 27.91834 
ans sms 15376
dnd sms 0

require answer perrequire answer per : 4293

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='87', `user_busy_sms`='4323', `user_congestion_sms`='0', `user_failed_sms`='10288', `user_hangup_sms`='0', `user_no_answer_sms`='678', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.17

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760520661'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760520721'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760520782'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760520841'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760520901'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760520961'  
Array
(
    [0] => 66813
    [compaign_id] => 66813
    [1] => u122
    [user_id] => u122
    [2] => 58306,
    [group_ids] => 58306,
    [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] => 1760779800
    [start_date] => 1760779800
    [9] => 0
    [end_date] => 0
    [10] => 89
    [total_sms] => 89
    [11] => 89
    [sent_sms] => 89
    [12] => 0
    [duplicate_sms] => 0
    [13] => 11
    [answered_sms] => 11
    [14] => 29
    [busy_sms] => 29
    [15] => 0
    [congestion_sms] => 0
    [16] => 21
    [failed_sms] => 21
    [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] => 9
    [dnd_sms] => 9
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 11
    [user_answered_sms] => 11
    [27] => 29
    [user_busy_sms] => 29
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 21
    [user_failed_sms] => 21
    [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] => 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] => 1760777552
    [create_date] => 1760777552
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760779807,"compaign_read_start_time":1760779808,"compaign_read_complete_time":1760779808,"compaign_send_start_time":1760779861,"compaign_send_complete_time":1760779862}
    [action_time] => {"api_allot_time":1760779807,"compaign_read_start_time":1760779808,"compaign_read_complete_time":1760779808,"compaign_send_start_time":1760779861,"compaign_send_complete_time":1760779862}
    [50] => 0
    [compaign_file] => 0
    [51] => u122_66813_18102025_030006PM_375
    [common_name] => u122_66813_18102025_030006PM_375
    [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_58306
    [temp_group_table] => contacts_temp_group_58306
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760780102
    [last_credit_update_time] => 1760780102
    [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 : 66813
\compaign_type : Rans per 25.6429 
ans sms 89
dnd sms 9

require answer perrequire answer per : 21

user answer per : 11
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_66813 SET user_report='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_66813 SET user_report='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`='21', `user_busy_sms`='30', `user_congestion_sms`='0', `user_failed_sms`='5', `user_hangup_sms`='0', `user_no_answer_sms`='24', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='9' WHERE `compaign_id`=66813 LIMIT 1 


Time Diff : 3.067

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760521021'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760521081'  
Array
(
    [0] => 66834
    [compaign_id] => 66834
    [1] => u179
    [user_id] => u179
    [2] => 58323,
    [group_ids] => 58323,
    [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] => 1760779800
    [start_date] => 1760779800
    [9] => 0
    [end_date] => 0
    [10] => 3602
    [total_sms] => 3602
    [11] => 3602
    [sent_sms] => 3602
    [12] => 0
    [duplicate_sms] => 0
    [13] => 181
    [answered_sms] => 181
    [14] => 851
    [busy_sms] => 851
    [15] => 0
    [congestion_sms] => 0
    [16] => 173
    [failed_sms] => 173
    [17] => 0
    [hangup_sms] => 0
    [18] => 287
    [no_answer_sms] => 287
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 1366
    [cutting_sms] => 1366
    [22] => 744
    [dnd_sms] => 744
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 181
    [user_answered_sms] => 181
    [27] => 851
    [user_busy_sms] => 851
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 173
    [user_failed_sms] => 173
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 287
    [user_no_answer_sms] => 287
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 744
    [user_dnd_sms] => 744
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u179
    [created_by] => u179
    [38] => 1
    [isScheduled] => 1
    [39] => 1760779944
    [create_date] => 1760779944
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760779947,"compaign_read_start_time":1760779948,"compaign_read_complete_time":1760779957,"compaign_send_start_time":1760779982,"compaign_send_complete_time":1760779989}
    [action_time] => {"api_allot_time":1760779947,"compaign_read_start_time":1760779948,"compaign_read_complete_time":1760779957,"compaign_send_start_time":1760779982,"compaign_send_complete_time":1760779989}
    [50] => 0
    [compaign_file] => 0
    [51] => u179_66834_18102025_030226PM_594
    [common_name] => u179_66834_18102025_030226PM_594
    [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_58323
    [temp_group_table] => contacts_temp_group_58323
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [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] => 1760780221
    [last_credit_update_time] => 1760780221
    [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 : 66834
\compaign_type : Rans per 30.3535 
ans sms 3602
dnd sms 744

require answer perrequire answer per : 868

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='868', `user_busy_sms`='955', `user_congestion_sms`='60', `user_failed_sms`='194', `user_hangup_sms`='0', `user_no_answer_sms`='781', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='744' WHERE `compaign_id`=66834 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>'1760521141'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760521201'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760521262'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760521321'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760521381'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760521441'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760521501'  
Array
(
    [0] => 66835
    [compaign_id] => 66835
    [1] => u22476
    [user_id] => u22476
    [2] => 58324,
    [group_ids] => 58324,
    [3] => 
    [sender_id] => 
    [4] => Deepawali greetings 1.mp3
    [filename] => Deepawali greetings 1.mp3
    [5] => 19
    [duration] => 19
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760780374
    [start_date] => 1760780374
    [9] => 0
    [end_date] => 0
    [10] => 3324
    [total_sms] => 3324
    [11] => 3324
    [sent_sms] => 3324
    [12] => 0
    [duplicate_sms] => 0
    [13] => 397
    [answered_sms] => 397
    [14] => 233
    [busy_sms] => 233
    [15] => 4
    [congestion_sms] => 4
    [16] => 847
    [failed_sms] => 847
    [17] => 0
    [hangup_sms] => 0
    [18] => 296
    [no_answer_sms] => 296
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 1547
    [cutting_sms] => 1547
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 397
    [user_answered_sms] => 397
    [27] => 233
    [user_busy_sms] => 233
    [28] => 4
    [user_congestion_sms] => 4
    [29] => 847
    [user_failed_sms] => 847
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 296
    [user_no_answer_sms] => 296
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u22476
    [created_by] => u22476
    [38] => 0
    [isScheduled] => 0
    [39] => 1760780373
    [create_date] => 1760780373
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760780380,"compaign_read_start_time":1760780383,"compaign_read_complete_time":1760780387,"compaign_send_start_time":1760780402,"compaign_send_complete_time":1760780409}
    [action_time] => {"api_allot_time":1760780380,"compaign_read_start_time":1760780383,"compaign_read_complete_time":1760780387,"compaign_send_start_time":1760780402,"compaign_send_complete_time":1760780409}
    [50] => 0
    [compaign_file] => 0
    [51] => u22476_66835_18102025_030939PM_105
    [common_name] => u22476_66835_18102025_030939PM_105
    [52] => 1760779241_u22476_voice.wav
    [voice_file] => 1760779241_u22476_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [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_58324
    [temp_group_table] => contacts_temp_group_58324
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760780641
    [last_credit_update_time] => 1760780641
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1730
    [user_voice_plan_id] => 1730
    [85] => 11
    [voice_plan_id] => 11
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.17
    [pulse_rate] => 0.17
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"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,sr36,u22476
    [uphierarchy] => admin,sr36,u22476
    [113] => 
    [extra_params_json] => 
)


Compaign : 66835
\compaign_type : Rans per 28.5701 
ans sms 3324
dnd sms 0

require answer perrequire answer per : 950

user answer per : 397
below is the redis data 553 UPDATE voice_compaign_detail_66835 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 553 Total Failed : 996 no_answer_count : 333 Busy count :256 congestion_count : 119 failed_count : 288UPDATE voice_compaign_detail_66835 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 333 UPDATE voice_compaign_detail_66835 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 256 UPDATE voice_compaign_detail_66835 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 119 UPDATE voice_compaign_detail_66835 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 288 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='950', `user_busy_sms`='489', `user_congestion_sms`='121', `user_failed_sms`='1135', `user_hangup_sms`='0', `user_no_answer_sms`='629', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66835 LIMIT 1 


Time Diff : 0.082

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760521562'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760521622'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760521681'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760521742'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760521801'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760521861'  
Array
(
    [0] => 66836
    [compaign_id] => 66836
    [1] => u179
    [user_id] => u179
    [2] => 58325,
    [group_ids] => 58325,
    [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] => 1760780700
    [start_date] => 1760780700
    [9] => 0
    [end_date] => 0
    [10] => 2734
    [total_sms] => 2734
    [11] => 2734
    [sent_sms] => 2734
    [12] => 0
    [duplicate_sms] => 0
    [13] => 94
    [answered_sms] => 94
    [14] => 534
    [busy_sms] => 534
    [15] => 0
    [congestion_sms] => 0
    [16] => 158
    [failed_sms] => 158
    [17] => 0
    [hangup_sms] => 0
    [18] => 189
    [no_answer_sms] => 189
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 1015
    [cutting_sms] => 1015
    [22] => 744
    [dnd_sms] => 744
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 94
    [user_answered_sms] => 94
    [27] => 534
    [user_busy_sms] => 534
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 158
    [user_failed_sms] => 158
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 189
    [user_no_answer_sms] => 189
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 744
    [user_dnd_sms] => 744
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u179
    [created_by] => u179
    [38] => 1
    [isScheduled] => 1
    [39] => 1760780532
    [create_date] => 1760780532
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760780706,"compaign_read_start_time":1760780707,"compaign_read_complete_time":1760780713,"compaign_send_start_time":1760780762,"compaign_send_complete_time":1760780767}
    [action_time] => {"api_allot_time":1760780706,"compaign_read_start_time":1760780707,"compaign_read_complete_time":1760780713,"compaign_send_start_time":1760780762,"compaign_send_complete_time":1760780767}
    [50] => 0
    [compaign_file] => 0
    [51] => u179_66836_18102025_031505PM_501
    [common_name] => u179_66836_18102025_031505PM_501
    [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_58325
    [temp_group_table] => contacts_temp_group_58325
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [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] => 1760781001
    [last_credit_update_time] => 1760781001
    [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 : 66836
\compaign_type : Rans per 26.64742 
ans sms 2734
dnd sms 744

require answer perrequire answer per : 531

user answer per : 94
below is the redis data 437 /n/r
only no answer and busy will be convert, total number require 437 /n/r
UPDATE voice_compaign_detail_66836 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 328 UPDATE voice_compaign_detail_66836 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 328 Total Failed : 454 no_answer_count : 152 Busy count :117 congestion_count : 54 failed_count : 131UPDATE voice_compaign_detail_66836 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 152 UPDATE voice_compaign_detail_66836 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 117 UPDATE voice_compaign_detail_66836 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 54 UPDATE voice_compaign_detail_66836 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`='531', `user_busy_sms`='662', `user_congestion_sms`='54', `user_failed_sms`='194', `user_hangup_sms`='0', `user_no_answer_sms`='549', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='744' WHERE `compaign_id`=66836 LIMIT 1 


Time Diff : 0.1

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760521922'  
Array
(
    [0] => 66837
    [compaign_id] => 66837
    [1] => sr87
    [user_id] => sr87
    [2] => 58326,
    [group_ids] => 58326,
    [3] => 
    [sender_id] => 
    [4] => MAHAPRASAD_KENDRAPADA_DHANTERAS25.mp3
    [filename] => MAHAPRASAD_KENDRAPADA_DHANTERAS25.mp3
    [5] => 29
    [duration] => 29
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760780851
    [start_date] => 1760780851
    [9] => 0
    [end_date] => 0
    [10] => 4974
    [total_sms] => 4974
    [11] => 4974
    [sent_sms] => 4974
    [12] => 0
    [duplicate_sms] => 0
    [13] => 650
    [answered_sms] => 650
    [14] => 276
    [busy_sms] => 276
    [15] => 6
    [congestion_sms] => 6
    [16] => 818
    [failed_sms] => 818
    [17] => 0
    [hangup_sms] => 0
    [18] => 835
    [no_answer_sms] => 835
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 2389
    [cutting_sms] => 2389
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 650
    [user_answered_sms] => 650
    [27] => 276
    [user_busy_sms] => 276
    [28] => 6
    [user_congestion_sms] => 6
    [29] => 818
    [user_failed_sms] => 818
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 835
    [user_no_answer_sms] => 835
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => sr87
    [created_by] => sr87
    [38] => 0
    [isScheduled] => 0
    [39] => 1760780851
    [create_date] => 1760780851
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760780857,"compaign_read_start_time":1760780858,"compaign_read_complete_time":1760780866,"compaign_send_start_time":1760780881,"compaign_send_complete_time":1760780900}
    [action_time] => {"api_allot_time":1760780857,"compaign_read_start_time":1760780858,"compaign_read_complete_time":1760780866,"compaign_send_start_time":1760780881,"compaign_send_complete_time":1760780900}
    [50] => 0
    [compaign_file] => 0
    [51] => sr87_66837_18102025_031736PM_995
    [common_name] => sr87_66837_18102025_031736PM_995
    [52] => 1760765725_sr87_voice.wav
    [voice_file] => 1760765725_sr87_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_58326
    [temp_group_table] => contacts_temp_group_58326
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760781122
    [last_credit_update_time] => 1760781122
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 214
    [user_voice_plan_id] => 214
    [85] => 11
    [voice_plan_id] => 11
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.14
    [pulse_rate] => 0.14
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [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
    [uphierarchy] => admin,sr27,sr87
    [113] => 
    [extra_params_json] => 
)


Compaign : 66837
\compaign_type : Rans per 25.94637 
ans sms 4974
dnd sms 0

require answer perrequire answer per : 1291

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='1291', `user_busy_sms`='1046', `user_congestion_sms`='199', `user_failed_sms`='1031', `user_hangup_sms`='0', `user_no_answer_sms`='1407', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66837 LIMIT 1 


Time Diff : 0.043

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760521982'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760522041'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760522102'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760522161'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760522222'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760522281'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760522341'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760522402'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760522461'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760522521'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760522582'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760522641'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760522701'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760522762'  
Array
(
    [0] => 66839
    [compaign_id] => 66839
    [1] => u179
    [user_id] => u179
    [2] => 58327,
    [group_ids] => 58327,
    [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] => 1760781600
    [start_date] => 1760781600
    [9] => 0
    [end_date] => 0
    [10] => 2203
    [total_sms] => 2203
    [11] => 2203
    [sent_sms] => 2203
    [12] => 0
    [duplicate_sms] => 0
    [13] => 61
    [answered_sms] => 61
    [14] => 409
    [busy_sms] => 409
    [15] => 0
    [congestion_sms] => 0
    [16] => 161
    [failed_sms] => 161
    [17] => 0
    [hangup_sms] => 0
    [18] => 135
    [no_answer_sms] => 135
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 693
    [cutting_sms] => 693
    [22] => 744
    [dnd_sms] => 744
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 61
    [user_answered_sms] => 61
    [27] => 409
    [user_busy_sms] => 409
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 161
    [user_failed_sms] => 161
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 135
    [user_no_answer_sms] => 135
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 744
    [user_dnd_sms] => 744
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u179
    [created_by] => u179
    [38] => 1
    [isScheduled] => 1
    [39] => 1760781439
    [create_date] => 1760781439
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760781607,"compaign_read_start_time":1760781608,"compaign_read_complete_time":1760781614,"compaign_send_start_time":1760781661,"compaign_send_complete_time":1760781665}
    [action_time] => {"api_allot_time":1760781607,"compaign_read_start_time":1760781608,"compaign_read_complete_time":1760781614,"compaign_send_start_time":1760781661,"compaign_send_complete_time":1760781665}
    [50] => 0
    [compaign_file] => 0
    [51] => u179_66839_18102025_033006PM_754
    [common_name] => u179_66839_18102025_033006PM_754
    [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_58327
    [temp_group_table] => contacts_temp_group_58327
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [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] => 1760781901
    [last_credit_update_time] => 1760781901
    [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 : 66839
\compaign_type : Rans per 29.80469 
ans sms 2203
dnd sms 744

require answer perrequire answer per : 435

user answer per : 61
below is the redis data 374 /n/r
only no answer and busy will be convert, total number require 374 /n/r
UPDATE voice_compaign_detail_66839 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 285 UPDATE voice_compaign_detail_66839 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 285 Total Failed : 230 no_answer_count : 77 Busy count :60 congestion_count : 28 failed_count : 65UPDATE voice_compaign_detail_66839 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 77 UPDATE voice_compaign_detail_66839 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 60 UPDATE voice_compaign_detail_66839 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 28 UPDATE voice_compaign_detail_66839 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`='435', `user_busy_sms`='485', `user_congestion_sms`='28', `user_failed_sms`='119', `user_hangup_sms`='0', `user_no_answer_sms`='392', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='744' WHERE `compaign_id`=66839 LIMIT 1 


Time Diff : 0.124

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760522821'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760522881'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760522942'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760523002'  
Array
(
    [0] => 66842
    [compaign_id] => 66842
    [1] => u64
    [user_id] => u64
    [2] => 58328,
    [group_ids] => 58328,
    [3] => 
    [sender_id] => 
    [4] => GURU RAMDAS DHANTERAS WISHES 18-10-2025.mp3
    [filename] => GURU RAMDAS DHANTERAS WISHES 18-10-2025.mp3
    [5] => 55
    [duration] => 55
    [6] => 2
    [credits_per_sms] => 2
    [7] => 30
    [user_pulse] => 30
    [8] => 1760781849
    [start_date] => 1760781849
    [9] => 0
    [end_date] => 0
    [10] => 1119
    [total_sms] => 1119
    [11] => 1119
    [sent_sms] => 1119
    [12] => 0
    [duplicate_sms] => 0
    [13] => 140
    [answered_sms] => 140
    [14] => 110
    [busy_sms] => 110
    [15] => 0
    [congestion_sms] => 0
    [16] => 51
    [failed_sms] => 51
    [17] => 0
    [hangup_sms] => 0
    [18] => 160
    [no_answer_sms] => 160
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 395
    [cutting_sms] => 395
    [22] => 263
    [dnd_sms] => 263
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 140
    [user_answered_sms] => 140
    [27] => 110
    [user_busy_sms] => 110
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 51
    [user_failed_sms] => 51
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 160
    [user_no_answer_sms] => 160
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 263
    [user_dnd_sms] => 263
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u64
    [created_by] => u64
    [38] => 0
    [isScheduled] => 0
    [39] => 1760781848
    [create_date] => 1760781848
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760781857,"compaign_read_start_time":1760781859,"compaign_read_complete_time":1760781862,"compaign_send_start_time":1760781902,"compaign_send_complete_time":1760781904}
    [action_time] => {"api_allot_time":1760781857,"compaign_read_start_time":1760781859,"compaign_read_complete_time":1760781862,"compaign_send_start_time":1760781902,"compaign_send_complete_time":1760781904}
    [50] => 0
    [compaign_file] => 0
    [51] => u64_66842_18102025_033415PM_212
    [common_name] => u64_66842_18102025_033415PM_212
    [52] => 1760781848_u64_voice.wav
    [voice_file] => 1760781848_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_58328
    [temp_group_table] => contacts_temp_group_58328
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760782142
    [last_credit_update_time] => 1760782142
    [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 : 66842
\compaign_type : Rans per 27.91996 
ans sms 1119
dnd sms 263

require answer perrequire answer per : 239

user answer per : 140
below is the redis data 99 /n/r
only no answer and busy will be convert, total number require 99 /n/r
UPDATE voice_compaign_detail_66842 SET user_report='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_66842 SET user_report='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 : 272 no_answer_count : 91 Busy count :70 congestion_count : 33 failed_count : 78UPDATE voice_compaign_detail_66842 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 91 UPDATE voice_compaign_detail_66842 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 70 UPDATE voice_compaign_detail_66842 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 33 UPDATE voice_compaign_detail_66842 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`='239', `user_busy_sms`='213', `user_congestion_sms`='33', `user_failed_sms`='110', `user_hangup_sms`='0', `user_no_answer_sms`='261', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='263' WHERE `compaign_id`=66842 LIMIT 1 


Time Diff : 0.255

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760523061'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760523122'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760523181'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760523242'  
Array
(
    [0] => 66844
    [compaign_id] => 66844
    [1] => u64
    [user_id] => u64
    [2] => 58329,
    [group_ids] => 58329,
    [3] => 
    [sender_id] => 
    [4] => GURU RAMDAS DHANTERAS WISHES 18-10-2025.mp3
    [filename] => GURU RAMDAS DHANTERAS WISHES 18-10-2025.mp3
    [5] => 55
    [duration] => 55
    [6] => 2
    [credits_per_sms] => 2
    [7] => 30
    [user_pulse] => 30
    [8] => 1760782209
    [start_date] => 1760782209
    [9] => 0
    [end_date] => 0
    [10] => 185
    [total_sms] => 185
    [11] => 185
    [sent_sms] => 185
    [12] => 0
    [duplicate_sms] => 0
    [13] => 37
    [answered_sms] => 37
    [14] => 30
    [busy_sms] => 30
    [15] => 0
    [congestion_sms] => 0
    [16] => 19
    [failed_sms] => 19
    [17] => 0
    [hangup_sms] => 0
    [18] => 32
    [no_answer_sms] => 32
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 35
    [cutting_sms] => 35
    [22] => 32
    [dnd_sms] => 32
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 37
    [user_answered_sms] => 37
    [27] => 30
    [user_busy_sms] => 30
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 19
    [user_failed_sms] => 19
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 32
    [user_no_answer_sms] => 32
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 32
    [user_dnd_sms] => 32
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u64
    [created_by] => u64
    [38] => 0
    [isScheduled] => 0
    [39] => 1760782209
    [create_date] => 1760782209
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760782217,"compaign_read_start_time":1760782220,"compaign_read_complete_time":1760782220,"compaign_send_start_time":1760782261,"compaign_send_complete_time":1760782266}
    [action_time] => {"api_allot_time":1760782217,"compaign_read_start_time":1760782220,"compaign_read_complete_time":1760782220,"compaign_send_start_time":1760782261,"compaign_send_complete_time":1760782266}
    [50] => 0
    [compaign_file] => 0
    [51] => u64_66844_18102025_034014PM_966
    [common_name] => u64_66844_18102025_034014PM_966
    [52] => 1760782209_u64_voice.wav
    [voice_file] => 1760782209_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_58329
    [temp_group_table] => contacts_temp_group_58329
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760782442
    [last_credit_update_time] => 1760782442
    [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 : 66844
\compaign_type : Rans per 27.13766 
ans sms 185
dnd sms 32

require answer perrequire answer per : 42

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='42', `user_busy_sms`='41', `user_congestion_sms`='4', `user_failed_sms`='23', `user_hangup_sms`='0', `user_no_answer_sms`='43', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='32' WHERE `compaign_id`=66844 LIMIT 1 


Time Diff : 0.822

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760523302'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760523361'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760523421'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760523482'  
Array
(
    [0] => 66848
    [compaign_id] => 66848
    [1] => u607
    [user_id] => u607
    [2] => 58332,
    [group_ids] => 58332,
    [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] => 1760782323
    [start_date] => 1760782323
    [9] => 0
    [end_date] => 0
    [10] => 132
    [total_sms] => 132
    [11] => 132
    [sent_sms] => 132
    [12] => 0
    [duplicate_sms] => 0
    [13] => 17
    [answered_sms] => 17
    [14] => 26
    [busy_sms] => 26
    [15] => 0
    [congestion_sms] => 0
    [16] => 44
    [failed_sms] => 44
    [17] => 0
    [hangup_sms] => 0
    [18] => 31
    [no_answer_sms] => 31
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 14
    [cutting_sms] => 14
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 17
    [user_answered_sms] => 17
    [27] => 26
    [user_busy_sms] => 26
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 44
    [user_failed_sms] => 44
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 31
    [user_no_answer_sms] => 31
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u607
    [created_by] => u607
    [38] => 0
    [isScheduled] => 0
    [39] => 1760782323
    [create_date] => 1760782323
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760782331,"compaign_read_start_time":1760782337,"compaign_read_complete_time":1760782337,"compaign_send_start_time":1760782382,"compaign_send_complete_time":1760782383}
    [action_time] => {"api_allot_time":1760782331,"compaign_read_start_time":1760782337,"compaign_read_complete_time":1760782337,"compaign_send_start_time":1760782382,"compaign_send_complete_time":1760782383}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_66848_18102025_034208PM_621
    [common_name] => u607_66848_18102025_034208PM_621
    [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_58332
    [temp_group_table] => contacts_temp_group_58332
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760782621
    [last_credit_update_time] => 1760782621
    [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 : 66848
\compaign_type : Rans per 29.88192 
ans sms 132
dnd sms 0

require answer perrequire answer per : 40

user answer per : 17
below is the redis data 23 /n/r
only no answer and busy will be convert, total number require 23 /n/r
UPDATE voice_compaign_detail_66848 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 19 UPDATE voice_compaign_detail_66848 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 19 Total Failed : 3 no_answer_count : 2 Busy count :1 congestion_count : 1 failed_count : -1UPDATE voice_compaign_detail_66848 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 2 UPDATE voice_compaign_detail_66848 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 1 UPDATE voice_compaign_detail_66848 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`='40', `user_busy_sms`='37', `user_congestion_sms`='0', `user_failed_sms`='17', `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`=66848 LIMIT 1 


Time Diff : 2.114

Array
(
    [0] => 66849
    [compaign_id] => 66849
    [1] => u607
    [user_id] => u607
    [2] => 58331,
    [group_ids] => 58331,
    [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] => 1760782323
    [start_date] => 1760782323
    [9] => 0
    [end_date] => 0
    [10] => 203
    [total_sms] => 203
    [11] => 203
    [sent_sms] => 203
    [12] => 0
    [duplicate_sms] => 0
    [13] => 10
    [answered_sms] => 10
    [14] => 5
    [busy_sms] => 5
    [15] => 1
    [congestion_sms] => 1
    [16] => 99
    [failed_sms] => 99
    [17] => 0
    [hangup_sms] => 0
    [18] => 2
    [no_answer_sms] => 2
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 50
    [cutting_sms] => 50
    [22] => 36
    [dnd_sms] => 36
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 10
    [user_answered_sms] => 10
    [27] => 5
    [user_busy_sms] => 5
    [28] => 1
    [user_congestion_sms] => 1
    [29] => 99
    [user_failed_sms] => 99
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 2
    [user_no_answer_sms] => 2
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 36
    [user_dnd_sms] => 36
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u607
    [created_by] => u607
    [38] => 0
    [isScheduled] => 0
    [39] => 1760782323
    [create_date] => 1760782323
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760782331,"compaign_read_start_time":1760782340,"compaign_read_complete_time":1760782341,"compaign_send_start_time":1760782382,"compaign_send_complete_time":1760782383}
    [action_time] => {"api_allot_time":1760782331,"compaign_read_start_time":1760782340,"compaign_read_complete_time":1760782341,"compaign_send_start_time":1760782382,"compaign_send_complete_time":1760782383}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_66849_18102025_034208PM_371
    [common_name] => u607_66849_18102025_034208PM_371
    [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_58331
    [temp_group_table] => contacts_temp_group_58331
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760782622
    [last_credit_update_time] => 1760782622
    [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 : 66849
\compaign_type : Rans per 28.23896 
ans sms 203
dnd sms 36

require answer perrequire answer per : 48

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


 Blank User Record End

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


Time Diff : 1.374

Array
(
    [0] => 66850
    [compaign_id] => 66850
    [1] => u607
    [user_id] => u607
    [2] => 58336,
    [group_ids] => 58336,
    [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] => 1760782323
    [start_date] => 1760782323
    [9] => 0
    [end_date] => 0
    [10] => 191
    [total_sms] => 191
    [11] => 191
    [sent_sms] => 191
    [12] => 0
    [duplicate_sms] => 0
    [13] => 14
    [answered_sms] => 14
    [14] => 33
    [busy_sms] => 33
    [15] => 2
    [congestion_sms] => 2
    [16] => 63
    [failed_sms] => 63
    [17] => 0
    [hangup_sms] => 0
    [18] => 32
    [no_answer_sms] => 32
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 47
    [cutting_sms] => 47
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 14
    [user_answered_sms] => 14
    [27] => 33
    [user_busy_sms] => 33
    [28] => 2
    [user_congestion_sms] => 2
    [29] => 63
    [user_failed_sms] => 63
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 32
    [user_no_answer_sms] => 32
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u607
    [created_by] => u607
    [38] => 0
    [isScheduled] => 0
    [39] => 1760782323
    [create_date] => 1760782323
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760782330,"compaign_read_start_time":1760782343,"compaign_read_complete_time":1760782343,"compaign_send_start_time":1760782382,"compaign_send_complete_time":1760782383}
    [action_time] => {"api_allot_time":1760782330,"compaign_read_start_time":1760782343,"compaign_read_complete_time":1760782343,"compaign_send_start_time":1760782382,"compaign_send_complete_time":1760782383}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_66850_18102025_034208PM_563
    [common_name] => u607_66850_18102025_034208PM_563
    [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_58336
    [temp_group_table] => contacts_temp_group_58336
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760782622
    [last_credit_update_time] => 1760782622
    [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 : 66850
\compaign_type : Rans per 29.3799 
ans sms 191
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_66850 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 34 UPDATE voice_compaign_detail_66850 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 34 Total Failed : 22 no_answer_count : 8 Busy count :6 congestion_count : 3 failed_count : 5UPDATE voice_compaign_detail_66850 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 8 UPDATE voice_compaign_detail_66850 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 6 UPDATE voice_compaign_detail_66850 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 3 UPDATE voice_compaign_detail_66850 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`='57', `user_busy_sms`='50', `user_congestion_sms`='3', `user_failed_sms`='27', `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`=66850 LIMIT 1 


Time Diff : 1.487

Array
(
    [0] => 66851
    [compaign_id] => 66851
    [1] => u607
    [user_id] => u607
    [2] => 58335,
    [group_ids] => 58335,
    [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] => 1760782323
    [start_date] => 1760782323
    [9] => 0
    [end_date] => 0
    [10] => 256
    [total_sms] => 256
    [11] => 256
    [sent_sms] => 256
    [12] => 0
    [duplicate_sms] => 0
    [13] => 13
    [answered_sms] => 13
    [14] => 19
    [busy_sms] => 19
    [15] => 0
    [congestion_sms] => 0
    [16] => 101
    [failed_sms] => 101
    [17] => 0
    [hangup_sms] => 0
    [18] => 15
    [no_answer_sms] => 15
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 72
    [cutting_sms] => 72
    [22] => 36
    [dnd_sms] => 36
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 13
    [user_answered_sms] => 13
    [27] => 19
    [user_busy_sms] => 19
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 101
    [user_failed_sms] => 101
    [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] => 36
    [user_dnd_sms] => 36
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u607
    [created_by] => u607
    [38] => 0
    [isScheduled] => 0
    [39] => 1760782323
    [create_date] => 1760782323
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760782330,"compaign_read_start_time":1760782346,"compaign_read_complete_time":1760782347,"compaign_send_start_time":1760782382,"compaign_send_complete_time":1760782383}
    [action_time] => {"api_allot_time":1760782330,"compaign_read_start_time":1760782346,"compaign_read_complete_time":1760782347,"compaign_send_start_time":1760782382,"compaign_send_complete_time":1760782383}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_66851_18102025_034208PM_140
    [common_name] => u607_66851_18102025_034208PM_140
    [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_58335
    [temp_group_table] => contacts_temp_group_58335
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760782622
    [last_credit_update_time] => 1760782622
    [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 : 66851
\compaign_type : Rans per 26.70562 
ans sms 256
dnd sms 36

require answer perrequire answer per : 59

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='47', `user_busy_sms`='46', `user_congestion_sms`='5', `user_failed_sms`='72', `user_hangup_sms`='0', `user_no_answer_sms`='50', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='36' WHERE `compaign_id`=66851 LIMIT 1 


Time Diff : 1.105

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760523541'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760523602'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760523661'  
Array
(
    [0] => 66845
    [compaign_id] => 66845
    [1] => u6427
    [user_id] => u6427
    [2] => 58330,
    [group_ids] => 58330,
    [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] => 1760782299
    [start_date] => 1760782299
    [9] => 0
    [end_date] => 0
    [10] => 7698
    [total_sms] => 7698
    [11] => 7698
    [sent_sms] => 7698
    [12] => 0
    [duplicate_sms] => 0
    [13] => 935
    [answered_sms] => 935
    [14] => 855
    [busy_sms] => 855
    [15] => 7
    [congestion_sms] => 7
    [16] => 1335
    [failed_sms] => 1335
    [17] => 0
    [hangup_sms] => 0
    [18] => 842
    [no_answer_sms] => 842
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 3724
    [cutting_sms] => 3724
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 935
    [user_answered_sms] => 935
    [27] => 855
    [user_busy_sms] => 855
    [28] => 7
    [user_congestion_sms] => 7
    [29] => 1335
    [user_failed_sms] => 1335
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 842
    [user_no_answer_sms] => 842
    [32] => 0
    [user_timeout_duration_sms] => 0
    [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] => 1760782296
    [create_date] => 1760782296
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760782307,"compaign_read_start_time":1760782309,"compaign_read_complete_time":1760782320,"compaign_send_start_time":1760782322,"compaign_send_complete_time":1760782348}
    [action_time] => {"api_allot_time":1760782307,"compaign_read_start_time":1760782309,"compaign_read_complete_time":1760782320,"compaign_send_start_time":1760782322,"compaign_send_complete_time":1760782348}
    [50] => 0
    [compaign_file] => 0
    [51] => u6427_66845_18102025_034145PM_790
    [common_name] => u6427_66845_18102025_034145PM_790
    [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_58330
    [temp_group_table] => contacts_temp_group_58330
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => 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] => 1760782802
    [reschedule_last_check_time] => 1760782802
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760782802
    [last_credit_update_time] => 1760782802
    [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":1760844600}
    [rt_time] => {"1":1760844600}
    [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 : 66845
\compaign_type : Rans per 29.51164 
ans sms 7698
dnd sms 0

require answer perrequire answer per : 2272

user answer per : 935
below is the redis data 1337 UPDATE voice_compaign_detail_66845 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1337 Total Failed : 2389 no_answer_count : 797 Busy count :614 congestion_count : 284 failed_count : 694UPDATE voice_compaign_detail_66845 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 797 UPDATE voice_compaign_detail_66845 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 614 UPDATE voice_compaign_detail_66845 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 284 UPDATE voice_compaign_detail_66845 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 694 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='2272', `user_busy_sms`='1469', `user_congestion_sms`='289', `user_failed_sms`='2029', `user_hangup_sms`='0', `user_no_answer_sms`='1639', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66845 LIMIT 1 


Time Diff : 0.066

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760523722'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760523782'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760523841'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760523902'  
Array
(
    [0] => 66852
    [compaign_id] => 66852
    [1] => u6427
    [user_id] => u6427
    [2] => 58337,
    [group_ids] => 58337,
    [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] => 1760782480
    [start_date] => 1760782480
    [9] => 0
    [end_date] => 0
    [10] => 11098
    [total_sms] => 11098
    [11] => 11098
    [sent_sms] => 11098
    [12] => 0
    [duplicate_sms] => 0
    [13] => 1520
    [answered_sms] => 1520
    [14] => 850
    [busy_sms] => 850
    [15] => 9
    [congestion_sms] => 9
    [16] => 1711
    [failed_sms] => 1711
    [17] => 0
    [hangup_sms] => 0
    [18] => 1076
    [no_answer_sms] => 1076
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 5932
    [cutting_sms] => 5932
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 1520
    [user_answered_sms] => 1520
    [27] => 850
    [user_busy_sms] => 850
    [28] => 9
    [user_congestion_sms] => 9
    [29] => 1711
    [user_failed_sms] => 1711
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 1076
    [user_no_answer_sms] => 1076
    [32] => 0
    [user_timeout_duration_sms] => 0
    [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] => 1760782476
    [create_date] => 1760782476
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760782487,"compaign_read_start_time":1760782490,"compaign_read_complete_time":1760782506,"compaign_send_start_time":1760782561,"compaign_send_complete_time":1760782623}
    [action_time] => {"api_allot_time":1760782487,"compaign_read_start_time":1760782490,"compaign_read_complete_time":1760782506,"compaign_send_start_time":1760782561,"compaign_send_complete_time":1760782623}
    [50] => 0
    [compaign_file] => 0
    [51] => u6427_66852_18102025_034446PM_396
    [common_name] => u6427_66852_18102025_034446PM_396
    [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_58337
    [temp_group_table] => contacts_temp_group_58337
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => 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] => 1760782802
    [reschedule_last_check_time] => 1760782802
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760783041
    [last_credit_update_time] => 1760783041
    [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":1760845500}
    [rt_time] => {"1":1760845500}
    [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 : 66852
\compaign_type : Rans per 29.58193 
ans sms 11098
dnd sms 0

require answer perrequire answer per : 3284

user answer per : 1520
below is the redis data 1764 UPDATE voice_compaign_detail_66852 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1764 Total Failed : 4168 no_answer_count : 1390 Busy count :1070 congestion_count : 495 failed_count : 1213UPDATE voice_compaign_detail_66852 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 1390 UPDATE voice_compaign_detail_66852 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 1070 UPDATE voice_compaign_detail_66852 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 495 UPDATE voice_compaign_detail_66852 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 1213 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='3284', `user_busy_sms`='1920', `user_congestion_sms`='504', `user_failed_sms`='2924', `user_hangup_sms`='0', `user_no_answer_sms`='2466', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66852 LIMIT 1 


Time Diff : 0.047

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


Compaign : 66572
\compaign_type : ATans per 25.38581 
ans sms 17906
dnd sms 0

require answer perrequire answer per : 4546

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='94', `user_busy_sms`='5214', `user_congestion_sms`='0', `user_failed_sms`='11785', `user_hangup_sms`='0', `user_no_answer_sms`='813', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 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>'1760524261'  
Array
(
    [0] => 66853
    [compaign_id] => 66853
    [1] => u6427
    [user_id] => u6427
    [2] => 58338,
    [group_ids] => 58338,
    [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] => 1760782631
    [start_date] => 1760782631
    [9] => 0
    [end_date] => 0
    [10] => 11495
    [total_sms] => 11495
    [11] => 11495
    [sent_sms] => 11495
    [12] => 0
    [duplicate_sms] => 0
    [13] => 1787
    [answered_sms] => 1787
    [14] => 992
    [busy_sms] => 992
    [15] => 27
    [congestion_sms] => 27
    [16] => 1909
    [failed_sms] => 1909
    [17] => 0
    [hangup_sms] => 0
    [18] => 1195
    [no_answer_sms] => 1195
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 5585
    [cutting_sms] => 5585
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 1787
    [user_answered_sms] => 1787
    [27] => 992
    [user_busy_sms] => 992
    [28] => 27
    [user_congestion_sms] => 27
    [29] => 1909
    [user_failed_sms] => 1909
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 1195
    [user_no_answer_sms] => 1195
    [32] => 0
    [user_timeout_duration_sms] => 0
    [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] => 1760782626
    [create_date] => 1760782626
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760782639,"compaign_read_start_time":1760782639,"compaign_read_complete_time":1760782656,"compaign_send_start_time":1760782682,"compaign_send_complete_time":1760782746}
    [action_time] => {"api_allot_time":1760782639,"compaign_read_start_time":1760782639,"compaign_read_complete_time":1760782656,"compaign_send_start_time":1760782682,"compaign_send_complete_time":1760782746}
    [50] => 0
    [compaign_file] => 0
    [51] => u6427_66853_18102025_034717PM_265
    [common_name] => u6427_66853_18102025_034717PM_265
    [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_58338
    [temp_group_table] => contacts_temp_group_58338
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => 1760783403
    [reschedule_last_check_time] => 1760783403
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760783402
    [last_credit_update_time] => 1760783402
    [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":1760846400}
    [rt_time] => {"1":1760846400}
    [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 : 66853
\compaign_type : Rans per 27.71909 
ans sms 11495
dnd sms 0

require answer perrequire answer per : 3187

user answer per : 1787
below is the redis data 1400 UPDATE voice_compaign_detail_66853 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1400 Total Failed : 4191 no_answer_count : 1398 Busy count :1076 congestion_count : 498 failed_count : 1219UPDATE voice_compaign_detail_66853 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 1398 UPDATE voice_compaign_detail_66853 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 1076 UPDATE voice_compaign_detail_66853 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 498 UPDATE voice_compaign_detail_66853 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 1219 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='3187', `user_busy_sms`='2068', `user_congestion_sms`='519', `user_failed_sms`='3128', `user_hangup_sms`='0', `user_no_answer_sms`='2593', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66853 LIMIT 1 


Time Diff : 0.054

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


Compaign : 66857
\compaign_type : Rans per 28.72328 
ans sms 2348
dnd sms 743

require answer perrequire answer per : 462

user answer per : 200
below is the redis data 262 UPDATE voice_compaign_detail_66857 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 262 Total Failed : 532 no_answer_count : 178 Busy count :137 congestion_count : 64 failed_count : 153UPDATE voice_compaign_detail_66857 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 178 UPDATE voice_compaign_detail_66857 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 137 UPDATE voice_compaign_detail_66857 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 64 UPDATE voice_compaign_detail_66857 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 153 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='462', `user_busy_sms`='276', `user_congestion_sms`='64', `user_failed_sms`='419', `user_hangup_sms`='0', `user_no_answer_sms`='384', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='743' WHERE `compaign_id`=66857 LIMIT 1 


Time Diff : 0.115

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760524442'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760524502'  
Array
(
    [0] => 66854
    [compaign_id] => 66854
    [1] => u6427
    [user_id] => u6427
    [2] => 58339,
    [group_ids] => 58339,
    [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] => 1760782689
    [start_date] => 1760782689
    [9] => 0
    [end_date] => 0
    [10] => 10631
    [total_sms] => 10631
    [11] => 10631
    [sent_sms] => 10631
    [12] => 0
    [duplicate_sms] => 0
    [13] => 1338
    [answered_sms] => 1338
    [14] => 979
    [busy_sms] => 979
    [15] => 23
    [congestion_sms] => 23
    [16] => 1828
    [failed_sms] => 1828
    [17] => 0
    [hangup_sms] => 0
    [18] => 1091
    [no_answer_sms] => 1091
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 5372
    [cutting_sms] => 5372
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 1338
    [user_answered_sms] => 1338
    [27] => 979
    [user_busy_sms] => 979
    [28] => 23
    [user_congestion_sms] => 23
    [29] => 1828
    [user_failed_sms] => 1828
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 1091
    [user_no_answer_sms] => 1091
    [32] => 0
    [user_timeout_duration_sms] => 0
    [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] => 1760782684
    [create_date] => 1760782684
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760782695,"compaign_read_start_time":1760782697,"compaign_read_complete_time":1760782714,"compaign_send_start_time":1760782741,"compaign_send_complete_time":1760782804}
    [action_time] => {"api_allot_time":1760782695,"compaign_read_start_time":1760782697,"compaign_read_complete_time":1760782714,"compaign_send_start_time":1760782741,"compaign_send_complete_time":1760782804}
    [50] => 0
    [compaign_file] => 0
    [51] => u6427_66854_18102025_034814PM_599
    [common_name] => u6427_66854_18102025_034814PM_599
    [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_58339
    [temp_group_table] => contacts_temp_group_58339
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => 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] => 1760783403
    [reschedule_last_check_time] => 1760783403
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760783642
    [last_credit_update_time] => 1760783642
    [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":1760845500}
    [rt_time] => {"1":1760845500}
    [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 : 66854
\compaign_type : Rans per 28.06651 
ans sms 10631
dnd sms 0

require answer perrequire answer per : 2984

user answer per : 1338
below is the redis data 1646 UPDATE voice_compaign_detail_66854 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1646 Total Failed : 3736 no_answer_count : 1246 Busy count :959 congestion_count : 444 failed_count : 1087UPDATE voice_compaign_detail_66854 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 1246 UPDATE voice_compaign_detail_66854 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 959 UPDATE voice_compaign_detail_66854 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 444 UPDATE voice_compaign_detail_66854 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 1087 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='2984', `user_busy_sms`='1938', `user_congestion_sms`='457', `user_failed_sms`='2915', `user_hangup_sms`='0', `user_no_answer_sms`='2337', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66854 LIMIT 1 


Time Diff : 0.057

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760524561'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760524622'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760524681'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760524742'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760524801'  
Array
(
    [0] => 66855
    [compaign_id] => 66855
    [1] => u6427
    [user_id] => u6427
    [2] => 58340,
    [group_ids] => 58340,
    [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] => 1760782733
    [start_date] => 1760782733
    [9] => 0
    [end_date] => 0
    [10] => 10524
    [total_sms] => 10524
    [11] => 10524
    [sent_sms] => 10524
    [12] => 0
    [duplicate_sms] => 0
    [13] => 1576
    [answered_sms] => 1576
    [14] => 838
    [busy_sms] => 838
    [15] => 20
    [congestion_sms] => 20
    [16] => 1973
    [failed_sms] => 1973
    [17] => 0
    [hangup_sms] => 0
    [18] => 1112
    [no_answer_sms] => 1112
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 5005
    [cutting_sms] => 5005
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 1576
    [user_answered_sms] => 1576
    [27] => 838
    [user_busy_sms] => 838
    [28] => 20
    [user_congestion_sms] => 20
    [29] => 1973
    [user_failed_sms] => 1973
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 1112
    [user_no_answer_sms] => 1112
    [32] => 0
    [user_timeout_duration_sms] => 0
    [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] => 1760782729
    [create_date] => 1760782729
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760782743,"compaign_read_start_time":1760782744,"compaign_read_complete_time":1760782762,"compaign_send_start_time":1760782802,"compaign_send_complete_time":1760782864}
    [action_time] => {"api_allot_time":1760782743,"compaign_read_start_time":1760782744,"compaign_read_complete_time":1760782762,"compaign_send_start_time":1760782802,"compaign_send_complete_time":1760782864}
    [50] => 0
    [compaign_file] => 0
    [51] => u6427_66855_18102025_034901PM_810
    [common_name] => u6427_66855_18102025_034901PM_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_58340
    [temp_group_table] => contacts_temp_group_58340
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => 1760783704
    [reschedule_last_check_time] => 1760783704
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760783942
    [last_credit_update_time] => 1760783942
    [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":1760845500}
    [rt_time] => {"1":1760845500}
    [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 : 66855
\compaign_type : Rans per 28.20422 
ans sms 10524
dnd sms 0

require answer perrequire answer per : 2969

user answer per : 1576
below is the redis data 1393 UPDATE voice_compaign_detail_66855 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1393 Total Failed : 3621 no_answer_count : 1208 Busy count :930 congestion_count : 430 failed_count : 1053UPDATE voice_compaign_detail_66855 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 1208 UPDATE voice_compaign_detail_66855 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 930 UPDATE voice_compaign_detail_66855 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 430 UPDATE voice_compaign_detail_66855 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 1053 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='2969', `user_busy_sms`='1768', `user_congestion_sms`='441', `user_failed_sms`='3026', `user_hangup_sms`='0', `user_no_answer_sms`='2320', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66855 LIMIT 1 


Time Diff : 0.053

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760524861'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760524922'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760524981'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760525041'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760525101'  
Array
(
    [0] => 66860
    [compaign_id] => 66860
    [1] => u179
    [user_id] => u179
    [2] => 58345,
    [group_ids] => 58345,
    [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] => 1760783518
    [start_date] => 1760783518
    [9] => 0
    [end_date] => 0
    [10] => 3541
    [total_sms] => 3541
    [11] => 3541
    [sent_sms] => 3541
    [12] => 0
    [duplicate_sms] => 0
    [13] => 188
    [answered_sms] => 188
    [14] => 906
    [busy_sms] => 906
    [15] => 0
    [congestion_sms] => 0
    [16] => 123
    [failed_sms] => 123
    [17] => 0
    [hangup_sms] => 0
    [18] => 313
    [no_answer_sms] => 313
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 1454
    [cutting_sms] => 1454
    [22] => 557
    [dnd_sms] => 557
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 188
    [user_answered_sms] => 188
    [27] => 906
    [user_busy_sms] => 906
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 123
    [user_failed_sms] => 123
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 313
    [user_no_answer_sms] => 313
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 557
    [user_dnd_sms] => 557
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u179
    [created_by] => u179
    [38] => 0
    [isScheduled] => 0
    [39] => 1760783516
    [create_date] => 1760783516
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760783525,"compaign_read_start_time":1760783527,"compaign_read_complete_time":1760783536,"compaign_send_start_time":1760783582,"compaign_send_complete_time":1760783589}
    [action_time] => {"api_allot_time":1760783525,"compaign_read_start_time":1760783527,"compaign_read_complete_time":1760783536,"compaign_send_start_time":1760783582,"compaign_send_complete_time":1760783589}
    [50] => 0
    [compaign_file] => 0
    [51] => u179_66860_18102025_040203PM_945
    [common_name] => u179_66860_18102025_040203PM_945
    [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_58345
    [temp_group_table] => contacts_temp_group_58345
    [61] => 0
    [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] => 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] => 1760784003
    [reschedule_last_check_time] => 1760784003
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760784301
    [last_credit_update_time] => 1760784301
    [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":1760784300,"2":1760785200}
    [rt_time] => {"1":1760784300,"2":1760785200}
    [104] => 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 : 66860
\compaign_type : Rans per 29.75062 
ans sms 3541
dnd sms 557

require answer perrequire answer per : 888

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='888', `user_busy_sms`='1039', `user_congestion_sms`='54', `user_failed_sms`='164', `user_hangup_sms`='0', `user_no_answer_sms`='839', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='557' WHERE `compaign_id`=66860 LIMIT 1 


Time Diff : 0.139

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760525161'  
Array
(
    [0] => 66856
    [compaign_id] => 66856
    [1] => u6427
    [user_id] => u6427
    [2] => 58341,
    [group_ids] => 58341,
    [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] => 1760782788
    [start_date] => 1760782788
    [9] => 0
    [end_date] => 0
    [10] => 10125
    [total_sms] => 10125
    [11] => 10125
    [sent_sms] => 10125
    [12] => 0
    [duplicate_sms] => 0
    [13] => 1359
    [answered_sms] => 1359
    [14] => 832
    [busy_sms] => 832
    [15] => 7
    [congestion_sms] => 7
    [16] => 1576
    [failed_sms] => 1576
    [17] => 0
    [hangup_sms] => 0
    [18] => 1037
    [no_answer_sms] => 1037
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 5314
    [cutting_sms] => 5314
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 1359
    [user_answered_sms] => 1359
    [27] => 832
    [user_busy_sms] => 832
    [28] => 7
    [user_congestion_sms] => 7
    [29] => 1576
    [user_failed_sms] => 1576
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 1037
    [user_no_answer_sms] => 1037
    [32] => 0
    [user_timeout_duration_sms] => 0
    [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] => 1760782784
    [create_date] => 1760782784
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760782803,"compaign_read_start_time":1760782805,"compaign_read_complete_time":1760782820,"compaign_send_start_time":1760782861,"compaign_send_complete_time":1760782894}
    [action_time] => {"api_allot_time":1760782803,"compaign_read_start_time":1760782805,"compaign_read_complete_time":1760782820,"compaign_send_start_time":1760782861,"compaign_send_complete_time":1760782894}
    [50] => 0
    [compaign_file] => 0
    [51] => u6427_66856_18102025_035002PM_988
    [common_name] => u6427_66856_18102025_035002PM_988
    [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_58341
    [temp_group_table] => contacts_temp_group_58341
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => 1760784303
    [reschedule_last_check_time] => 1760784303
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760784301
    [last_credit_update_time] => 1760784301
    [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":1760846400}
    [rt_time] => {"1":1760846400}
    [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 : 66856
\compaign_type : Rans per 28.46533 
ans sms 10125
dnd sms 0

require answer perrequire answer per : 2883

user answer per : 1359
below is the redis data 1524 UPDATE voice_compaign_detail_66856 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 1524 Total Failed : 3792 no_answer_count : 1265 Busy count :974 congestion_count : 451 failed_count : 1102UPDATE voice_compaign_detail_66856 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 1265 UPDATE voice_compaign_detail_66856 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 974 UPDATE voice_compaign_detail_66856 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 451 UPDATE voice_compaign_detail_66856 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 1102 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='2883', `user_busy_sms`='1806', `user_congestion_sms`='456', `user_failed_sms`='2678', `user_hangup_sms`='0', `user_no_answer_sms`='2302', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66856 LIMIT 1 


Time Diff : 0.057

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760525222'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760525281'  
Array
(
    [0] => 66859
    [compaign_id] => 66859
    [1] => u179
    [user_id] => u179
    [2] => 58344,
    [group_ids] => 58344,
    [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] => 1760783464
    [start_date] => 1760783464
    [9] => 0
    [end_date] => 0
    [10] => 2995
    [total_sms] => 2995
    [11] => 2995
    [sent_sms] => 2995
    [12] => 0
    [duplicate_sms] => 0
    [13] => 141
    [answered_sms] => 141
    [14] => 832
    [busy_sms] => 832
    [15] => 0
    [congestion_sms] => 0
    [16] => 79
    [failed_sms] => 79
    [17] => 0
    [hangup_sms] => 0
    [18] => 266
    [no_answer_sms] => 266
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 1227
    [cutting_sms] => 1227
    [22] => 450
    [dnd_sms] => 450
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 141
    [user_answered_sms] => 141
    [27] => 832
    [user_busy_sms] => 832
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 79
    [user_failed_sms] => 79
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 266
    [user_no_answer_sms] => 266
    [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] => 1760783462
    [create_date] => 1760783462
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760783470,"compaign_read_start_time":1760783473,"compaign_read_complete_time":1760783479,"compaign_send_start_time":1760783522,"compaign_send_complete_time":1760783535}
    [action_time] => {"api_allot_time":1760783470,"compaign_read_start_time":1760783473,"compaign_read_complete_time":1760783479,"compaign_send_start_time":1760783522,"compaign_send_complete_time":1760783535}
    [50] => 0
    [compaign_file] => 0
    [51] => u179_66859_18102025_040109PM_550
    [common_name] => u179_66859_18102025_040109PM_550
    [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_58344
    [temp_group_table] => contacts_temp_group_58344
    [61] => 0
    [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] => 5
    [credit_seq] => 5
    [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] => 1760784303
    [reschedule_last_check_time] => 1760784303
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760784422
    [last_credit_update_time] => 1760784422
    [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":1760784300,"2":1760785200}
    [rt_time] => {"1":1760784300,"2":1760785200}
    [104] => 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 : 66859
\compaign_type : Rans per 28.07942 
ans sms 2995
dnd sms 450

require answer perrequire answer per : 715

user answer per : 141
below is the redis data 574 /n/r
only no answer and busy will be convert, total number require 574 /n/r
UPDATE voice_compaign_detail_66859 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 431 UPDATE voice_compaign_detail_66859 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 431 Total Failed : 419 no_answer_count : 140 Busy count :108 congestion_count : 50 failed_count : 121UPDATE voice_compaign_detail_66859 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 140 UPDATE voice_compaign_detail_66859 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 108 UPDATE voice_compaign_detail_66859 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 50 UPDATE voice_compaign_detail_66859 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`='715', `user_busy_sms`='936', `user_congestion_sms`='50', `user_failed_sms`='146', `user_hangup_sms`='0', `user_no_answer_sms`='698', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='450' WHERE `compaign_id`=66859 LIMIT 1 


Time Diff : 0.315

Array
(
    [0] => 66862
    [compaign_id] => 66862
    [1] => u179
    [user_id] => u179
    [2] => 58347,
    [group_ids] => 58347,
    [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] => 1760783662
    [start_date] => 1760783662
    [9] => 0
    [end_date] => 0
    [10] => 1177
    [total_sms] => 1177
    [11] => 1177
    [sent_sms] => 1177
    [12] => 0
    [duplicate_sms] => 0
    [13] => 126
    [answered_sms] => 126
    [14] => 183
    [busy_sms] => 183
    [15] => 0
    [congestion_sms] => 0
    [16] => 91
    [failed_sms] => 91
    [17] => 0
    [hangup_sms] => 0
    [18] => 142
    [no_answer_sms] => 142
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 427
    [cutting_sms] => 427
    [22] => 208
    [dnd_sms] => 208
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 126
    [user_answered_sms] => 126
    [27] => 183
    [user_busy_sms] => 183
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 91
    [user_failed_sms] => 91
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 142
    [user_no_answer_sms] => 142
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 208
    [user_dnd_sms] => 208
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u179
    [created_by] => u179
    [38] => 0
    [isScheduled] => 0
    [39] => 1760783662
    [create_date] => 1760783662
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760783669,"compaign_read_start_time":1760783671,"compaign_read_complete_time":1760783674,"compaign_send_start_time":1760783702,"compaign_send_complete_time":1760783706}
    [action_time] => {"api_allot_time":1760783669,"compaign_read_start_time":1760783671,"compaign_read_complete_time":1760783674,"compaign_send_start_time":1760783702,"compaign_send_complete_time":1760783706}
    [50] => 0
    [compaign_file] => 0
    [51] => u179_66862_18102025_040428PM_603
    [common_name] => u179_66862_18102025_040428PM_603
    [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_58347
    [temp_group_table] => contacts_temp_group_58347
    [61] => 0
    [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] => 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] => 1760784302
    [reschedule_last_check_time] => 1760784302
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760784422
    [last_credit_update_time] => 1760784422
    [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":1760784300,"2":1760785200}
    [rt_time] => {"1":1760784300,"2":1760785200}
    [104] => 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 : 66862
\compaign_type : Rans per 26.63124 
ans sms 1177
dnd sms 208

require answer perrequire answer per : 259

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='259', `user_busy_sms`='275', `user_congestion_sms`='31', `user_failed_sms`='137', `user_hangup_sms`='0', `user_no_answer_sms`='267', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='208' WHERE `compaign_id`=66862 LIMIT 1 


Time Diff : 0.297

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760525342'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760525401'  
Array
(
    [0] => 66868
    [compaign_id] => 66868
    [1] => u607
    [user_id] => u607
    [2] => 58356,
    [group_ids] => 58356,
    [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] => 1760784422
    [start_date] => 1760784422
    [9] => 0
    [end_date] => 0
    [10] => 92
    [total_sms] => 92
    [11] => 92
    [sent_sms] => 92
    [12] => 0
    [duplicate_sms] => 0
    [13] => 8
    [answered_sms] => 8
    [14] => 34
    [busy_sms] => 34
    [15] => 0
    [congestion_sms] => 0
    [16] => 27
    [failed_sms] => 27
    [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] => 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] => 34
    [user_busy_sms] => 34
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 27
    [user_failed_sms] => 27
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 23
    [user_no_answer_sms] => 23
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u607
    [created_by] => u607
    [38] => 0
    [isScheduled] => 0
    [39] => 1760784422
    [create_date] => 1760784422
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760784430,"compaign_read_start_time":1760784437,"compaign_read_complete_time":1760784437,"compaign_send_start_time":1760784482,"compaign_send_complete_time":1760784489}
    [action_time] => {"api_allot_time":1760784430,"compaign_read_start_time":1760784437,"compaign_read_complete_time":1760784437,"compaign_send_start_time":1760784482,"compaign_send_complete_time":1760784489}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_66868_18102025_041708PM_852
    [common_name] => u607_66868_18102025_041708PM_852
    [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_58356
    [temp_group_table] => contacts_temp_group_58356
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760784542
    [last_credit_update_time] => 1760784542
    [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 : 66868
\compaign_type : Rans per 27.99359 
ans sms 92
dnd sms 0

require answer perrequire answer per : 26

user answer per : 8
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_66868 SET user_report='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_66868 SET user_report='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`='26', `user_busy_sms`='37', `user_congestion_sms`='0', `user_failed_sms`='0', `user_hangup_sms`='0', `user_no_answer_sms`='29', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66868 LIMIT 1 


Time Diff : 1.12

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760525462'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760525521'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760525581'  
Array
(
    [0] => 66869
    [compaign_id] => 66869
    [1] => u607
    [user_id] => u607
    [2] => 58353,
    [group_ids] => 58353,
    [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] => 1760784423
    [start_date] => 1760784423
    [9] => 0
    [end_date] => 0
    [10] => 134
    [total_sms] => 134
    [11] => 134
    [sent_sms] => 134
    [12] => 0
    [duplicate_sms] => 0
    [13] => 10
    [answered_sms] => 10
    [14] => 22
    [busy_sms] => 22
    [15] => 0
    [congestion_sms] => 0
    [16] => 50
    [failed_sms] => 50
    [17] => 0
    [hangup_sms] => 0
    [18] => 33
    [no_answer_sms] => 33
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 19
    [cutting_sms] => 19
    [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] => 22
    [user_busy_sms] => 22
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 50
    [user_failed_sms] => 50
    [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] => u607
    [created_by] => u607
    [38] => 0
    [isScheduled] => 0
    [39] => 1760784423
    [create_date] => 1760784423
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760784431,"compaign_read_start_time":1760784440,"compaign_read_complete_time":1760784440,"compaign_send_start_time":1760784482,"compaign_send_complete_time":1760784489}
    [action_time] => {"api_allot_time":1760784431,"compaign_read_start_time":1760784440,"compaign_read_complete_time":1760784440,"compaign_send_start_time":1760784482,"compaign_send_complete_time":1760784489}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_66869_18102025_041710PM_135
    [common_name] => u607_66869_18102025_041710PM_135
    [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_58353
    [temp_group_table] => contacts_temp_group_58353
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760784721
    [last_credit_update_time] => 1760784721
    [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 : 66869
\compaign_type : Rans per 30.50528 
ans sms 134
dnd sms 0

require answer perrequire answer per : 41

user answer per : 10
below is the redis data 31 /n/r
only no answer and busy will be convert, total number require 31 /n/r
UPDATE voice_compaign_detail_66869 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 23 UPDATE voice_compaign_detail_66869 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 23 Total Failed : 6 no_answer_count : 3 Busy count :2 congestion_count : 1 failed_count : 0UPDATE voice_compaign_detail_66869 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 3 UPDATE voice_compaign_detail_66869 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 2 UPDATE voice_compaign_detail_66869 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`='41', `user_busy_sms`='35', `user_congestion_sms`='1', `user_failed_sms`='17', `user_hangup_sms`='0', `user_no_answer_sms`='40', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66869 LIMIT 1 


Time Diff : 2.112

Array
(
    [0] => 66870
    [compaign_id] => 66870
    [1] => u607
    [user_id] => u607
    [2] => 58355,
    [group_ids] => 58355,
    [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] => 1760784423
    [start_date] => 1760784423
    [9] => 0
    [end_date] => 0
    [10] => 186
    [total_sms] => 186
    [11] => 186
    [sent_sms] => 186
    [12] => 0
    [duplicate_sms] => 0
    [13] => 2
    [answered_sms] => 2
    [14] => 4
    [busy_sms] => 4
    [15] => 0
    [congestion_sms] => 0
    [16] => 96
    [failed_sms] => 96
    [17] => 0
    [hangup_sms] => 0
    [18] => 1
    [no_answer_sms] => 1
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 47
    [cutting_sms] => 47
    [22] => 36
    [dnd_sms] => 36
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 2
    [user_answered_sms] => 2
    [27] => 4
    [user_busy_sms] => 4
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 96
    [user_failed_sms] => 96
    [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] => 36
    [user_dnd_sms] => 36
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u607
    [created_by] => u607
    [38] => 0
    [isScheduled] => 0
    [39] => 1760784423
    [create_date] => 1760784423
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760784432,"compaign_read_start_time":1760784443,"compaign_read_complete_time":1760784444,"compaign_send_start_time":1760784482,"compaign_send_complete_time":1760784489}
    [action_time] => {"api_allot_time":1760784432,"compaign_read_start_time":1760784443,"compaign_read_complete_time":1760784444,"compaign_send_start_time":1760784482,"compaign_send_complete_time":1760784489}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_66870_18102025_041710PM_942
    [common_name] => u607_66870_18102025_041710PM_942
    [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_58355
    [temp_group_table] => contacts_temp_group_58355
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760784721
    [last_credit_update_time] => 1760784721
    [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 : 66870
\compaign_type : Rans per 30.9008 
ans sms 186
dnd sms 36

require answer perrequire answer per : 47

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='7', `user_busy_sms`='41', `user_congestion_sms`='3', `user_failed_sms`='56', `user_hangup_sms`='0', `user_no_answer_sms`='43', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='36' WHERE `compaign_id`=66870 LIMIT 1 


Time Diff : 1.516

Array
(
    [0] => 66871
    [compaign_id] => 66871
    [1] => u607
    [user_id] => u607
    [2] => 58352,
    [group_ids] => 58352,
    [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] => 1760784423
    [start_date] => 1760784423
    [9] => 0
    [end_date] => 0
    [10] => 209
    [total_sms] => 209
    [11] => 209
    [sent_sms] => 209
    [12] => 0
    [duplicate_sms] => 0
    [13] => 4
    [answered_sms] => 4
    [14] => 11
    [busy_sms] => 11
    [15] => 0
    [congestion_sms] => 0
    [16] => 103
    [failed_sms] => 103
    [17] => 0
    [hangup_sms] => 0
    [18] => 6
    [no_answer_sms] => 6
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 49
    [cutting_sms] => 49
    [22] => 36
    [dnd_sms] => 36
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 4
    [user_answered_sms] => 4
    [27] => 11
    [user_busy_sms] => 11
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 103
    [user_failed_sms] => 103
    [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] => 36
    [user_dnd_sms] => 36
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u607
    [created_by] => u607
    [38] => 0
    [isScheduled] => 0
    [39] => 1760784423
    [create_date] => 1760784423
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760784433,"compaign_read_start_time":1760784446,"compaign_read_complete_time":1760784446,"compaign_send_start_time":1760784482,"compaign_send_complete_time":1760784489}
    [action_time] => {"api_allot_time":1760784433,"compaign_read_start_time":1760784446,"compaign_read_complete_time":1760784446,"compaign_send_start_time":1760784482,"compaign_send_complete_time":1760784489}
    [50] => 0
    [compaign_file] => 0
    [51] => u607_66871_18102025_041710PM_838
    [common_name] => u607_66871_18102025_041710PM_838
    [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_58352
    [temp_group_table] => contacts_temp_group_58352
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760784721
    [last_credit_update_time] => 1760784721
    [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 : 66871
\compaign_type : Rans per 29.30968 
ans sms 209
dnd sms 36

require answer perrequire answer per : 51

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='21', `user_busy_sms`='44', `user_congestion_sms`='3', `user_failed_sms`='59', `user_hangup_sms`='0', `user_no_answer_sms`='46', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='36' WHERE `compaign_id`=66871 LIMIT 1 


Time Diff : 1.335

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760525642'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760525701'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760525761'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760525821'  
Array
(
    [0] => 66873
    [compaign_id] => 66873
    [1] => u22468
    [user_id] => u22468
    [2] => 58360,
    [group_ids] => 58360,
    [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] => 1760784666
    [start_date] => 1760784666
    [9] => 0
    [end_date] => 0
    [10] => 481
    [total_sms] => 481
    [11] => 481
    [sent_sms] => 481
    [12] => 0
    [duplicate_sms] => 0
    [13] => 101
    [answered_sms] => 101
    [14] => 50
    [busy_sms] => 50
    [15] => 0
    [congestion_sms] => 0
    [16] => 23
    [failed_sms] => 23
    [17] => 0
    [hangup_sms] => 0
    [18] => 66
    [no_answer_sms] => 66
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 158
    [cutting_sms] => 158
    [22] => 83
    [dnd_sms] => 83
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 101
    [user_answered_sms] => 101
    [27] => 50
    [user_busy_sms] => 50
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 23
    [user_failed_sms] => 23
    [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] => 83
    [user_dnd_sms] => 83
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u22468
    [created_by] => u22468
    [38] => 0
    [isScheduled] => 0
    [39] => 1760784665
    [create_date] => 1760784665
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760784673,"compaign_read_start_time":1760784674,"compaign_read_complete_time":1760784676,"compaign_send_start_time":1760784721,"compaign_send_complete_time":1760784723}
    [action_time] => {"api_allot_time":1760784673,"compaign_read_start_time":1760784674,"compaign_read_complete_time":1760784676,"compaign_send_start_time":1760784721,"compaign_send_complete_time":1760784723}
    [50] => 0
    [compaign_file] => 0
    [51] => u22468_66873_18102025_042112PM_263
    [common_name] => u22468_66873_18102025_042112PM_263
    [52] => 1760784665_u22468_voice.wav
    [voice_file] => 1760784665_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_58360
    [temp_group_table] => contacts_temp_group_58360
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760784961
    [last_credit_update_time] => 1760784961
    [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 : 66873
\compaign_type : Rans per 26.23398 
ans sms 481
dnd sms 83

require answer perrequire answer per : 105

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='105', `user_busy_sms`='90', `user_congestion_sms`='19', `user_failed_sms`='66', `user_hangup_sms`='0', `user_no_answer_sms`='118', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='83' WHERE `compaign_id`=66873 LIMIT 1 


Time Diff : 0.59

Array
(
    [0] => 66874
    [compaign_id] => 66874
    [1] => u122
    [user_id] => u122
    [2] => 58359,
    [group_ids] => 58359,
    [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] => 1760784666
    [start_date] => 1760784666
    [9] => 0
    [end_date] => 0
    [10] => 1465
    [total_sms] => 1465
    [11] => 1465
    [sent_sms] => 1465
    [12] => 0
    [duplicate_sms] => 0
    [13] => 169
    [answered_sms] => 169
    [14] => 83
    [busy_sms] => 83
    [15] => 0
    [congestion_sms] => 0
    [16] => 224
    [failed_sms] => 224
    [17] => 0
    [hangup_sms] => 0
    [18] => 158
    [no_answer_sms] => 158
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 586
    [cutting_sms] => 586
    [22] => 245
    [dnd_sms] => 245
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 169
    [user_answered_sms] => 169
    [27] => 83
    [user_busy_sms] => 83
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 224
    [user_failed_sms] => 224
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 158
    [user_no_answer_sms] => 158
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 245
    [user_dnd_sms] => 245
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u122
    [created_by] => u122
    [38] => 0
    [isScheduled] => 0
    [39] => 1760784665
    [create_date] => 1760784665
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760784673,"compaign_read_start_time":1760784677,"compaign_read_complete_time":1760784679,"compaign_send_start_time":1760784721,"compaign_send_complete_time":1760784725}
    [action_time] => {"api_allot_time":1760784673,"compaign_read_start_time":1760784677,"compaign_read_complete_time":1760784679,"compaign_send_start_time":1760784721,"compaign_send_complete_time":1760784725}
    [50] => 0
    [compaign_file] => 0
    [51] => u122_66874_18102025_042112PM_671
    [common_name] => u122_66874_18102025_042112PM_671
    [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_58359
    [temp_group_table] => contacts_temp_group_58359
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760784961
    [last_credit_update_time] => 1760784961
    [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 : 66874
\compaign_type : Rans per 29.41397 
ans sms 1465
dnd sms 245

require answer perrequire answer per : 359

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='359', `user_busy_sms`='257', `user_congestion_sms`='46', `user_failed_sms`='262', `user_hangup_sms`='0', `user_no_answer_sms`='296', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='245' WHERE `compaign_id`=66874 LIMIT 1 


Time Diff : 0.193

Array
(
    [0] => 66875
    [compaign_id] => 66875
    [1] => u22468
    [user_id] => u22468
    [2] => 58361,
    [group_ids] => 58361,
    [3] => 
    [sender_id] => 
    [4] => AUD-20251016-WA0012.mp3
    [filename] => AUD-20251016-WA0012.mp3
    [5] => 17
    [duration] => 17
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760784697
    [start_date] => 1760784697
    [9] => 0
    [end_date] => 0
    [10] => 481
    [total_sms] => 481
    [11] => 481
    [sent_sms] => 481
    [12] => 0
    [duplicate_sms] => 0
    [13] => 39
    [answered_sms] => 39
    [14] => 81
    [busy_sms] => 81
    [15] => 0
    [congestion_sms] => 0
    [16] => 97
    [failed_sms] => 97
    [17] => 0
    [hangup_sms] => 0
    [18] => 23
    [no_answer_sms] => 23
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 158
    [cutting_sms] => 158
    [22] => 83
    [dnd_sms] => 83
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 39
    [user_answered_sms] => 39
    [27] => 81
    [user_busy_sms] => 81
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 97
    [user_failed_sms] => 97
    [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] => 83
    [user_dnd_sms] => 83
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u22468
    [created_by] => u22468
    [38] => 0
    [isScheduled] => 0
    [39] => 1760784696
    [create_date] => 1760784696
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760784703,"compaign_read_start_time":1760784704,"compaign_read_complete_time":1760784705,"compaign_send_start_time":1760784721,"compaign_send_complete_time":1760784723}
    [action_time] => {"api_allot_time":1760784703,"compaign_read_start_time":1760784704,"compaign_read_complete_time":1760784705,"compaign_send_start_time":1760784721,"compaign_send_complete_time":1760784723}
    [50] => 0
    [compaign_file] => 0
    [51] => u22468_66875_18102025_042142PM_900
    [common_name] => u22468_66875_18102025_042142PM_900
    [52] => 1760784696_u22468_voice.wav
    [voice_file] => 1760784696_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_58361
    [temp_group_table] => contacts_temp_group_58361
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760784962
    [last_credit_update_time] => 1760784962
    [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 : 66875
\compaign_type : Rans per 27.94648 
ans sms 481
dnd sms 83

require answer perrequire answer per : 112

user answer per : 39
below is the redis data 73 UPDATE voice_compaign_detail_66875 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 73 Total Failed : 85 no_answer_count : 29 Busy count :22 congestion_count : 11 failed_count : 23UPDATE voice_compaign_detail_66875 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 29 UPDATE voice_compaign_detail_66875 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 22 UPDATE voice_compaign_detail_66875 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 11 UPDATE voice_compaign_detail_66875 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`='112', `user_busy_sms`='103', `user_congestion_sms`='11', `user_failed_sms`='120', `user_hangup_sms`='0', `user_no_answer_sms`='52', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='83' WHERE `compaign_id`=66875 LIMIT 1 


Time Diff : 0.588

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760525882'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760525941'  
Array
(
    [0] => 66882
    [compaign_id] => 66882
    [1] => u113
    [user_id] => u113
    [2] => 58369,
    [group_ids] => 58369,
    [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] => 1760784806
    [start_date] => 1760784806
    [9] => 0
    [end_date] => 0
    [10] => 1044
    [total_sms] => 1044
    [11] => 1044
    [sent_sms] => 1044
    [12] => 0
    [duplicate_sms] => 0
    [13] => 184
    [answered_sms] => 184
    [14] => 79
    [busy_sms] => 79
    [15] => 1
    [congestion_sms] => 1
    [16] => 104
    [failed_sms] => 104
    [17] => 0
    [hangup_sms] => 0
    [18] => 185
    [no_answer_sms] => 185
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 491
    [cutting_sms] => 491
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 184
    [user_answered_sms] => 184
    [27] => 79
    [user_busy_sms] => 79
    [28] => 1
    [user_congestion_sms] => 1
    [29] => 104
    [user_failed_sms] => 104
    [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] => 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] => 1760784805
    [create_date] => 1760784805
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760784813,"compaign_read_start_time":1760784814,"compaign_read_complete_time":1760784816,"compaign_send_start_time":1760784842,"compaign_send_complete_time":1760784845}
    [action_time] => {"api_allot_time":1760784813,"compaign_read_start_time":1760784814,"compaign_read_complete_time":1760784816,"compaign_send_start_time":1760784842,"compaign_send_complete_time":1760784845}
    [50] => 0
    [compaign_file] => 0
    [51] => u113_66882_18102025_042331PM_978
    [common_name] => u113_66882_18102025_042331PM_978
    [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_58369
    [temp_group_table] => contacts_temp_group_58369
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760785086
    [last_credit_update_time] => 1760785086
    [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 : 66882
\compaign_type : Rans per 30.00314 
ans sms 1044
dnd sms 0

require answer perrequire answer per : 314

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='314', `user_busy_sms`='229', `user_congestion_sms`='39', `user_failed_sms`='162', `user_hangup_sms`='0', `user_no_answer_sms`='300', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66882 LIMIT 1 


Time Diff : 0.258

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760526001'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760526062'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760526121'  
Array
(
    [0] => 66876
    [compaign_id] => 66876
    [1] => u179
    [user_id] => u179
    [2] => 58362,
    [group_ids] => 58362,
    [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] => 1760784300
    [start_date] => 1760784300
    [9] => 0
    [end_date] => 0
    [10] => 918
    [total_sms] => 918
    [11] => 918
    [sent_sms] => 918
    [12] => 0
    [duplicate_sms] => 0
    [13] => 70
    [answered_sms] => 70
    [14] => 110
    [busy_sms] => 110
    [15] => 0
    [congestion_sms] => 0
    [16] => 79
    [failed_sms] => 79
    [17] => 0
    [hangup_sms] => 0
    [18] => 107
    [no_answer_sms] => 107
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 344
    [cutting_sms] => 344
    [22] => 208
    [dnd_sms] => 208
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 70
    [user_answered_sms] => 70
    [27] => 110
    [user_busy_sms] => 110
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 79
    [user_failed_sms] => 79
    [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] => 208
    [user_dnd_sms] => 208
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u179
    [created_by] => u179
    [38] => 1
    [isScheduled] => 1
    [39] => 1760784725
    [create_date] => 1760784725
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760784727,"compaign_read_start_time":1760784727,"compaign_read_complete_time":1760784728,"compaign_send_start_time":1760784781,"compaign_send_complete_time":1760784784}
    [action_time] => {"api_allot_time":1760784727,"compaign_read_start_time":1760784727,"compaign_read_complete_time":1760784728,"compaign_send_start_time":1760784781,"compaign_send_complete_time":1760784784}
    [50] => 0
    [compaign_file] => 0
    [51] => u179_66876_18102025_042205PM_423
    [common_name] => u179_66876_18102025_042205PM_423
    [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_58362
    [temp_group_table] => contacts_temp_group_58362
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [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] => 1760785262
    [last_credit_update_time] => 1760785262
    [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 : 66876
\compaign_type : Rans per 30.77847 
ans sms 918
dnd sms 208

require answer perrequire answer per : 219

user answer per : 70
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_66876 SET user_report='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_66876 SET user_report='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 : 163 no_answer_count : 55 Busy count :42 congestion_count : 20 failed_count : 46UPDATE voice_compaign_detail_66876 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 55 UPDATE voice_compaign_detail_66876 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 42 UPDATE voice_compaign_detail_66876 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 20 UPDATE voice_compaign_detail_66876 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 46 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='219', `user_busy_sms`='195', `user_congestion_sms`='20', `user_failed_sms`='76', `user_hangup_sms`='0', `user_no_answer_sms`='200', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='208' WHERE `compaign_id`=66876 LIMIT 1 


Time Diff : 0.557

Array
(
    [0] => 66878
    [compaign_id] => 66878
    [1] => u179
    [user_id] => u179
    [2] => 58364,
    [group_ids] => 58364,
    [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] => 1760784300
    [start_date] => 1760784300
    [9] => 0
    [end_date] => 0
    [10] => 2280
    [total_sms] => 2280
    [11] => 2280
    [sent_sms] => 2280
    [12] => 0
    [duplicate_sms] => 0
    [13] => 117
    [answered_sms] => 117
    [14] => 521
    [busy_sms] => 521
    [15] => 0
    [congestion_sms] => 0
    [16] => 75
    [failed_sms] => 75
    [17] => 0
    [hangup_sms] => 0
    [18] => 171
    [no_answer_sms] => 171
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 946
    [cutting_sms] => 946
    [22] => 450
    [dnd_sms] => 450
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 117
    [user_answered_sms] => 117
    [27] => 521
    [user_busy_sms] => 521
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 75
    [user_failed_sms] => 75
    [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] => 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] => 1760784739
    [create_date] => 1760784739
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760784740,"compaign_read_start_time":1760784742,"compaign_read_complete_time":1760784746,"compaign_send_start_time":1760784781,"compaign_send_complete_time":1760784786}
    [action_time] => {"api_allot_time":1760784740,"compaign_read_start_time":1760784742,"compaign_read_complete_time":1760784746,"compaign_send_start_time":1760784781,"compaign_send_complete_time":1760784786}
    [50] => 0
    [compaign_file] => 0
    [51] => u179_66878_18102025_042219PM_859
    [common_name] => u179_66878_18102025_042219PM_859
    [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_58364
    [temp_group_table] => contacts_temp_group_58364
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [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] => 1760785262
    [last_credit_update_time] => 1760785262
    [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 : 66878
\compaign_type : Rans per 25.37119 
ans sms 2280
dnd sms 450

require answer perrequire answer per : 465

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='465', `user_busy_sms`='643', `user_congestion_sms`='57', `user_failed_sms`='174', `user_hangup_sms`='0', `user_no_answer_sms`='491', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='450' WHERE `compaign_id`=66878 LIMIT 1 


Time Diff : 0.225

Array
(
    [0] => 66879
    [compaign_id] => 66879
    [1] => u179
    [user_id] => u179
    [2] => 58365,
    [group_ids] => 58365,
    [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] => 1760784300
    [start_date] => 1760784300
    [9] => 0
    [end_date] => 0
    [10] => 2653
    [total_sms] => 2653
    [11] => 2653
    [sent_sms] => 2653
    [12] => 0
    [duplicate_sms] => 0
    [13] => 126
    [answered_sms] => 126
    [14] => 654
    [busy_sms] => 654
    [15] => 0
    [congestion_sms] => 0
    [16] => 136
    [failed_sms] => 136
    [17] => 0
    [hangup_sms] => 0
    [18] => 204
    [no_answer_sms] => 204
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 976
    [cutting_sms] => 976
    [22] => 557
    [dnd_sms] => 557
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 126
    [user_answered_sms] => 126
    [27] => 654
    [user_busy_sms] => 654
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 136
    [user_failed_sms] => 136
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 204
    [user_no_answer_sms] => 204
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 557
    [user_dnd_sms] => 557
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u179
    [created_by] => u179
    [38] => 1
    [isScheduled] => 1
    [39] => 1760784741
    [create_date] => 1760784741
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760784742,"compaign_read_start_time":1760784745,"compaign_read_complete_time":1760784749,"compaign_send_start_time":1760784781,"compaign_send_complete_time":1760784787}
    [action_time] => {"api_allot_time":1760784742,"compaign_read_start_time":1760784745,"compaign_read_complete_time":1760784749,"compaign_send_start_time":1760784781,"compaign_send_complete_time":1760784787}
    [50] => 0
    [compaign_file] => 0
    [51] => u179_66879_18102025_042221PM_810
    [common_name] => u179_66879_18102025_042221PM_810
    [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_58365
    [temp_group_table] => contacts_temp_group_58365
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [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] => 1760785262
    [last_credit_update_time] => 1760785262
    [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 : 66879
\compaign_type : Rans per 27.60297 
ans sms 2653
dnd sms 557

require answer perrequire answer per : 579

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='579', `user_busy_sms`='742', `user_congestion_sms`='49', `user_failed_sms`='167', `user_hangup_sms`='0', `user_no_answer_sms`='559', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='557' WHERE `compaign_id`=66879 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>'1760526182'  
Array
(
    [0] => 66877
    [compaign_id] => 66877
    [1] => u122
    [user_id] => u122
    [2] => 58367,
    [group_ids] => 58367,
    [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] => 1760784738
    [start_date] => 1760784738
    [9] => 0
    [end_date] => 0
    [10] => 164
    [total_sms] => 164
    [11] => 164
    [sent_sms] => 164
    [12] => 0
    [duplicate_sms] => 0
    [13] => 37
    [answered_sms] => 37
    [14] => 11
    [busy_sms] => 11
    [15] => 0
    [congestion_sms] => 0
    [16] => 41
    [failed_sms] => 41
    [17] => 0
    [hangup_sms] => 0
    [18] => 18
    [no_answer_sms] => 18
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 32
    [cutting_sms] => 32
    [22] => 25
    [dnd_sms] => 25
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 37
    [user_answered_sms] => 37
    [27] => 11
    [user_busy_sms] => 11
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 41
    [user_failed_sms] => 41
    [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] => 25
    [user_dnd_sms] => 25
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u122
    [created_by] => u122
    [38] => 0
    [isScheduled] => 0
    [39] => 1760784738
    [create_date] => 1760784738
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760784745,"compaign_read_start_time":1760784781,"compaign_read_complete_time":1760784782,"compaign_send_start_time":1760784842,"compaign_send_complete_time":1760784843}
    [action_time] => {"api_allot_time":1760784745,"compaign_read_start_time":1760784781,"compaign_read_complete_time":1760784782,"compaign_send_start_time":1760784842,"compaign_send_complete_time":1760784843}
    [50] => 0
    [compaign_file] => 0
    [51] => u122_66877_18102025_042223PM_273
    [common_name] => u122_66877_18102025_042223PM_273
    [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_58367
    [temp_group_table] => contacts_temp_group_58367
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => 1760785321
    [last_credit_update_time] => 1760785321
    [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 : 66877
\compaign_type : Rans per 25.12851 
ans sms 164
dnd sms 25

require answer perrequire answer per : 35

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='37', `user_busy_sms`='20', `user_congestion_sms`='4', `user_failed_sms`='49', `user_hangup_sms`='0', `user_no_answer_sms`='29', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='25' WHERE `compaign_id`=66877 LIMIT 1 


Time Diff : 1.982

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


Compaign : 66885
\compaign_type : Rans per 28.98907 
ans sms 319
dnd sms 0

require answer perrequire answer per : 93

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='93', `user_busy_sms`='61', `user_congestion_sms`='8', `user_failed_sms`='57', `user_hangup_sms`='0', `user_no_answer_sms`='100', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66885 LIMIT 1 


Time Diff : 0.887

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


Compaign : 66886
\compaign_type : Rans per 29.07978 
ans sms 3683
dnd sms 0

require answer perrequire answer per : 1072

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='1042', `user_busy_sms`='838', `user_congestion_sms`='135', `user_failed_sms`='744', `user_hangup_sms`='0', `user_no_answer_sms`='924', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66886 LIMIT 1 


Time Diff : 0.077

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760526241'  
Array
(
    [0] => 66887
    [compaign_id] => 66887
    [1] => u22468
    [user_id] => u22468
    [2] => 58373,
    [group_ids] => 58373,
    [3] => 
    [sender_id] => 
    [4] => KHAJA CHUDIGAR.mp3
    [filename] => KHAJA CHUDIGAR.mp3
    [5] => 21
    [duration] => 21
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760785150
    [start_date] => 1760785150
    [9] => 0
    [end_date] => 0
    [10] => 480
    [total_sms] => 480
    [11] => 480
    [sent_sms] => 480
    [12] => 0
    [duplicate_sms] => 0
    [13] => 110
    [answered_sms] => 110
    [14] => 48
    [busy_sms] => 48
    [15] => 0
    [congestion_sms] => 0
    [16] => 24
    [failed_sms] => 24
    [17] => 0
    [hangup_sms] => 0
    [18] => 60
    [no_answer_sms] => 60
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 156
    [cutting_sms] => 156
    [22] => 82
    [dnd_sms] => 82
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 110
    [user_answered_sms] => 110
    [27] => 48
    [user_busy_sms] => 48
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 24
    [user_failed_sms] => 24
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 60
    [user_no_answer_sms] => 60
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 82
    [user_dnd_sms] => 82
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u22468
    [created_by] => u22468
    [38] => 0
    [isScheduled] => 0
    [39] => 1760785150
    [create_date] => 1760785150
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760785156,"compaign_read_start_time":1760785159,"compaign_read_complete_time":1760785160,"compaign_send_start_time":1760785201,"compaign_send_complete_time":1760785203}
    [action_time] => {"api_allot_time":1760785156,"compaign_read_start_time":1760785159,"compaign_read_complete_time":1760785160,"compaign_send_start_time":1760785201,"compaign_send_complete_time":1760785203}
    [50] => 0
    [compaign_file] => 0
    [51] => u22468_66887_18102025_042915PM_482
    [common_name] => u22468_66887_18102025_042915PM_482
    [52] => 1760785150_u22468_voice.wav
    [voice_file] => 1760785150_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_58373
    [temp_group_table] => contacts_temp_group_58373
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760785441
    [last_credit_update_time] => 1760785441
    [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 : 66887
\compaign_type : Rans per 30.98189 
ans sms 480
dnd sms 82

require answer perrequire answer per : 124

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='124', `user_busy_sms`='85', `user_congestion_sms`='17', `user_failed_sms`='64', `user_hangup_sms`='0', `user_no_answer_sms`='108', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='82' WHERE `compaign_id`=66887 LIMIT 1 


Time Diff : 0.467

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760526302'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760526361'  
Array
(
    [0] => 66888
    [compaign_id] => 66888
    [1] => u22468
    [user_id] => u22468
    [2] => 58374,
    [group_ids] => 58374,
    [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] => 1760785288
    [start_date] => 1760785288
    [9] => 0
    [end_date] => 0
    [10] => 274
    [total_sms] => 274
    [11] => 274
    [sent_sms] => 274
    [12] => 0
    [duplicate_sms] => 0
    [13] => 63
    [answered_sms] => 63
    [14] => 31
    [busy_sms] => 31
    [15] => 0
    [congestion_sms] => 0
    [16] => 18
    [failed_sms] => 18
    [17] => 0
    [hangup_sms] => 0
    [18] => 43
    [no_answer_sms] => 43
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 76
    [cutting_sms] => 76
    [22] => 43
    [dnd_sms] => 43
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 63
    [user_answered_sms] => 63
    [27] => 31
    [user_busy_sms] => 31
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 18
    [user_failed_sms] => 18
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 43
    [user_no_answer_sms] => 43
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 43
    [user_dnd_sms] => 43
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u22468
    [created_by] => u22468
    [38] => 0
    [isScheduled] => 0
    [39] => 1760785288
    [create_date] => 1760785288
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760785295,"compaign_read_start_time":1760785298,"compaign_read_complete_time":1760785299,"compaign_send_start_time":1760785321,"compaign_send_complete_time":1760785323}
    [action_time] => {"api_allot_time":1760785295,"compaign_read_start_time":1760785298,"compaign_read_complete_time":1760785299,"compaign_send_start_time":1760785321,"compaign_send_complete_time":1760785323}
    [50] => 0
    [compaign_file] => 0
    [51] => u22468_66888_18102025_043134PM_358
    [common_name] => u22468_66888_18102025_043134PM_358
    [52] => 1760785288_u22468_voice.wav
    [voice_file] => 1760785288_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_58374
    [temp_group_table] => contacts_temp_group_58374
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760785502
    [last_credit_update_time] => 1760785502
    [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 : 66888
\compaign_type : Rans per 30.17148 
ans sms 274
dnd sms 43

require answer perrequire answer per : 70

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='70', `user_busy_sms`='49', `user_congestion_sms`='9', `user_failed_sms`='36', `user_hangup_sms`='0', `user_no_answer_sms`='67', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='43' WHERE `compaign_id`=66888 LIMIT 1 


Time Diff : 0.818

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760526422'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760526481'  
Array
(
    [0] => 66889
    [compaign_id] => 66889
    [1] => u22468
    [user_id] => u22468
    [2] => 58375,
    [group_ids] => 58375,
    [3] => 
    [sender_id] => 
    [4] => AUD-20251016-WA0012.mp3
    [filename] => AUD-20251016-WA0012.mp3
    [5] => 17
    [duration] => 17
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760785321
    [start_date] => 1760785321
    [9] => 0
    [end_date] => 0
    [10] => 274
    [total_sms] => 274
    [11] => 274
    [sent_sms] => 274
    [12] => 0
    [duplicate_sms] => 0
    [13] => 75
    [answered_sms] => 75
    [14] => 28
    [busy_sms] => 28
    [15] => 0
    [congestion_sms] => 0
    [16] => 15
    [failed_sms] => 15
    [17] => 0
    [hangup_sms] => 0
    [18] => 39
    [no_answer_sms] => 39
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 74
    [cutting_sms] => 74
    [22] => 43
    [dnd_sms] => 43
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 75
    [user_answered_sms] => 75
    [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] => 39
    [user_no_answer_sms] => 39
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 43
    [user_dnd_sms] => 43
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u22468
    [created_by] => u22468
    [38] => 0
    [isScheduled] => 0
    [39] => 1760785321
    [create_date] => 1760785321
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760785328,"compaign_read_start_time":1760785330,"compaign_read_complete_time":1760785332,"compaign_send_start_time":1760785382,"compaign_send_complete_time":1760785383}
    [action_time] => {"api_allot_time":1760785328,"compaign_read_start_time":1760785330,"compaign_read_complete_time":1760785332,"compaign_send_start_time":1760785382,"compaign_send_complete_time":1760785383}
    [50] => 0
    [compaign_file] => 0
    [51] => u22468_66889_18102025_043207PM_520
    [common_name] => u22468_66889_18102025_043207PM_520
    [52] => 1760785321_u22468_voice.wav
    [voice_file] => 1760785321_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_58375
    [temp_group_table] => contacts_temp_group_58375
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760785622
    [last_credit_update_time] => 1760785622
    [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 : 66889
\compaign_type : Rans per 28.05543 
ans sms 274
dnd sms 43

require answer perrequire answer per : 65

user answer per : 75
Total Failed : 74 no_answer_count : 25 Busy count :19 congestion_count : 9 failed_count : 21UPDATE voice_compaign_detail_66889 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 25 UPDATE voice_compaign_detail_66889 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 19 UPDATE voice_compaign_detail_66889 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 9 UPDATE voice_compaign_detail_66889 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`='75', `user_busy_sms`='47', `user_congestion_sms`='9', `user_failed_sms`='36', `user_hangup_sms`='0', `user_no_answer_sms`='64', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='43' WHERE `compaign_id`=66889 LIMIT 1 


Time Diff : 1.033

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760526541'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760526602'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760526661'  
Array
(
    [0] => 66890
    [compaign_id] => 66890
    [1] => u22468
    [user_id] => u22468
    [2] => 58376,
    [group_ids] => 58376,
    [3] => 
    [sender_id] => 
    [4] => KHAJA CHUDIGAR.mp3
    [filename] => KHAJA CHUDIGAR.mp3
    [5] => 21
    [duration] => 21
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760785535
    [start_date] => 1760785535
    [9] => 0
    [end_date] => 0
    [10] => 475
    [total_sms] => 475
    [11] => 475
    [sent_sms] => 475
    [12] => 0
    [duplicate_sms] => 0
    [13] => 96
    [answered_sms] => 96
    [14] => 48
    [busy_sms] => 48
    [15] => 0
    [congestion_sms] => 0
    [16] => 30
    [failed_sms] => 30
    [17] => 0
    [hangup_sms] => 0
    [18] => 59
    [no_answer_sms] => 59
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 164
    [cutting_sms] => 164
    [22] => 78
    [dnd_sms] => 78
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 96
    [user_answered_sms] => 96
    [27] => 48
    [user_busy_sms] => 48
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 30
    [user_failed_sms] => 30
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 59
    [user_no_answer_sms] => 59
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 78
    [user_dnd_sms] => 78
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u22468
    [created_by] => u22468
    [38] => 0
    [isScheduled] => 0
    [39] => 1760785535
    [create_date] => 1760785535
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760785541,"compaign_read_start_time":1760785544,"compaign_read_complete_time":1760785545,"compaign_send_start_time":1760785561,"compaign_send_complete_time":1760785563}
    [action_time] => {"api_allot_time":1760785541,"compaign_read_start_time":1760785544,"compaign_read_complete_time":1760785545,"compaign_send_start_time":1760785561,"compaign_send_complete_time":1760785563}
    [50] => 0
    [compaign_file] => 0
    [51] => u22468_66890_18102025_043540PM_332
    [common_name] => u22468_66890_18102025_043540PM_332
    [52] => 1760785535_u22468_voice.wav
    [voice_file] => 1760785535_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_58376
    [temp_group_table] => contacts_temp_group_58376
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760785802
    [last_credit_update_time] => 1760785802
    [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 : 66890
\compaign_type : Rans per 30.53868 
ans sms 475
dnd sms 78

require answer perrequire answer per : 122

user answer per : 96
below is the redis data 26 UPDATE voice_compaign_detail_66890 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 26 Total Failed : 138 no_answer_count : 47 Busy count :36 congestion_count : 17 failed_count : 38UPDATE voice_compaign_detail_66890 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 47 UPDATE voice_compaign_detail_66890 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 36 UPDATE voice_compaign_detail_66890 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 17 UPDATE voice_compaign_detail_66890 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`='122', `user_busy_sms`='84', `user_congestion_sms`='17', `user_failed_sms`='68', `user_hangup_sms`='0', `user_no_answer_sms`='106', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='78' WHERE `compaign_id`=66890 LIMIT 1 


Time Diff : 0.598

Array
(
    [0] => 66891
    [compaign_id] => 66891
    [1] => u22470
    [user_id] => u22470
    [2] => 58377,
    [group_ids] => 58377,
    [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] => 1760785555
    [start_date] => 1760785555
    [9] => 0
    [end_date] => 0
    [10] => 1356
    [total_sms] => 1356
    [11] => 1356
    [sent_sms] => 1356
    [12] => 0
    [duplicate_sms] => 0
    [13] => 139
    [answered_sms] => 139
    [14] => 90
    [busy_sms] => 90
    [15] => 0
    [congestion_sms] => 0
    [16] => 226
    [failed_sms] => 226
    [17] => 0
    [hangup_sms] => 0
    [18] => 234
    [no_answer_sms] => 234
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 667
    [cutting_sms] => 667
    [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] => 90
    [user_busy_sms] => 90
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 226
    [user_failed_sms] => 226
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 234
    [user_no_answer_sms] => 234
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 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] => 1760785554
    [create_date] => 1760785554
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760785563,"compaign_read_start_time":1760785564,"compaign_read_complete_time":1760785566,"compaign_send_start_time":1760785622,"compaign_send_complete_time":1760785631}
    [action_time] => {"api_allot_time":1760785563,"compaign_read_start_time":1760785564,"compaign_read_complete_time":1760785566,"compaign_send_start_time":1760785622,"compaign_send_complete_time":1760785631}
    [50] => 0
    [compaign_file] => 0
    [51] => u22470_66891_18102025_043601PM_784
    [common_name] => u22470_66891_18102025_043601PM_784
    [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_58377
    [temp_group_table] => contacts_temp_group_58377
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760785861
    [last_credit_update_time] => 1760785861
    [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 : 66891
\compaign_type : Rans per 26.30562 
ans sms 1356
dnd sms 0

require answer perrequire answer per : 357

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='357', `user_busy_sms`='206', `user_congestion_sms`='54', `user_failed_sms`='355', `user_hangup_sms`='0', `user_no_answer_sms`='384', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66891 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>'1760526721'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760526781'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760526841'  
Array
(
    [0] => 66896
    [compaign_id] => 66896
    [1] => sr87
    [user_id] => sr87
    [2] => 58382,
    [group_ids] => 58382,
    [3] => 
    [sender_id] => 
    [4] => krishna alankara_mixdown 1.mp3
    [filename] => krishna alankara_mixdown 1.mp3
    [5] => 37
    [duration] => 37
    [6] => 2
    [credits_per_sms] => 2
    [7] => 30
    [user_pulse] => 30
    [8] => 1760785731
    [start_date] => 1760785731
    [9] => 0
    [end_date] => 0
    [10] => 318
    [total_sms] => 318
    [11] => 318
    [sent_sms] => 318
    [12] => 0
    [duplicate_sms] => 0
    [13] => 57
    [answered_sms] => 57
    [14] => 30
    [busy_sms] => 30
    [15] => 0
    [congestion_sms] => 0
    [16] => 58
    [failed_sms] => 58
    [17] => 0
    [hangup_sms] => 0
    [18] => 71
    [no_answer_sms] => 71
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 102
    [cutting_sms] => 102
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 57
    [user_answered_sms] => 57
    [27] => 30
    [user_busy_sms] => 30
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 58
    [user_failed_sms] => 58
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 71
    [user_no_answer_sms] => 71
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => sr87
    [created_by] => sr87
    [38] => 0
    [isScheduled] => 0
    [39] => 1760785731
    [create_date] => 1760785731
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760785744,"compaign_read_start_time":1760785744,"compaign_read_complete_time":1760785745,"compaign_send_start_time":1760785802,"compaign_send_complete_time":1760785808}
    [action_time] => {"api_allot_time":1760785744,"compaign_read_start_time":1760785744,"compaign_read_complete_time":1760785745,"compaign_send_start_time":1760785802,"compaign_send_complete_time":1760785808}
    [50] => 0
    [compaign_file] => 0
    [51] => sr87_66896_18102025_043901PM_242
    [common_name] => sr87_66896_18102025_043901PM_242
    [52] => 1760785018_sr87_voice.wav
    [voice_file] => 1760785018_sr87_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [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_58382
    [temp_group_table] => contacts_temp_group_58382
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760786041
    [last_credit_update_time] => 1760786041
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 214
    [user_voice_plan_id] => 214
    [85] => 11
    [voice_plan_id] => 11
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.14
    [pulse_rate] => 0.14
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [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
    [uphierarchy] => admin,sr27,sr87
    [113] => 
    [extra_params_json] => 
)


Compaign : 66896
\compaign_type : Rans per 30.54178 
ans sms 318
dnd sms 0

require answer perrequire answer per : 98

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='98', `user_busy_sms`='71', `user_congestion_sms`='8', `user_failed_sms`='47', `user_hangup_sms`='0', `user_no_answer_sms`='94', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66896 LIMIT 1 


Time Diff : 0.701

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760526901'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760526962'  
Array
(
    [0] => 66892
    [compaign_id] => 66892
    [1] => u179
    [user_id] => u179
    [2] => 58378,
    [group_ids] => 58378,
    [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] => 1760785200
    [start_date] => 1760785200
    [9] => 0
    [end_date] => 0
    [10] => 699
    [total_sms] => 699
    [11] => 699
    [sent_sms] => 699
    [12] => 0
    [duplicate_sms] => 0
    [13] => 46
    [answered_sms] => 46
    [14] => 81
    [busy_sms] => 81
    [15] => 0
    [congestion_sms] => 0
    [16] => 86
    [failed_sms] => 86
    [17] => 0
    [hangup_sms] => 0
    [18] => 64
    [no_answer_sms] => 64
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 214
    [cutting_sms] => 214
    [22] => 208
    [dnd_sms] => 208
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 46
    [user_answered_sms] => 46
    [27] => 81
    [user_busy_sms] => 81
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 86
    [user_failed_sms] => 86
    [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] => 208
    [user_dnd_sms] => 208
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u179
    [created_by] => u179
    [38] => 1
    [isScheduled] => 1
    [39] => 1760785630
    [create_date] => 1760785630
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760785633,"compaign_read_start_time":1760785634,"compaign_read_complete_time":1760785635,"compaign_send_start_time":1760785681,"compaign_send_complete_time":1760785683}
    [action_time] => {"api_allot_time":1760785633,"compaign_read_start_time":1760785634,"compaign_read_complete_time":1760785635,"compaign_send_start_time":1760785681,"compaign_send_complete_time":1760785683}
    [50] => 0
    [compaign_file] => 0
    [51] => u179_66892_18102025_043712PM_481
    [common_name] => u179_66892_18102025_043712PM_481
    [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_58378
    [temp_group_table] => contacts_temp_group_58378
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [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] => 1760786102
    [last_credit_update_time] => 1760786102
    [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 : 66892
\compaign_type : Rans per 28.46197 
ans sms 699
dnd sms 208

require answer perrequire answer per : 140

user answer per : 46
below is the redis data 94 /n/r
only no answer and busy will be convert, total number require 94 /n/r
UPDATE voice_compaign_detail_66892 SET user_report='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_66892 SET user_report='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 : 111 no_answer_count : 38 Busy count :29 congestion_count : 14 failed_count : 30UPDATE voice_compaign_detail_66892 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 38 UPDATE voice_compaign_detail_66892 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 29 UPDATE voice_compaign_detail_66892 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 14 UPDATE voice_compaign_detail_66892 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 30 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='140', `user_busy_sms`='131', `user_congestion_sms`='14', `user_failed_sms`='77', `user_hangup_sms`='0', `user_no_answer_sms`='129', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='208' WHERE `compaign_id`=66892 LIMIT 1 


Time Diff : 0.664

Array
(
    [0] => 66893
    [compaign_id] => 66893
    [1] => u179
    [user_id] => u179
    [2] => 58380,
    [group_ids] => 58380,
    [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] => 1760785200
    [start_date] => 1760785200
    [9] => 0
    [end_date] => 0
    [10] => 1815
    [total_sms] => 1815
    [11] => 1815
    [sent_sms] => 1815
    [12] => 0
    [duplicate_sms] => 0
    [13] => 51
    [answered_sms] => 51
    [14] => 439
    [busy_sms] => 439
    [15] => 0
    [congestion_sms] => 0
    [16] => 74
    [failed_sms] => 74
    [17] => 0
    [hangup_sms] => 0
    [18] => 125
    [no_answer_sms] => 125
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 676
    [cutting_sms] => 676
    [22] => 450
    [dnd_sms] => 450
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 51
    [user_answered_sms] => 51
    [27] => 439
    [user_busy_sms] => 439
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 74
    [user_failed_sms] => 74
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 125
    [user_no_answer_sms] => 125
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 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] => 1760785634
    [create_date] => 1760785634
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760785637,"compaign_read_start_time":1760785640,"compaign_read_complete_time":1760785643,"compaign_send_start_time":1760785681,"compaign_send_complete_time":1760785684}
    [action_time] => {"api_allot_time":1760785637,"compaign_read_start_time":1760785640,"compaign_read_complete_time":1760785643,"compaign_send_start_time":1760785681,"compaign_send_complete_time":1760785684}
    [50] => 0
    [compaign_file] => 0
    [51] => u179_66893_18102025_043716PM_200
    [common_name] => u179_66893_18102025_043716PM_200
    [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_58380
    [temp_group_table] => contacts_temp_group_58380
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [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] => 1760786102
    [last_credit_update_time] => 1760786102
    [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 : 66893
\compaign_type : Rans per 30.65806 
ans sms 1815
dnd sms 450

require answer perrequire answer per : 419

user answer per : 51
below is the redis data 368 /n/r
only no answer and busy will be convert, total number require 368 /n/r
UPDATE voice_compaign_detail_66893 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 273 UPDATE voice_compaign_detail_66893 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 273 Total Failed : 184 no_answer_count : 62 Busy count :48 congestion_count : 22 failed_count : 52UPDATE voice_compaign_detail_66893 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 62 UPDATE voice_compaign_detail_66893 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 48 UPDATE voice_compaign_detail_66893 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 22 UPDATE voice_compaign_detail_66893 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`='419', `user_busy_sms`='467', `user_congestion_sms`='22', `user_failed_sms`='72', `user_hangup_sms`='0', `user_no_answer_sms`='385', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='450' WHERE `compaign_id`=66893 LIMIT 1 


Time Diff : 0.256

Array
(
    [0] => 66894
    [compaign_id] => 66894
    [1] => u179
    [user_id] => u179
    [2] => 58379,
    [group_ids] => 58379,
    [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] => 1760785200
    [start_date] => 1760785200
    [9] => 0
    [end_date] => 0
    [10] => 2074
    [total_sms] => 2074
    [11] => 2074
    [sent_sms] => 2074
    [12] => 0
    [duplicate_sms] => 0
    [13] => 85
    [answered_sms] => 85
    [14] => 440
    [busy_sms] => 440
    [15] => 0
    [congestion_sms] => 0
    [16] => 138
    [failed_sms] => 138
    [17] => 0
    [hangup_sms] => 0
    [18] => 133
    [no_answer_sms] => 133
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 721
    [cutting_sms] => 721
    [22] => 557
    [dnd_sms] => 557
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 85
    [user_answered_sms] => 85
    [27] => 440
    [user_busy_sms] => 440
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 138
    [user_failed_sms] => 138
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 133
    [user_no_answer_sms] => 133
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 557
    [user_dnd_sms] => 557
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u179
    [created_by] => u179
    [38] => 1
    [isScheduled] => 1
    [39] => 1760785635
    [create_date] => 1760785635
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760785637,"compaign_read_start_time":1760785643,"compaign_read_complete_time":1760785646,"compaign_send_start_time":1760785681,"compaign_send_complete_time":1760785685}
    [action_time] => {"api_allot_time":1760785637,"compaign_read_start_time":1760785643,"compaign_read_complete_time":1760785646,"compaign_send_start_time":1760785681,"compaign_send_complete_time":1760785685}
    [50] => 0
    [compaign_file] => 0
    [51] => u179_66894_18102025_043716PM_824
    [common_name] => u179_66894_18102025_043716PM_824
    [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_58379
    [temp_group_table] => contacts_temp_group_58379
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [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] => 1760786102
    [last_credit_update_time] => 1760786102
    [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 : 66894
\compaign_type : Rans per 25.18283 
ans sms 2074
dnd sms 557

require answer perrequire answer per : 383

user answer per : 85
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_66894 SET user_report='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_66894 SET user_report='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 : 373 no_answer_count : 125 Busy count :96 congestion_count : 45 failed_count : 107UPDATE voice_compaign_detail_66894 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 125 UPDATE voice_compaign_detail_66894 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 96 UPDATE voice_compaign_detail_66894 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 45 UPDATE voice_compaign_detail_66894 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 107 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='383', `user_busy_sms`='530', `user_congestion_sms`='45', `user_failed_sms`='163', `user_hangup_sms`='0', `user_no_answer_sms`='396', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='557' WHERE `compaign_id`=66894 LIMIT 1 


Time Diff : 0.225

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

require answer perrequire answer per : 106

user answer per : 119
Total Failed : 165 no_answer_count : 56 Busy count :43 congestion_count : 20 failed_count : 46UPDATE voice_compaign_detail_66897 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 56 UPDATE voice_compaign_detail_66897 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 43 UPDATE voice_compaign_detail_66897 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 20 UPDATE voice_compaign_detail_66897 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 46 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='119', `user_busy_sms`='91', `user_congestion_sms`='20', `user_failed_sms`='73', `user_hangup_sms`='0', `user_no_answer_sms`='109', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='70' WHERE `compaign_id`=66897 LIMIT 1 


Time Diff : 0.556

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


Compaign : 66898
\compaign_type : Rans per 27.29495 
ans sms 597
dnd sms 0

require answer perrequire answer per : 163

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='163', `user_busy_sms`='129', `user_congestion_sms`='17', `user_failed_sms`='100', `user_hangup_sms`='0', `user_no_answer_sms`='188', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66898 LIMIT 1 


Time Diff : 0.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>'1760527202'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760527261'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760527321'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760527381'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760527441'  
Array
(
    [0] => 66899
    [compaign_id] => 66899
    [1] => u22468
    [user_id] => u22468
    [2] => 58385,
    [group_ids] => 58385,
    [3] => 
    [sender_id] => 
    [4] => KHAJA CHUDIGAR.mp3
    [filename] => KHAJA CHUDIGAR.mp3
    [5] => 21
    [duration] => 21
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760786265
    [start_date] => 1760786265
    [9] => 0
    [end_date] => 0
    [10] => 481
    [total_sms] => 481
    [11] => 481
    [sent_sms] => 481
    [12] => 0
    [duplicate_sms] => 0
    [13] => 108
    [answered_sms] => 108
    [14] => 40
    [busy_sms] => 40
    [15] => 0
    [congestion_sms] => 0
    [16] => 22
    [failed_sms] => 22
    [17] => 0
    [hangup_sms] => 0
    [18] => 80
    [no_answer_sms] => 80
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 148
    [cutting_sms] => 148
    [22] => 83
    [dnd_sms] => 83
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 108
    [user_answered_sms] => 108
    [27] => 40
    [user_busy_sms] => 40
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 22
    [user_failed_sms] => 22
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 80
    [user_no_answer_sms] => 80
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 83
    [user_dnd_sms] => 83
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u22468
    [created_by] => u22468
    [38] => 0
    [isScheduled] => 0
    [39] => 1760786265
    [create_date] => 1760786265
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760786283,"compaign_read_start_time":1760786284,"compaign_read_complete_time":1760786285,"compaign_send_start_time":1760786346,"compaign_send_complete_time":1760786347}
    [action_time] => {"api_allot_time":1760786283,"compaign_read_start_time":1760786284,"compaign_read_complete_time":1760786285,"compaign_send_start_time":1760786346,"compaign_send_complete_time":1760786347}
    [50] => 0
    [compaign_file] => 0
    [51] => u22468_66899_18102025_044802PM_749
    [common_name] => u22468_66899_18102025_044802PM_749
    [52] => 1760786265_u22468_voice.wav
    [voice_file] => 1760786265_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_58385
    [temp_group_table] => contacts_temp_group_58385
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760786581
    [last_credit_update_time] => 1760786581
    [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 : 66899
\compaign_type : Rans per 25.80628 
ans sms 481
dnd sms 83

require answer perrequire answer per : 103

user answer per : 108
Total Failed : 148 no_answer_count : 50 Busy count :38 congestion_count : 18 failed_count : 42UPDATE voice_compaign_detail_66899 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 50 UPDATE voice_compaign_detail_66899 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 38 UPDATE voice_compaign_detail_66899 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 18 UPDATE voice_compaign_detail_66899 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`='108', `user_busy_sms`='78', `user_congestion_sms`='18', `user_failed_sms`='64', `user_hangup_sms`='0', `user_no_answer_sms`='130', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='83' WHERE `compaign_id`=66899 LIMIT 1 


Time Diff : 0.557

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760527502'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760527561'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760527621'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760527681'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760527741'  
Array
(
    [0] => 66902
    [compaign_id] => 66902
    [1] => u22468
    [user_id] => u22468
    [2] => 58388,
    [group_ids] => 58388,
    [3] => 
    [sender_id] => 
    [4] => KHAJA CHUDIGAR.mp3
    [filename] => KHAJA CHUDIGAR.mp3
    [5] => 21
    [duration] => 21
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760786683
    [start_date] => 1760786683
    [9] => 0
    [end_date] => 0
    [10] => 481
    [total_sms] => 481
    [11] => 481
    [sent_sms] => 481
    [12] => 0
    [duplicate_sms] => 0
    [13] => 100
    [answered_sms] => 100
    [14] => 41
    [busy_sms] => 41
    [15] => 0
    [congestion_sms] => 0
    [16] => 16
    [failed_sms] => 16
    [17] => 0
    [hangup_sms] => 0
    [18] => 70
    [no_answer_sms] => 70
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 171
    [cutting_sms] => 171
    [22] => 83
    [dnd_sms] => 83
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 100
    [user_answered_sms] => 100
    [27] => 41
    [user_busy_sms] => 41
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 16
    [user_failed_sms] => 16
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 70
    [user_no_answer_sms] => 70
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 83
    [user_dnd_sms] => 83
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u22468
    [created_by] => u22468
    [38] => 0
    [isScheduled] => 0
    [39] => 1760786683
    [create_date] => 1760786683
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760786689,"compaign_read_start_time":1760786689,"compaign_read_complete_time":1760786690,"compaign_send_start_time":1760786702,"compaign_send_complete_time":1760786703}
    [action_time] => {"api_allot_time":1760786689,"compaign_read_start_time":1760786689,"compaign_read_complete_time":1760786690,"compaign_send_start_time":1760786702,"compaign_send_complete_time":1760786703}
    [50] => 0
    [compaign_file] => 0
    [51] => u22468_66902_18102025_045448PM_701
    [common_name] => u22468_66902_18102025_045448PM_701
    [52] => 1760786683_u22468_voice.wav
    [voice_file] => 1760786683_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_58388
    [temp_group_table] => contacts_temp_group_58388
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760786941
    [last_credit_update_time] => 1760786941
    [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 : 66902
\compaign_type : Rans per 26.29406 
ans sms 481
dnd sms 83

require answer perrequire answer per : 105

user answer per : 100
below is the redis data 5 UPDATE voice_compaign_detail_66902 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 5 Total Failed : 166 no_answer_count : 56 Busy count :43 congestion_count : 20 failed_count : 47UPDATE voice_compaign_detail_66902 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 56 UPDATE voice_compaign_detail_66902 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 43 UPDATE voice_compaign_detail_66902 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 20 UPDATE voice_compaign_detail_66902 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 47 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='105', `user_busy_sms`='84', `user_congestion_sms`='20', `user_failed_sms`='63', `user_hangup_sms`='0', `user_no_answer_sms`='126', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='83' WHERE `compaign_id`=66902 LIMIT 1 


Time Diff : 0.432

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

require answer perrequire answer per : 66

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


Time Diff : 0.821

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760528042'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760528101'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760528162'  
Array
(
    [0] => 66905
    [compaign_id] => 66905
    [1] => u22469
    [user_id] => u22469
    [2] => 58391,
    [group_ids] => 58391,
    [3] => 
    [sender_id] => 
    [4] => WhatsApp Audio 2025-10-18 at 3.33.24 PM (online-audio-converter.com).mp3
    [filename] => WhatsApp Audio 2025-10-18 at 3.33.24 PM (online-audio-converter.com).mp3
    [5] => 22
    [duration] => 22
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760787163
    [start_date] => 1760787163
    [9] => 0
    [end_date] => 0
    [10] => 4071
    [total_sms] => 4071
    [11] => 4071
    [sent_sms] => 4071
    [12] => 0
    [duplicate_sms] => 0
    [13] => 353
    [answered_sms] => 353
    [14] => 209
    [busy_sms] => 209
    [15] => 5
    [congestion_sms] => 5
    [16] => 416
    [failed_sms] => 416
    [17] => 0
    [hangup_sms] => 0
    [18] => 477
    [no_answer_sms] => 477
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 1337
    [cutting_sms] => 1337
    [22] => 1274
    [dnd_sms] => 1274
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 353
    [user_answered_sms] => 353
    [27] => 209
    [user_busy_sms] => 209
    [28] => 5
    [user_congestion_sms] => 5
    [29] => 416
    [user_failed_sms] => 416
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 477
    [user_no_answer_sms] => 477
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 1274
    [user_dnd_sms] => 1274
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u22469
    [created_by] => u22469
    [38] => 0
    [isScheduled] => 0
    [39] => 1760787161
    [create_date] => 1760787161
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760787169,"compaign_read_start_time":1760787170,"compaign_read_complete_time":1760787181,"compaign_send_start_time":1760787182,"compaign_send_complete_time":1760787188}
    [action_time] => {"api_allot_time":1760787169,"compaign_read_start_time":1760787170,"compaign_read_complete_time":1760787181,"compaign_send_start_time":1760787182,"compaign_send_complete_time":1760787188}
    [50] => 0
    [compaign_file] => 0
    [51] => u22469_66905_18102025_050248PM_159
    [common_name] => u22469_66905_18102025_050248PM_159
    [52] => 1760787161_u22469_voice.wav
    [voice_file] => 1760787161_u22469_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [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_58391
    [temp_group_table] => contacts_temp_group_58391
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760787362
    [last_credit_update_time] => 1760787362
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1720
    [user_voice_plan_id] => 1720
    [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,sr53,sr78,u22469
    [uphierarchy] => admin,sr53,sr78,u22469
    [113] => 
    [extra_params_json] => 
)


Compaign : 66905
\compaign_type : Rans per 28.87814 
ans sms 4071
dnd sms 1274

require answer perrequire answer per : 808

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='808', `user_busy_sms`='436', `user_congestion_sms`='109', `user_failed_sms`='672', `user_hangup_sms`='0', `user_no_answer_sms`='772', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='1274' WHERE `compaign_id`=66905 LIMIT 1 


Time Diff : 0.04

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760528221'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760528281'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760528342'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760528401'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760528461'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760528522'  
Array
(
    [0] => 66913
    [compaign_id] => 66913
    [1] => u22468
    [user_id] => u22468
    [2] => 58398,
    [group_ids] => 58398,
    [3] => 
    [sender_id] => 
    [4] => KHASIM SAVANUR.mp3
    [filename] => KHASIM SAVANUR.mp3
    [5] => 22
    [duration] => 22
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760787455
    [start_date] => 1760787455
    [9] => 0
    [end_date] => 0
    [10] => 479
    [total_sms] => 479
    [11] => 479
    [sent_sms] => 479
    [12] => 0
    [duplicate_sms] => 0
    [13] => 119
    [answered_sms] => 119
    [14] => 44
    [busy_sms] => 44
    [15] => 1
    [congestion_sms] => 1
    [16] => 30
    [failed_sms] => 30
    [17] => 0
    [hangup_sms] => 0
    [18] => 51
    [no_answer_sms] => 51
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 152
    [cutting_sms] => 152
    [22] => 82
    [dnd_sms] => 82
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 119
    [user_answered_sms] => 119
    [27] => 44
    [user_busy_sms] => 44
    [28] => 1
    [user_congestion_sms] => 1
    [29] => 30
    [user_failed_sms] => 30
    [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] => 82
    [user_dnd_sms] => 82
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u22468
    [created_by] => u22468
    [38] => 0
    [isScheduled] => 0
    [39] => 1760787455
    [create_date] => 1760787455
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760787463,"compaign_read_start_time":1760787463,"compaign_read_complete_time":1760787464,"compaign_send_start_time":1760787482,"compaign_send_complete_time":1760787483}
    [action_time] => {"api_allot_time":1760787463,"compaign_read_start_time":1760787463,"compaign_read_complete_time":1760787464,"compaign_send_start_time":1760787482,"compaign_send_complete_time":1760787483}
    [50] => 0
    [compaign_file] => 0
    [51] => u22468_66913_18102025_050742PM_502
    [common_name] => u22468_66913_18102025_050742PM_502
    [52] => 1760787455_u22468_voice.wav
    [voice_file] => 1760787455_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_58398
    [temp_group_table] => contacts_temp_group_58398
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760787722
    [last_credit_update_time] => 1760787722
    [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 : 66913
\compaign_type : Rans per 28.23004 
ans sms 479
dnd sms 82

require answer perrequire answer per : 113

user answer per : 119
Total Failed : 152 no_answer_count : 51 Busy count :40 congestion_count : 19 failed_count : 42UPDATE voice_compaign_detail_66913 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 51 UPDATE voice_compaign_detail_66913 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 40 UPDATE voice_compaign_detail_66913 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 19 UPDATE voice_compaign_detail_66913 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`='119', `user_busy_sms`='84', `user_congestion_sms`='20', `user_failed_sms`='72', `user_hangup_sms`='0', `user_no_answer_sms`='102', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='82' WHERE `compaign_id`=66913 LIMIT 1 


Time Diff : 0.47

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760528582'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760528641'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760528702'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760528762'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760528821'  
Array
(
    [0] => 66915
    [compaign_id] => 66915
    [1] => u22468
    [user_id] => u22468
    [2] => 58400,
    [group_ids] => 58400,
    [3] => 
    [sender_id] => 
    [4] => KHASIM SAVANUR.mp3
    [filename] => KHASIM SAVANUR.mp3
    [5] => 22
    [duration] => 22
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760787659
    [start_date] => 1760787659
    [9] => 0
    [end_date] => 0
    [10] => 475
    [total_sms] => 475
    [11] => 475
    [sent_sms] => 475
    [12] => 0
    [duplicate_sms] => 0
    [13] => 98
    [answered_sms] => 98
    [14] => 49
    [busy_sms] => 49
    [15] => 0
    [congestion_sms] => 0
    [16] => 34
    [failed_sms] => 34
    [17] => 0
    [hangup_sms] => 0
    [18] => 61
    [no_answer_sms] => 61
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 155
    [cutting_sms] => 155
    [22] => 78
    [dnd_sms] => 78
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 98
    [user_answered_sms] => 98
    [27] => 49
    [user_busy_sms] => 49
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 34
    [user_failed_sms] => 34
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 61
    [user_no_answer_sms] => 61
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 78
    [user_dnd_sms] => 78
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u22468
    [created_by] => u22468
    [38] => 0
    [isScheduled] => 0
    [39] => 1760787659
    [create_date] => 1760787659
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760787666,"compaign_read_start_time":1760787667,"compaign_read_complete_time":1760787668,"compaign_send_start_time":1760787722,"compaign_send_complete_time":1760787723}
    [action_time] => {"api_allot_time":1760787666,"compaign_read_start_time":1760787667,"compaign_read_complete_time":1760787668,"compaign_send_start_time":1760787722,"compaign_send_complete_time":1760787723}
    [50] => 0
    [compaign_file] => 0
    [51] => u22468_66915_18102025_051105PM_149
    [common_name] => u22468_66915_18102025_051105PM_149
    [52] => 1760787659_u22468_voice.wav
    [voice_file] => 1760787659_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_58400
    [temp_group_table] => contacts_temp_group_58400
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760787962
    [last_credit_update_time] => 1760787962
    [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 : 66915
\compaign_type : Rans per 29.68119 
ans sms 475
dnd sms 78

require answer perrequire answer per : 118

user answer per : 98
below is the redis data 20 UPDATE voice_compaign_detail_66915 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 20 Total Failed : 135 no_answer_count : 46 Busy count :35 congestion_count : 17 failed_count : 37UPDATE voice_compaign_detail_66915 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 46 UPDATE voice_compaign_detail_66915 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 35 UPDATE voice_compaign_detail_66915 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 17 UPDATE voice_compaign_detail_66915 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`='118', `user_busy_sms`='84', `user_congestion_sms`='17', `user_failed_sms`='71', `user_hangup_sms`='0', `user_no_answer_sms`='107', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='78' WHERE `compaign_id`=66915 LIMIT 1 


Time Diff : 0.598

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760528882'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760528941'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760529002'  
Array
(
    [0] => 66912
    [compaign_id] => 66912
    [1] => sr87
    [user_id] => sr87
    [2] => 58397,
    [group_ids] => 58397,
    [3] => 
    [sender_id] => 
    [4] => RAJ RANJITA_CUTTACK_dhanteras25.mp3
    [filename] => RAJ RANJITA_CUTTACK_dhanteras25.mp3
    [5] => 29
    [duration] => 29
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760787423
    [start_date] => 1760787423
    [9] => 0
    [end_date] => 0
    [10] => 434
    [total_sms] => 434
    [11] => 434
    [sent_sms] => 434
    [12] => 0
    [duplicate_sms] => 0
    [13] => 41
    [answered_sms] => 41
    [14] => 20
    [busy_sms] => 20
    [15] => 0
    [congestion_sms] => 0
    [16] => 104
    [failed_sms] => 104
    [17] => 0
    [hangup_sms] => 0
    [18] => 95
    [no_answer_sms] => 95
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 174
    [cutting_sms] => 174
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 41
    [user_answered_sms] => 41
    [27] => 20
    [user_busy_sms] => 20
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 104
    [user_failed_sms] => 104
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 95
    [user_no_answer_sms] => 95
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => sr87
    [created_by] => sr87
    [38] => 0
    [isScheduled] => 0
    [39] => 1760787423
    [create_date] => 1760787423
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760787430,"compaign_read_start_time":1760787433,"compaign_read_complete_time":1760787434,"compaign_send_start_time":1760787482,"compaign_send_complete_time":1760787483}
    [action_time] => {"api_allot_time":1760787430,"compaign_read_start_time":1760787433,"compaign_read_complete_time":1760787434,"compaign_send_start_time":1760787482,"compaign_send_complete_time":1760787483}
    [50] => 0
    [compaign_file] => 0
    [51] => sr87_66912_18102025_050709PM_530
    [common_name] => sr87_66912_18102025_050709PM_530
    [52] => 1760786123_sr87_voice.wav
    [voice_file] => 1760786123_sr87_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_58397
    [temp_group_table] => contacts_temp_group_58397
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => 1760788202
    [last_credit_update_time] => 1760788202
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 214
    [user_voice_plan_id] => 214
    [85] => 11
    [voice_plan_id] => 11
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.14
    [pulse_rate] => 0.14
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [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
    [uphierarchy] => admin,sr27,sr87
    [113] => 
    [extra_params_json] => 
)


Compaign : 66912
\compaign_type : Rans per 30.19406 
ans sms 434
dnd sms 0

require answer perrequire answer per : 132

user answer per : 41
below is the redis data 91 /n/r
only no answer and busy will be convert, total number require 91 /n/r
UPDATE voice_compaign_detail_66912 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 69 UPDATE voice_compaign_detail_66912 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 69 Total Failed : 93 no_answer_count : 32 Busy count :24 congestion_count : 12 failed_count : 25UPDATE voice_compaign_detail_66912 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 32 UPDATE voice_compaign_detail_66912 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 24 UPDATE voice_compaign_detail_66912 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 12 UPDATE voice_compaign_detail_66912 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`='132', `user_busy_sms`='95', `user_congestion_sms`='12', `user_failed_sms`='72', `user_hangup_sms`='0', `user_no_answer_sms`='123', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66912 LIMIT 1 


Time Diff : 0.164

Array
(
    [0] => 66916
    [compaign_id] => 66916
    [1] => u22468
    [user_id] => u22468
    [2] => 58401,
    [group_ids] => 58401,
    [3] => 
    [sender_id] => 
    [4] => KHASIM SAVANUR.mp3
    [filename] => KHASIM SAVANUR.mp3
    [5] => 22
    [duration] => 22
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760787947
    [start_date] => 1760787947
    [9] => 0
    [end_date] => 0
    [10] => 482
    [total_sms] => 482
    [11] => 482
    [sent_sms] => 482
    [12] => 0
    [duplicate_sms] => 0
    [13] => 118
    [answered_sms] => 118
    [14] => 49
    [busy_sms] => 49
    [15] => 0
    [congestion_sms] => 0
    [16] => 28
    [failed_sms] => 28
    [17] => 0
    [hangup_sms] => 0
    [18] => 51
    [no_answer_sms] => 51
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 166
    [cutting_sms] => 166
    [22] => 70
    [dnd_sms] => 70
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 118
    [user_answered_sms] => 118
    [27] => 49
    [user_busy_sms] => 49
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 28
    [user_failed_sms] => 28
    [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] => 70
    [user_dnd_sms] => 70
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u22468
    [created_by] => u22468
    [38] => 0
    [isScheduled] => 0
    [39] => 1760787946
    [create_date] => 1760787946
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760787964,"compaign_read_start_time":1760787965,"compaign_read_complete_time":1760787967,"compaign_send_start_time":1760788021,"compaign_send_complete_time":1760788023}
    [action_time] => {"api_allot_time":1760787964,"compaign_read_start_time":1760787965,"compaign_read_complete_time":1760787967,"compaign_send_start_time":1760788021,"compaign_send_complete_time":1760788023}
    [50] => 0
    [compaign_file] => 0
    [51] => u22468_66916_18102025_051602PM_146
    [common_name] => u22468_66916_18102025_051602PM_146
    [52] => 1760787946_u22468_voice.wav
    [voice_file] => 1760787946_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_58401
    [temp_group_table] => contacts_temp_group_58401
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760788202
    [last_credit_update_time] => 1760788202
    [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 : 66916
\compaign_type : Rans per 29.51013 
ans sms 482
dnd sms 70

require answer perrequire answer per : 122

user answer per : 118
below is the redis data 4 UPDATE voice_compaign_detail_66916 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 4 Total Failed : 162 no_answer_count : 55 Busy count :42 congestion_count : 20 failed_count : 45UPDATE voice_compaign_detail_66916 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 55 UPDATE voice_compaign_detail_66916 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 42 UPDATE voice_compaign_detail_66916 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 20 UPDATE voice_compaign_detail_66916 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`='122', `user_busy_sms`='91', `user_congestion_sms`='20', `user_failed_sms`='73', `user_hangup_sms`='0', `user_no_answer_sms`='106', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='70' WHERE `compaign_id`=66916 LIMIT 1 


Time Diff : 0.342

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760529061'  
Array
(
    [0] => 66909
    [compaign_id] => 66909
    [1] => u20123
    [user_id] => u20123
    [2] => 58394,
    [group_ids] => 58394,
    [3] => 
    [sender_id] => 
    [4] => Audio Tour Package mp3.mp3
    [filename] => Audio Tour Package mp3.mp3
    [5] => 29
    [duration] => 29
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760787309
    [start_date] => 1760787309
    [9] => 0
    [end_date] => 0
    [10] => 27927
    [total_sms] => 27927
    [11] => 27927
    [sent_sms] => 27927
    [12] => 0
    [duplicate_sms] => 0
    [13] => 1050
    [answered_sms] => 1050
    [14] => 1130
    [busy_sms] => 1130
    [15] => 5
    [congestion_sms] => 5
    [16] => 4316
    [failed_sms] => 4316
    [17] => 0
    [hangup_sms] => 0
    [18] => 1390
    [no_answer_sms] => 1390
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 20036
    [cutting_sms] => 20036
    [22] => 0
    [dnd_sms] => 0
    [23] => 1
    [blocked_sms] => 1
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 1050
    [user_answered_sms] => 1050
    [27] => 1130
    [user_busy_sms] => 1130
    [28] => 5
    [user_congestion_sms] => 5
    [29] => 4316
    [user_failed_sms] => 4316
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 1390
    [user_no_answer_sms] => 1390
    [32] => 0
    [user_timeout_duration_sms] => 0
    [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] => 1760787296
    [create_date] => 1760787296
    [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":1760787316,"compaign_read_start_time":1760787319,"compaign_read_complete_time":1760787360,"compaign_send_start_time":1760787362,"compaign_send_complete_time":1760787437}
    [action_time] => {"api_allot_time":1760787316,"compaign_read_start_time":1760787319,"compaign_read_complete_time":1760787360,"compaign_send_start_time":1760787362,"compaign_send_complete_time":1760787437}
    [50] => 0
    [compaign_file] => 0
    [51] => u20123_66909_18102025_050515PM_918
    [common_name] => u20123_66909_18102025_050515PM_918
    [52] => 1760011271_u20123_voice_upload.wav
    [voice_file] => 1760011271_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_58394
    [temp_group_table] => contacts_temp_group_58394
    [61] => 0
    [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] => 1760788202
    [last_credit_update_time] => 1760788202
    [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] => 6
    [dtmf_wait_time] => 6
    [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 : 66909
\compaign_type : Rans per 30.27446 
ans sms 27927
dnd sms 0

require answer perrequire answer per : 8455

user answer per : 1050
below is the redis data 7405 UPDATE voice_compaign_detail_66909 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 7405 Total Failed : 12631 no_answer_count : 4212 Busy count :3242 congestion_count : 1500 failed_count : 3677UPDATE voice_compaign_detail_66909 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 4212 UPDATE voice_compaign_detail_66909 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 3242 UPDATE voice_compaign_detail_66909 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 1500 UPDATE voice_compaign_detail_66909 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 3677 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='8455', `user_busy_sms`='4372', `user_congestion_sms`='1505', `user_failed_sms`='7993', `user_hangup_sms`='0', `user_no_answer_sms`='5602', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66909 LIMIT 1 


Time Diff : 0.031

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760529121'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760529182'  
Array
(
    [0] => 66918
    [compaign_id] => 66918
    [1] => u22468
    [user_id] => u22468
    [2] => 58402,
    [group_ids] => 58402,
    [3] => 
    [sender_id] => 
    [4] => KHASIM SAVANUR.mp3
    [filename] => KHASIM SAVANUR.mp3
    [5] => 22
    [duration] => 22
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760788070
    [start_date] => 1760788070
    [9] => 0
    [end_date] => 0
    [10] => 481
    [total_sms] => 481
    [11] => 481
    [sent_sms] => 481
    [12] => 0
    [duplicate_sms] => 0
    [13] => 99
    [answered_sms] => 99
    [14] => 45
    [busy_sms] => 45
    [15] => 0
    [congestion_sms] => 0
    [16] => 28
    [failed_sms] => 28
    [17] => 0
    [hangup_sms] => 0
    [18] => 58
    [no_answer_sms] => 58
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 168
    [cutting_sms] => 168
    [22] => 83
    [dnd_sms] => 83
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 99
    [user_answered_sms] => 99
    [27] => 45
    [user_busy_sms] => 45
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 28
    [user_failed_sms] => 28
    [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] => 83
    [user_dnd_sms] => 83
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u22468
    [created_by] => u22468
    [38] => 0
    [isScheduled] => 0
    [39] => 1760788070
    [create_date] => 1760788070
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760788083,"compaign_read_start_time":1760788085,"compaign_read_complete_time":1760788086,"compaign_send_start_time":1760788141,"compaign_send_complete_time":1760788143}
    [action_time] => {"api_allot_time":1760788083,"compaign_read_start_time":1760788085,"compaign_read_complete_time":1760788086,"compaign_send_start_time":1760788141,"compaign_send_complete_time":1760788143}
    [50] => 0
    [compaign_file] => 0
    [51] => u22468_66918_18102025_051802PM_594
    [common_name] => u22468_66918_18102025_051802PM_594
    [52] => 1760788070_u22468_voice.wav
    [voice_file] => 1760788070_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_58402
    [temp_group_table] => contacts_temp_group_58402
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760788382
    [last_credit_update_time] => 1760788382
    [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 : 66918
\compaign_type : Rans per 27.16596 
ans sms 481
dnd sms 83

require answer perrequire answer per : 109

user answer per : 99
below is the redis data 10 UPDATE voice_compaign_detail_66918 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 10 Total Failed : 158 no_answer_count : 53 Busy count :41 congestion_count : 19 failed_count : 45UPDATE voice_compaign_detail_66918 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 53 UPDATE voice_compaign_detail_66918 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 41 UPDATE voice_compaign_detail_66918 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 19 UPDATE voice_compaign_detail_66918 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`='109', `user_busy_sms`='86', `user_congestion_sms`='19', `user_failed_sms`='73', `user_hangup_sms`='0', `user_no_answer_sms`='111', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='83' WHERE `compaign_id`=66918 LIMIT 1 


Time Diff : 0.468

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760529241'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760529301'  
Array
(
    [0] => 66906
    [compaign_id] => 66906
    [1] => u20123
    [user_id] => u20123
    [2] => 58392,
    [group_ids] => 58392,
    [3] => 
    [sender_id] => 
    [4] => Audio Tour Package mp3.mp3
    [filename] => Audio Tour Package mp3.mp3
    [5] => 30
    [duration] => 30
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760787252
    [start_date] => 1760787252
    [9] => 0
    [end_date] => 0
    [10] => 49140
    [total_sms] => 49140
    [11] => 49140
    [sent_sms] => 49140
    [12] => 0
    [duplicate_sms] => 0
    [13] => 1740
    [answered_sms] => 1740
    [14] => 2048
    [busy_sms] => 2048
    [15] => 9
    [congestion_sms] => 9
    [16] => 5135
    [failed_sms] => 5135
    [17] => 0
    [hangup_sms] => 0
    [18] => 1960
    [no_answer_sms] => 1960
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 38248
    [cutting_sms] => 38248
    [22] => 0
    [dnd_sms] => 0
    [23] => 2
    [blocked_sms] => 2
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 1740
    [user_answered_sms] => 1740
    [27] => 2048
    [user_busy_sms] => 2048
    [28] => 9
    [user_congestion_sms] => 9
    [29] => 5135
    [user_failed_sms] => 5135
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 1960
    [user_no_answer_sms] => 1960
    [32] => 0
    [user_timeout_duration_sms] => 0
    [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] => 1760787228
    [create_date] => 1760787228
    [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":1760787259,"compaign_read_start_time":1760787260,"compaign_read_complete_time":1760787331,"compaign_send_start_time":1760787362,"compaign_send_complete_time":1760787498}
    [action_time] => {"api_allot_time":1760787259,"compaign_read_start_time":1760787260,"compaign_read_complete_time":1760787331,"compaign_send_start_time":1760787362,"compaign_send_complete_time":1760787498}
    [50] => 0
    [compaign_file] => 0
    [51] => u20123_66906_18102025_050418PM_638
    [common_name] => u20123_66906_18102025_050418PM_638
    [52] => 1760011271_u20123_voice_upload.wav
    [voice_file] => 1760011271_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_58392
    [temp_group_table] => contacts_temp_group_58392
    [61] => 0
    [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] => 1760788442
    [last_credit_update_time] => 1760788442
    [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 : 66906
\compaign_type : Rans per 27.29123 
ans sms 49140
dnd sms 0

require answer perrequire answer per : 13411

user answer per : 1740
below is the redis data 11671 UPDATE voice_compaign_detail_66906 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 11671 Total Failed : 26578 no_answer_count : 8862 Busy count :6820 congestion_count : 3155 failed_count : 7741UPDATE voice_compaign_detail_66906 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 8862 UPDATE voice_compaign_detail_66906 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 6820 UPDATE voice_compaign_detail_66906 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 3155 UPDATE voice_compaign_detail_66906 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 7741 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='13411', `user_busy_sms`='8868', `user_congestion_sms`='3163', `user_failed_sms`='12876', `user_hangup_sms`='0', `user_no_answer_sms`='10822', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66906 LIMIT 1 


Time Diff : 0.023

Array
(
    [0] => 66911
    [compaign_id] => 66911
    [1] => sr87
    [user_id] => sr87
    [2] => 58396,
    [group_ids] => 58396,
    [3] => 
    [sender_id] => 
    [4] => krishna alankara_mixdown 1.mp3
    [filename] => krishna alankara_mixdown 1.mp3
    [5] => 37
    [duration] => 37
    [6] => 2
    [credits_per_sms] => 2
    [7] => 30
    [user_pulse] => 30
    [8] => 1760787422
    [start_date] => 1760787422
    [9] => 0
    [end_date] => 0
    [10] => 220
    [total_sms] => 220
    [11] => 220
    [sent_sms] => 220
    [12] => 0
    [duplicate_sms] => 0
    [13] => 28
    [answered_sms] => 28
    [14] => 21
    [busy_sms] => 21
    [15] => 0
    [congestion_sms] => 0
    [16] => 76
    [failed_sms] => 76
    [17] => 0
    [hangup_sms] => 0
    [18] => 41
    [no_answer_sms] => 41
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 54
    [cutting_sms] => 54
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 28
    [user_answered_sms] => 28
    [27] => 21
    [user_busy_sms] => 21
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 76
    [user_failed_sms] => 76
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 41
    [user_no_answer_sms] => 41
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => sr87
    [created_by] => sr87
    [38] => 0
    [isScheduled] => 0
    [39] => 1760787422
    [create_date] => 1760787422
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760787429,"compaign_read_start_time":1760787430,"compaign_read_complete_time":1760787430,"compaign_send_start_time":1760787482,"compaign_send_complete_time":1760787483}
    [action_time] => {"api_allot_time":1760787429,"compaign_read_start_time":1760787430,"compaign_read_complete_time":1760787430,"compaign_send_start_time":1760787482,"compaign_send_complete_time":1760787483}
    [50] => 0
    [compaign_file] => 0
    [51] => sr87_66911_18102025_050707PM_276
    [common_name] => sr87_66911_18102025_050707PM_276
    [52] => 1760785018_sr87_voice.wav
    [voice_file] => 1760785018_sr87_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_58396
    [temp_group_table] => contacts_temp_group_58396
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => 1760788441
    [last_credit_update_time] => 1760788441
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 214
    [user_voice_plan_id] => 214
    [85] => 11
    [voice_plan_id] => 11
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.14
    [pulse_rate] => 0.14
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [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
    [uphierarchy] => admin,sr27,sr87
    [113] => 
    [extra_params_json] => 
)


Compaign : 66911
\compaign_type : Rans per 29.46978 
ans sms 220
dnd sms 0

require answer perrequire answer per : 65

user answer per : 28
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_66911 SET user_report='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_66911 SET user_report='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 : 29 no_answer_count : 10 Busy count :8 congestion_count : 4 failed_count : 7UPDATE voice_compaign_detail_66911 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 10 UPDATE voice_compaign_detail_66911 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 8 UPDATE voice_compaign_detail_66911 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 4 UPDATE voice_compaign_detail_66911 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`='65', `user_busy_sms`='45', `user_congestion_sms`='4', `user_failed_sms`='50', `user_hangup_sms`='0', `user_no_answer_sms`='56', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66911 LIMIT 1 


Time Diff : 1.85

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760529361'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760529421'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760529481'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760529542'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760529601'  
Array
(
    [0] => 66919
    [compaign_id] => 66919
    [1] => u22468
    [user_id] => u22468
    [2] => 58403,
    [group_ids] => 58403,
    [3] => 
    [sender_id] => 
    [4] => KHASIM SAVANUR.mp3
    [filename] => KHASIM SAVANUR.mp3
    [5] => 22
    [duration] => 22
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760788461
    [start_date] => 1760788461
    [9] => 0
    [end_date] => 0
    [10] => 274
    [total_sms] => 274
    [11] => 274
    [sent_sms] => 274
    [12] => 0
    [duplicate_sms] => 0
    [13] => 53
    [answered_sms] => 53
    [14] => 35
    [busy_sms] => 35
    [15] => 0
    [congestion_sms] => 0
    [16] => 16
    [failed_sms] => 16
    [17] => 0
    [hangup_sms] => 0
    [18] => 48
    [no_answer_sms] => 48
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 79
    [cutting_sms] => 79
    [22] => 43
    [dnd_sms] => 43
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 53
    [user_answered_sms] => 53
    [27] => 35
    [user_busy_sms] => 35
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 16
    [user_failed_sms] => 16
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 48
    [user_no_answer_sms] => 48
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 43
    [user_dnd_sms] => 43
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u22468
    [created_by] => u22468
    [38] => 0
    [isScheduled] => 0
    [39] => 1760788461
    [create_date] => 1760788461
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760788469,"compaign_read_start_time":1760788471,"compaign_read_complete_time":1760788472,"compaign_send_start_time":1760788502,"compaign_send_complete_time":1760788503}
    [action_time] => {"api_allot_time":1760788469,"compaign_read_start_time":1760788471,"compaign_read_complete_time":1760788472,"compaign_send_start_time":1760788502,"compaign_send_complete_time":1760788503}
    [50] => 0
    [compaign_file] => 0
    [51] => u22468_66919_18102025_052427PM_594
    [common_name] => u22468_66919_18102025_052427PM_594
    [52] => 1760788461_u22468_voice.wav
    [voice_file] => 1760788461_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_58403
    [temp_group_table] => contacts_temp_group_58403
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760788742
    [last_credit_update_time] => 1760788742
    [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 : 66919
\compaign_type : Rans per 26.61824 
ans sms 274
dnd sms 43

require answer perrequire answer per : 62

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='62', `user_busy_sms`='53', `user_congestion_sms`='9', `user_failed_sms`='35', `user_hangup_sms`='0', `user_no_answer_sms`='72', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='43' WHERE `compaign_id`=66919 LIMIT 1 


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


Compaign : 66921
\compaign_type : Rans per 28.19145 
ans sms 1886
dnd sms 743

require answer perrequire answer per : 323

user answer per : 91
below is the redis data 232 UPDATE voice_compaign_detail_66921 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 232 Total Failed : 305 no_answer_count : 102 Busy count :79 congestion_count : 37 failed_count : 87UPDATE voice_compaign_detail_66921 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 102 UPDATE voice_compaign_detail_66921 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 79 UPDATE voice_compaign_detail_66921 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 37 UPDATE voice_compaign_detail_66921 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`='323', `user_busy_sms`='204', `user_congestion_sms`='39', `user_failed_sms`='326', `user_hangup_sms`='0', `user_no_answer_sms`='251', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='743' WHERE `compaign_id`=66921 LIMIT 1 


Time Diff : 0.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>'1760529842'  
Array
(
    [0] => 66922
    [compaign_id] => 66922
    [1] => u179
    [user_id] => u179
    [2] => 58405,
    [group_ids] => 58405,
    [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] => 1760788667
    [start_date] => 1760788667
    [9] => 0
    [end_date] => 0
    [10] => 4754
    [total_sms] => 4754
    [11] => 4754
    [sent_sms] => 4754
    [12] => 0
    [duplicate_sms] => 0
    [13] => 279
    [answered_sms] => 279
    [14] => 1195
    [busy_sms] => 1195
    [15] => 0
    [congestion_sms] => 0
    [16] => 181
    [failed_sms] => 181
    [17] => 0
    [hangup_sms] => 0
    [18] => 393
    [no_answer_sms] => 393
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 1962
    [cutting_sms] => 1962
    [22] => 744
    [dnd_sms] => 744
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 279
    [user_answered_sms] => 279
    [27] => 1195
    [user_busy_sms] => 1195
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 181
    [user_failed_sms] => 181
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 393
    [user_no_answer_sms] => 393
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 744
    [user_dnd_sms] => 744
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u179
    [created_by] => u179
    [38] => 0
    [isScheduled] => 0
    [39] => 1760788664
    [create_date] => 1760788664
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760788683,"compaign_read_start_time":1760788685,"compaign_read_complete_time":1760788695,"compaign_send_start_time":1760788742,"compaign_send_complete_time":1760788751}
    [action_time] => {"api_allot_time":1760788683,"compaign_read_start_time":1760788685,"compaign_read_complete_time":1760788695,"compaign_send_start_time":1760788742,"compaign_send_complete_time":1760788751}
    [50] => 0
    [compaign_file] => 0
    [51] => u179_66922_18102025_052802PM_273
    [common_name] => u179_66922_18102025_052802PM_273
    [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_58405
    [temp_group_table] => contacts_temp_group_58405
    [61] => 0
    [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] => 1760788802
    [reschedule_last_check_time] => 1760788802
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760788981
    [last_credit_update_time] => 1760788981
    [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":1760790600,"2":1760791500,"3":1760792400}
    [rt_time] => {"1":1760790600,"2":1760791500,"3":1760792400}
    [104] => 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 : 66922
\compaign_type : Rans per 25.24976 
ans sms 4754
dnd sms 744

require answer perrequire answer per : 1013

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='1013', `user_busy_sms`='1434', `user_congestion_sms`='115', `user_failed_sms`='358', `user_hangup_sms`='0', `user_no_answer_sms`='1090', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='744' WHERE `compaign_id`=66922 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>'1760529901'  
Array
(
    [0] => 66923
    [compaign_id] => 66923
    [1] => u22468
    [user_id] => u22468
    [2] => 58406,
    [group_ids] => 58406,
    [3] => 
    [sender_id] => 
    [4] => AUD-20251016-WA0012.mp3
    [filename] => AUD-20251016-WA0012.mp3
    [5] => 17
    [duration] => 17
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760788803
    [start_date] => 1760788803
    [9] => 0
    [end_date] => 0
    [10] => 476
    [total_sms] => 476
    [11] => 476
    [sent_sms] => 476
    [12] => 0
    [duplicate_sms] => 0
    [13] => 110
    [answered_sms] => 110
    [14] => 41
    [busy_sms] => 41
    [15] => 0
    [congestion_sms] => 0
    [16] => 25
    [failed_sms] => 25
    [17] => 0
    [hangup_sms] => 0
    [18] => 54
    [no_answer_sms] => 54
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 164
    [cutting_sms] => 164
    [22] => 82
    [dnd_sms] => 82
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 110
    [user_answered_sms] => 110
    [27] => 41
    [user_busy_sms] => 41
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 25
    [user_failed_sms] => 25
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 54
    [user_no_answer_sms] => 54
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 82
    [user_dnd_sms] => 82
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u22468
    [created_by] => u22468
    [38] => 0
    [isScheduled] => 0
    [39] => 1760788803
    [create_date] => 1760788803
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760788810,"compaign_read_start_time":1760788813,"compaign_read_complete_time":1760788814,"compaign_send_start_time":1760788862,"compaign_send_complete_time":1760788863}
    [action_time] => {"api_allot_time":1760788810,"compaign_read_start_time":1760788813,"compaign_read_complete_time":1760788814,"compaign_send_start_time":1760788862,"compaign_send_complete_time":1760788863}
    [50] => 0
    [compaign_file] => 0
    [51] => u22468_66923_18102025_053009PM_631
    [common_name] => u22468_66923_18102025_053009PM_631
    [52] => 1760788803_u22468_voice.wav
    [voice_file] => 1760788803_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_58406
    [temp_group_table] => contacts_temp_group_58406
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760789101
    [last_credit_update_time] => 1760789101
    [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 : 66923
\compaign_type : Rans per 28.80925 
ans sms 476
dnd sms 82

require answer perrequire answer per : 114

user answer per : 110
below is the redis data 4 UPDATE voice_compaign_detail_66923 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 4 Total Failed : 160 no_answer_count : 54 Busy count :42 congestion_count : 19 failed_count : 45UPDATE voice_compaign_detail_66923 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 54 UPDATE voice_compaign_detail_66923 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 42 UPDATE voice_compaign_detail_66923 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 19 UPDATE voice_compaign_detail_66923 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`='114', `user_busy_sms`='83', `user_congestion_sms`='19', `user_failed_sms`='70', `user_hangup_sms`='0', `user_no_answer_sms`='108', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='82' WHERE `compaign_id`=66923 LIMIT 1 


Time Diff : 0.468

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


Compaign : 66924
\compaign_type : Rans per 27.67999 
ans sms 1258
dnd sms 743

require answer perrequire answer per : 143

user answer per : 24
below is the redis data 119 UPDATE voice_compaign_detail_66924 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 119 Total Failed : 116 no_answer_count : 39 Busy count :30 congestion_count : 14 failed_count : 33UPDATE voice_compaign_detail_66924 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 39 UPDATE voice_compaign_detail_66924 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 30 UPDATE voice_compaign_detail_66924 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 14 UPDATE voice_compaign_detail_66924 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`='143', `user_busy_sms`='94', `user_congestion_sms`='14', `user_failed_sms`='161', `user_hangup_sms`='0', `user_no_answer_sms`='103', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='743' WHERE `compaign_id`=66924 LIMIT 1 


Time Diff : 0.177

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

require answer perrequire answer per : 118

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='118', `user_busy_sms`='90', `user_congestion_sms`='17', `user_failed_sms`='70', `user_hangup_sms`='0', `user_no_answer_sms`='102', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='78' WHERE `compaign_id`=66925 LIMIT 1 


Time Diff : 0.469

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


Compaign : 66927
\compaign_type : Rans per 28.37903 
ans sms 260
dnd sms 44

require answer perrequire answer per : 62

user answer per : 51
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_66927 SET user_report='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_66927 SET user_report='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 : 59 no_answer_count : 20 Busy count :16 congestion_count : 8 failed_count : 15UPDATE voice_compaign_detail_66927 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 20 UPDATE voice_compaign_detail_66927 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 16 UPDATE voice_compaign_detail_66927 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 8 UPDATE voice_compaign_detail_66927 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`='62', `user_busy_sms`='47', `user_congestion_sms`='8', `user_failed_sms`='42', `user_hangup_sms`='0', `user_no_answer_sms`='57', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='44' WHERE `compaign_id`=66927 LIMIT 1 


Time Diff : 0.796

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760530621'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760530681'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760530742'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760530801'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760530861'  
Array
(
    [0] => 66928
    [compaign_id] => 66928
    [1] => u22468
    [user_id] => u22468
    [2] => 58411,
    [group_ids] => 58411,
    [3] => 
    [sender_id] => 
    [4] => SALEEM AHMED mp3.mp3(2)
    [filename] => SALEEM AHMED mp3.mp3(2)
    [5] => 24
    [duration] => 24
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760789721
    [start_date] => 1760789721
    [9] => 0
    [end_date] => 0
    [10] => 462
    [total_sms] => 462
    [11] => 462
    [sent_sms] => 462
    [12] => 0
    [duplicate_sms] => 0
    [13] => 103
    [answered_sms] => 103
    [14] => 40
    [busy_sms] => 40
    [15] => 0
    [congestion_sms] => 0
    [16] => 25
    [failed_sms] => 25
    [17] => 0
    [hangup_sms] => 0
    [18] => 50
    [no_answer_sms] => 50
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 165
    [cutting_sms] => 165
    [22] => 79
    [dnd_sms] => 79
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 103
    [user_answered_sms] => 103
    [27] => 40
    [user_busy_sms] => 40
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 25
    [user_failed_sms] => 25
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 50
    [user_no_answer_sms] => 50
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 79
    [user_dnd_sms] => 79
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u22468
    [created_by] => u22468
    [38] => 0
    [isScheduled] => 0
    [39] => 1760789720
    [create_date] => 1760789720
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760789727,"compaign_read_start_time":1760789728,"compaign_read_complete_time":1760789729,"compaign_send_start_time":1760789762,"compaign_send_complete_time":1760789763}
    [action_time] => {"api_allot_time":1760789727,"compaign_read_start_time":1760789728,"compaign_read_complete_time":1760789729,"compaign_send_start_time":1760789762,"compaign_send_complete_time":1760789763}
    [50] => 0
    [compaign_file] => 0
    [51] => u22468_66928_18102025_054526PM_874
    [common_name] => u22468_66928_18102025_054526PM_874
    [52] => 1760767341_u22468_voice.wav
    [voice_file] => 1760767341_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_58411
    [temp_group_table] => contacts_temp_group_58411
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760790001
    [last_credit_update_time] => 1760790001
    [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 : 66928
\compaign_type : Rans per 30.96846 
ans sms 462
dnd sms 79

require answer perrequire answer per : 119

user answer per : 103
below is the redis data 16 UPDATE voice_compaign_detail_66928 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 16 Total Failed : 149 no_answer_count : 50 Busy count :39 congestion_count : 18 failed_count : 42UPDATE voice_compaign_detail_66928 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 50 UPDATE voice_compaign_detail_66928 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 39 UPDATE voice_compaign_detail_66928 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 18 UPDATE voice_compaign_detail_66928 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`='119', `user_busy_sms`='79', `user_congestion_sms`='18', `user_failed_sms`='67', `user_hangup_sms`='0', `user_no_answer_sms`='100', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='79' WHERE `compaign_id`=66928 LIMIT 1 


Time Diff : 0.613

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760530922'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760530981'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760531042'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760531101'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760531162'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760531222'  
Array
(
    [0] => 66930
    [compaign_id] => 66930
    [1] => u86
    [user_id] => u86
    [2] => 58413,
    [group_ids] => 58413,
    [3] => 
    [sender_id] => 
    [4] => aadharsh vidhyamandir.mp3
    [filename] => aadharsh vidhyamandir.mp3
    [5] => 35
    [duration] => 35
    [6] => 2
    [credits_per_sms] => 2
    [7] => 30
    [user_pulse] => 30
    [8] => 1760790123
    [start_date] => 1760790123
    [9] => 0
    [end_date] => 0
    [10] => 198
    [total_sms] => 198
    [11] => 198
    [sent_sms] => 198
    [12] => 0
    [duplicate_sms] => 0
    [13] => 25
    [answered_sms] => 25
    [14] => 26
    [busy_sms] => 26
    [15] => 0
    [congestion_sms] => 0
    [16] => 47
    [failed_sms] => 47
    [17] => 0
    [hangup_sms] => 0
    [18] => 20
    [no_answer_sms] => 20
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 36
    [cutting_sms] => 36
    [22] => 44
    [dnd_sms] => 44
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 25
    [user_answered_sms] => 25
    [27] => 26
    [user_busy_sms] => 26
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 47
    [user_failed_sms] => 47
    [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] => 44
    [user_dnd_sms] => 44
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u86
    [created_by] => u86
    [38] => 0
    [isScheduled] => 0
    [39] => 1760790123
    [create_date] => 1760790123
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760790129,"compaign_read_start_time":1760790131,"compaign_read_complete_time":1760790131,"compaign_send_start_time":1760790182,"compaign_send_complete_time":1760790183}
    [action_time] => {"api_allot_time":1760790129,"compaign_read_start_time":1760790131,"compaign_read_complete_time":1760790131,"compaign_send_start_time":1760790182,"compaign_send_complete_time":1760790183}
    [50] => 0
    [compaign_file] => 0
    [51] => u86_66930_18102025_055208PM_741
    [common_name] => u86_66930_18102025_055208PM_741
    [52] => 1760789472_u86_voice.wav
    [voice_file] => 1760789472_u86_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_58413
    [temp_group_table] => contacts_temp_group_58413
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [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] => 1760790422
    [last_credit_update_time] => 1760790422
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 161
    [user_voice_plan_id] => 161
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.19
    [pulse_rate] => 0.19
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":"2","FFL":"2"}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":"2","FFL":"2"}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr3,u86
    [uphierarchy] => admin,sr3,u86
    [113] => 
    [extra_params_json] => 
)


Compaign : 66930
\compaign_type : Rans per 28.38945 
ans sms 198
dnd sms 44

require answer perrequire answer per : 44

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='44', `user_busy_sms`='38', `user_congestion_sms`='3', `user_failed_sms`='34', `user_hangup_sms`='0', `user_no_answer_sms`='35', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='44' WHERE `compaign_id`=66930 LIMIT 1 


Time Diff : 1.045

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760531281'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760531342'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760531401'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760531462'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760531521'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760531582'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760531642'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760531701'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760531761'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760531821'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760531881'  
Array
(
    [0] => 66932
    [compaign_id] => 66932
    [1] => u86
    [user_id] => u86
    [2] => 58415,
    [group_ids] => 58415,
    [3] => 
    [sender_id] => 
    [4] => aadharsh vidhyamandir.mp3
    [filename] => aadharsh vidhyamandir.mp3
    [5] => 35
    [duration] => 35
    [6] => 2
    [credits_per_sms] => 2
    [7] => 30
    [user_pulse] => 30
    [8] => 1760790722
    [start_date] => 1760790722
    [9] => 0
    [end_date] => 0
    [10] => 154
    [total_sms] => 154
    [11] => 154
    [sent_sms] => 154
    [12] => 0
    [duplicate_sms] => 0
    [13] => 9
    [answered_sms] => 9
    [14] => 13
    [busy_sms] => 13
    [15] => 0
    [congestion_sms] => 0
    [16] => 46
    [failed_sms] => 46
    [17] => 0
    [hangup_sms] => 0
    [18] => 19
    [no_answer_sms] => 19
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 23
    [cutting_sms] => 23
    [22] => 44
    [dnd_sms] => 44
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 9
    [user_answered_sms] => 9
    [27] => 13
    [user_busy_sms] => 13
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 46
    [user_failed_sms] => 46
    [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] => 44
    [user_dnd_sms] => 44
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u86
    [created_by] => u86
    [38] => 0
    [isScheduled] => 0
    [39] => 1760790722
    [create_date] => 1760790722
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760790728,"compaign_read_start_time":1760790730,"compaign_read_complete_time":1760790731,"compaign_send_start_time":1760790782,"compaign_send_complete_time":1760790783}
    [action_time] => {"api_allot_time":1760790728,"compaign_read_start_time":1760790730,"compaign_read_complete_time":1760790731,"compaign_send_start_time":1760790782,"compaign_send_complete_time":1760790783}
    [50] => 0
    [compaign_file] => 0
    [51] => u86_66932_18102025_060207PM_577
    [common_name] => u86_66932_18102025_060207PM_577
    [52] => 1760789472_u86_voice.wav
    [voice_file] => 1760789472_u86_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_58415
    [temp_group_table] => contacts_temp_group_58415
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [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] => 1760791022
    [last_credit_update_time] => 1760791022
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 161
    [user_voice_plan_id] => 161
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.19
    [pulse_rate] => 0.19
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":"2","FFL":"2"}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":"2","FFL":"2"}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr3,u86
    [uphierarchy] => admin,sr3,u86
    [113] => 
    [extra_params_json] => 
)


Compaign : 66932
\compaign_type : Rans per 27.78533 
ans sms 154
dnd sms 44

require answer perrequire answer per : 31

user answer per : 9
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_66932 SET user_report='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_66932 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 17 Total Failed : 10 no_answer_count : 4 Busy count :3 congestion_count : 2 failed_count : 1UPDATE voice_compaign_detail_66932 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 4 UPDATE voice_compaign_detail_66932 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 3 UPDATE voice_compaign_detail_66932 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 2 UPDATE voice_compaign_detail_66932 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 1 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='31', `user_busy_sms`='26', `user_congestion_sms`='2', `user_failed_sms`='26', `user_hangup_sms`='0', `user_no_answer_sms`='25', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='44' WHERE `compaign_id`=66932 LIMIT 1 


Time Diff : 1.838

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


Compaign : 66933
\compaign_type : Rans per 29.86888 
ans sms 1115
dnd sms 743

require answer perrequire answer per : 112

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='112', `user_busy_sms`='73', `user_congestion_sms`='9', `user_failed_sms`='116', `user_hangup_sms`='0', `user_no_answer_sms`='62', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='743' WHERE `compaign_id`=66933 LIMIT 1 


Time Diff : 0.254

Array
(
    [0] => 66934
    [compaign_id] => 66934
    [1] => u22469
    [user_id] => u22469
    [2] => 58417,
    [group_ids] => 58417,
    [3] => 
    [sender_id] => 
    [4] => WhatsApp Audio 2025-10-18 at 3.33.24 PM (online-audio-converter.com).mp3
    [filename] => WhatsApp Audio 2025-10-18 at 3.33.24 PM (online-audio-converter.com).mp3
    [5] => 22
    [duration] => 22
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760790734
    [start_date] => 1760790734
    [9] => 0
    [end_date] => 0
    [10] => 3263
    [total_sms] => 3263
    [11] => 3263
    [sent_sms] => 3263
    [12] => 0
    [duplicate_sms] => 0
    [13] => 198
    [answered_sms] => 198
    [14] => 188
    [busy_sms] => 188
    [15] => 0
    [congestion_sms] => 0
    [16] => 329
    [failed_sms] => 329
    [17] => 0
    [hangup_sms] => 0
    [18] => 357
    [no_answer_sms] => 357
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 917
    [cutting_sms] => 917
    [22] => 1274
    [dnd_sms] => 1274
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 198
    [user_answered_sms] => 198
    [27] => 188
    [user_busy_sms] => 188
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 329
    [user_failed_sms] => 329
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 357
    [user_no_answer_sms] => 357
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 1274
    [user_dnd_sms] => 1274
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u22469
    [created_by] => u22469
    [38] => 0
    [isScheduled] => 0
    [39] => 1760790734
    [create_date] => 1760790734
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760790740,"compaign_read_start_time":1760790742,"compaign_read_complete_time":1760790753,"compaign_send_start_time":1760790782,"compaign_send_complete_time":1760790796}
    [action_time] => {"api_allot_time":1760790740,"compaign_read_start_time":1760790742,"compaign_read_complete_time":1760790753,"compaign_send_start_time":1760790782,"compaign_send_complete_time":1760790796}
    [50] => 0
    [compaign_file] => 0
    [51] => u22469_66934_18102025_060219PM_333
    [common_name] => u22469_66934_18102025_060219PM_333
    [52] => 1760787161_u22469_voice.wav
    [voice_file] => 1760787161_u22469_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_58417
    [temp_group_table] => contacts_temp_group_58417
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760791022
    [last_credit_update_time] => 1760791022
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1720
    [user_voice_plan_id] => 1720
    [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,sr53,sr78,u22469
    [uphierarchy] => admin,sr53,sr78,u22469
    [113] => 
    [extra_params_json] => 
)


Compaign : 66934
\compaign_type : Rans per 25.72852 
ans sms 3263
dnd sms 1274

require answer perrequire answer per : 512

user answer per : 198
below is the redis data 314 UPDATE voice_compaign_detail_66934 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 314 Total Failed : 603 no_answer_count : 202 Busy count :155 congestion_count : 72 failed_count : 174UPDATE voice_compaign_detail_66934 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 202 UPDATE voice_compaign_detail_66934 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 155 UPDATE voice_compaign_detail_66934 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 72 UPDATE voice_compaign_detail_66934 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 174 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='512', `user_busy_sms`='343', `user_congestion_sms`='72', `user_failed_sms`='503', `user_hangup_sms`='0', `user_no_answer_sms`='559', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='1274' WHERE `compaign_id`=66934 LIMIT 1 


Time Diff : 0.087

Array
(
    [0] => 66935
    [compaign_id] => 66935
    [1] => u22476
    [user_id] => u22476
    [2] => 58418,
    [group_ids] => 58418,
    [3] => 
    [sender_id] => 
    [4] => Deepawali greetings 1.mp3
    [filename] => Deepawali greetings 1.mp3
    [5] => 19
    [duration] => 19
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760790787
    [start_date] => 1760790787
    [9] => 0
    [end_date] => 0
    [10] => 3325
    [total_sms] => 3325
    [11] => 3325
    [sent_sms] => 3325
    [12] => 0
    [duplicate_sms] => 0
    [13] => 413
    [answered_sms] => 413
    [14] => 224
    [busy_sms] => 224
    [15] => 0
    [congestion_sms] => 0
    [16] => 680
    [failed_sms] => 680
    [17] => 0
    [hangup_sms] => 0
    [18] => 333
    [no_answer_sms] => 333
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 1675
    [cutting_sms] => 1675
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 413
    [user_answered_sms] => 413
    [27] => 224
    [user_busy_sms] => 224
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 680
    [user_failed_sms] => 680
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 333
    [user_no_answer_sms] => 333
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u22476
    [created_by] => u22476
    [38] => 0
    [isScheduled] => 0
    [39] => 1760790786
    [create_date] => 1760790786
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760790795,"compaign_read_start_time":1760790796,"compaign_read_complete_time":1760790800,"compaign_send_start_time":1760790842,"compaign_send_complete_time":1760790849}
    [action_time] => {"api_allot_time":1760790795,"compaign_read_start_time":1760790796,"compaign_read_complete_time":1760790800,"compaign_send_start_time":1760790842,"compaign_send_complete_time":1760790849}
    [50] => 0
    [compaign_file] => 0
    [51] => u22476_66935_18102025_060313PM_502
    [common_name] => u22476_66935_18102025_060313PM_502
    [52] => 1760779241_u22476_voice.wav
    [voice_file] => 1760779241_u22476_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [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_58418
    [temp_group_table] => contacts_temp_group_58418
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 1
    [reschedule_max] => 1
    [71] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR,N,
    [reschedule_types] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR,N,
    [72] => 1
    [reschedule_remaining] => 1
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 1760790902
    [reschedule_last_check_time] => 1760790902
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760791081
    [last_credit_update_time] => 1760791081
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1730
    [user_voice_plan_id] => 1730
    [85] => 11
    [voice_plan_id] => 11
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.17
    [pulse_rate] => 0.17
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => {"1":1760848200}
    [rt_time] => {"1":1760848200}
    [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,sr36,u22476
    [uphierarchy] => admin,sr36,u22476
    [113] => 
    [extra_params_json] => 
)


Compaign : 66935
\compaign_type : Rans per 30.39558 
ans sms 3325
dnd sms 0

require answer perrequire answer per : 1011

user answer per : 413
below is the redis data 598 UPDATE voice_compaign_detail_66935 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 598 Total Failed : 1077 no_answer_count : 360 Busy count :277 congestion_count : 128 failed_count : 312UPDATE voice_compaign_detail_66935 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 360 UPDATE voice_compaign_detail_66935 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 277 UPDATE voice_compaign_detail_66935 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 128 UPDATE voice_compaign_detail_66935 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 312 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='1011', `user_busy_sms`='501', `user_congestion_sms`='128', `user_failed_sms`='992', `user_hangup_sms`='0', `user_no_answer_sms`='693', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66935 LIMIT 1 


Time Diff : 0.062

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760531941'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760532002'  
Array
(
    [0] => 66926
    [compaign_id] => 66926
    [1] => u179
    [user_id] => u179
    [2] => 58409,
    [group_ids] => 58409,
    [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] => 1760790600
    [start_date] => 1760790600
    [9] => 0
    [end_date] => 0
    [10] => 3741
    [total_sms] => 3741
    [11] => 3741
    [sent_sms] => 3741
    [12] => 0
    [duplicate_sms] => 0
    [13] => 205
    [answered_sms] => 205
    [14] => 874
    [busy_sms] => 874
    [15] => 1
    [congestion_sms] => 1
    [16] => 171
    [failed_sms] => 171
    [17] => 0
    [hangup_sms] => 0
    [18] => 313
    [no_answer_sms] => 313
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 1433
    [cutting_sms] => 1433
    [22] => 744
    [dnd_sms] => 744
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 205
    [user_answered_sms] => 205
    [27] => 874
    [user_busy_sms] => 874
    [28] => 1
    [user_congestion_sms] => 1
    [29] => 171
    [user_failed_sms] => 171
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 313
    [user_no_answer_sms] => 313
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 744
    [user_dnd_sms] => 744
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u179
    [created_by] => u179
    [38] => 1
    [isScheduled] => 1
    [39] => 1760789236
    [create_date] => 1760789236
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760790606,"compaign_read_start_time":1760790607,"compaign_read_complete_time":1760790617,"compaign_send_start_time":1760790662,"compaign_send_complete_time":1760790668}
    [action_time] => {"api_allot_time":1760790606,"compaign_read_start_time":1760790607,"compaign_read_complete_time":1760790617,"compaign_send_start_time":1760790662,"compaign_send_complete_time":1760790668}
    [50] => 0
    [compaign_file] => 0
    [51] => u179_66926_18102025_060005PM_105
    [common_name] => u179_66926_18102025_060005PM_105
    [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_58409
    [temp_group_table] => contacts_temp_group_58409
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [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] => 1760791141
    [last_credit_update_time] => 1760791141
    [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 : 66926
\compaign_type : Rans per 29.9746 
ans sms 3741
dnd sms 744

require answer perrequire answer per : 899

user answer per : 205
below is the redis data 694 /n/r
only no answer and busy will be convert, total number require 694 /n/r
UPDATE voice_compaign_detail_66926 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 486 UPDATE voice_compaign_detail_66926 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 486 Total Failed : 566 no_answer_count : 189 Busy count :146 congestion_count : 68 failed_count : 163UPDATE voice_compaign_detail_66926 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 189 UPDATE voice_compaign_detail_66926 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 146 UPDATE voice_compaign_detail_66926 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 68 UPDATE voice_compaign_detail_66926 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`='899', `user_busy_sms`='994', `user_congestion_sms`='69', `user_failed_sms`='229', `user_hangup_sms`='0', `user_no_answer_sms`='806', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='744' WHERE `compaign_id`=66926 LIMIT 1 


Time Diff : 0.136

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760532061'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760532121'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760532182'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760532241'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760532302'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760532362'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760532421'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760532481'  
Array
(
    [0] => 66936
    [compaign_id] => 66936
    [1] => u86
    [user_id] => u86
    [2] => 58420,
    [group_ids] => 58420,
    [3] => 
    [sender_id] => 
    [4] => aadharsh vidhyamandir.mp3
    [filename] => aadharsh vidhyamandir.mp3
    [5] => 35
    [duration] => 35
    [6] => 2
    [credits_per_sms] => 2
    [7] => 30
    [user_pulse] => 30
    [8] => 1760791322
    [start_date] => 1760791322
    [9] => 0
    [end_date] => 0
    [10] => 123
    [total_sms] => 123
    [11] => 123
    [sent_sms] => 123
    [12] => 0
    [duplicate_sms] => 0
    [13] => 11
    [answered_sms] => 11
    [14] => 9
    [busy_sms] => 9
    [15] => 0
    [congestion_sms] => 0
    [16] => 45
    [failed_sms] => 45
    [17] => 0
    [hangup_sms] => 0
    [18] => 3
    [no_answer_sms] => 3
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 11
    [cutting_sms] => 11
    [22] => 44
    [dnd_sms] => 44
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 11
    [user_answered_sms] => 11
    [27] => 9
    [user_busy_sms] => 9
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 45
    [user_failed_sms] => 45
    [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] => 44
    [user_dnd_sms] => 44
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u86
    [created_by] => u86
    [38] => 0
    [isScheduled] => 0
    [39] => 1760791322
    [create_date] => 1760791322
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760791329,"compaign_read_start_time":1760791330,"compaign_read_complete_time":1760791331,"compaign_send_start_time":1760791382,"compaign_send_complete_time":1760791388}
    [action_time] => {"api_allot_time":1760791329,"compaign_read_start_time":1760791330,"compaign_read_complete_time":1760791331,"compaign_send_start_time":1760791382,"compaign_send_complete_time":1760791388}
    [50] => 0
    [compaign_file] => 0
    [51] => u86_66936_18102025_061207PM_737
    [common_name] => u86_66936_18102025_061207PM_737
    [52] => 1760789472_u86_voice.wav
    [voice_file] => 1760789472_u86_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_58420
    [temp_group_table] => contacts_temp_group_58420
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [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] => 1760791621
    [last_credit_update_time] => 1760791621
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 161
    [user_voice_plan_id] => 161
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.19
    [pulse_rate] => 0.19
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":"2","FFL":"2"}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":"2","FFL":"2"}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr3,u86
    [uphierarchy] => admin,sr3,u86
    [113] => 
    [extra_params_json] => 
)


Compaign : 66936
\compaign_type : Rans per 26.91357 
ans sms 123
dnd sms 44

require answer perrequire answer per : 22

user answer per : 11
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_66936 SET user_report='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_66936 SET user_report='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 : 8 no_answer_count : 3 Busy count :3 congestion_count : 1 failed_count : 1UPDATE voice_compaign_detail_66936 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 3 UPDATE voice_compaign_detail_66936 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 3 UPDATE voice_compaign_detail_66936 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 1 UPDATE voice_compaign_detail_66936 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`='22', `user_busy_sms`='11', `user_congestion_sms`='1', `user_failed_sms`='33', `user_hangup_sms`='0', `user_no_answer_sms`='12', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='44' WHERE `compaign_id`=66936 LIMIT 1 


Time Diff : 2.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>'1760532541'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760532601'  
Array
(
    [0] => 66938
    [compaign_id] => 66938
    [1] => u179
    [user_id] => u179
    [2] => 58421,
    [group_ids] => 58421,
    [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] => 1760791500
    [start_date] => 1760791500
    [9] => 0
    [end_date] => 0
    [10] => 2842
    [total_sms] => 2842
    [11] => 2842
    [sent_sms] => 2842
    [12] => 0
    [duplicate_sms] => 0
    [13] => 78
    [answered_sms] => 78
    [14] => 633
    [busy_sms] => 633
    [15] => 0
    [congestion_sms] => 0
    [16] => 164
    [failed_sms] => 164
    [17] => 0
    [hangup_sms] => 0
    [18] => 195
    [no_answer_sms] => 195
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 1028
    [cutting_sms] => 1028
    [22] => 744
    [dnd_sms] => 744
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 78
    [user_answered_sms] => 78
    [27] => 633
    [user_busy_sms] => 633
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 164
    [user_failed_sms] => 164
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 195
    [user_no_answer_sms] => 195
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 744
    [user_dnd_sms] => 744
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u179
    [created_by] => u179
    [38] => 1
    [isScheduled] => 1
    [39] => 1760791333
    [create_date] => 1760791333
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760791506,"compaign_read_start_time":1760791507,"compaign_read_complete_time":1760791512,"compaign_send_start_time":1760791562,"compaign_send_complete_time":1760791570}
    [action_time] => {"api_allot_time":1760791506,"compaign_read_start_time":1760791507,"compaign_read_complete_time":1760791512,"compaign_send_start_time":1760791562,"compaign_send_complete_time":1760791570}
    [50] => 0
    [compaign_file] => 0
    [51] => u179_66938_18102025_061505PM_973
    [common_name] => u179_66938_18102025_061505PM_973
    [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_58421
    [temp_group_table] => contacts_temp_group_58421
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [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] => 1760791801
    [last_credit_update_time] => 1760791801
    [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 : 66938
\compaign_type : Rans per 30.28021 
ans sms 2842
dnd sms 744

require answer perrequire answer per : 636

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='636', `user_busy_sms`='696', `user_congestion_sms`='39', `user_failed_sms`='144', `user_hangup_sms`='0', `user_no_answer_sms`='583', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='744' WHERE `compaign_id`=66938 LIMIT 1 


Time Diff : 0.078

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760532661'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760532722'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760532787'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760532842'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760532901'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760532962'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760533022'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760533081'  
Array
(
    [0] => 66939
    [compaign_id] => 66939
    [1] => u86
    [user_id] => u86
    [2] => 58422,
    [group_ids] => 58422,
    [3] => 
    [sender_id] => 
    [4] => aadharsh vidhyamandir.mp3
    [filename] => aadharsh vidhyamandir.mp3
    [5] => 35
    [duration] => 35
    [6] => 2
    [credits_per_sms] => 2
    [7] => 30
    [user_pulse] => 30
    [8] => 1760791923
    [start_date] => 1760791923
    [9] => 0
    [end_date] => 0
    [10] => 101
    [total_sms] => 101
    [11] => 101
    [sent_sms] => 101
    [12] => 0
    [duplicate_sms] => 0
    [13] => 4
    [answered_sms] => 4
    [14] => 3
    [busy_sms] => 3
    [15] => 0
    [congestion_sms] => 0
    [16] => 49
    [failed_sms] => 49
    [17] => 0
    [hangup_sms] => 0
    [18] => 0
    [no_answer_sms] => 0
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 1
    [cutting_sms] => 1
    [22] => 44
    [dnd_sms] => 44
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 4
    [user_answered_sms] => 4
    [27] => 3
    [user_busy_sms] => 3
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 49
    [user_failed_sms] => 49
    [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] => 44
    [user_dnd_sms] => 44
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u86
    [created_by] => u86
    [38] => 0
    [isScheduled] => 0
    [39] => 1760791923
    [create_date] => 1760791923
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760791929,"compaign_read_start_time":1760791931,"compaign_read_complete_time":1760791931,"compaign_send_start_time":1760791987,"compaign_send_complete_time":1760791988}
    [action_time] => {"api_allot_time":1760791929,"compaign_read_start_time":1760791931,"compaign_read_complete_time":1760791931,"compaign_send_start_time":1760791987,"compaign_send_complete_time":1760791988}
    [50] => 0
    [compaign_file] => 0
    [51] => u86_66939_18102025_062208PM_976
    [common_name] => u86_66939_18102025_062208PM_976
    [52] => 1760789472_u86_voice.wav
    [voice_file] => 1760789472_u86_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_58422
    [temp_group_table] => contacts_temp_group_58422
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [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] => 1760792222
    [last_credit_update_time] => 1760792222
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 161
    [user_voice_plan_id] => 161
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.19
    [pulse_rate] => 0.19
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":"2","FFL":"2"}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":"2","FFL":"2"}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr3,u86
    [uphierarchy] => admin,sr3,u86
    [113] => 
    [extra_params_json] => 
)


Compaign : 66939
\compaign_type : Rans per 26.63596 
ans sms 101
dnd sms 44

require answer perrequire answer per : 16

user answer per : 4
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_66939 SET user_report='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_66939 SET user_report='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 : 1 no_answer_count : 1 Busy count :1 congestion_count : 1 failed_count : -2UPDATE voice_compaign_detail_66939 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 1 UPDATE voice_compaign_detail_66939 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 1 UPDATE voice_compaign_detail_66939 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`='7', `user_busy_sms`='9', `user_congestion_sms`='0', `user_failed_sms`='31', `user_hangup_sms`='0', `user_no_answer_sms`='10', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='44' WHERE `compaign_id`=66939 LIMIT 1 


Time Diff : 2.743

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


Compaign : 66723
\compaign_type : Rans per 27.53531 
ans sms 490
dnd sms 127

require answer perrequire answer per : 100

user answer per : 51
below is the redis data 49 /n/r
only no answer and busy will be convert, total number require 49 /n/r
UPDATE voice_compaign_detail_66723 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 39 UPDATE voice_compaign_detail_66723 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 39 Total Failed : 75 no_answer_count : 26 Busy count :20 congestion_count : 9 failed_count : 20UPDATE voice_compaign_detail_66723 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 26 UPDATE voice_compaign_detail_66723 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 20 UPDATE voice_compaign_detail_66723 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 9 UPDATE voice_compaign_detail_66723 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`='100', `user_busy_sms`='90', `user_congestion_sms`='9', `user_failed_sms`='48', `user_hangup_sms`='0', `user_no_answer_sms`='116', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='127' WHERE `compaign_id`=66723 LIMIT 1 


Time Diff : 0.539

Array
(
    [0] => 66940
    [compaign_id] => 66940
    [1] => u179
    [user_id] => u179
    [2] => 58423,
    [group_ids] => 58423,
    [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] => 1760792400
    [start_date] => 1760792400
    [9] => 0
    [end_date] => 0
    [10] => 2206
    [total_sms] => 2206
    [11] => 2206
    [sent_sms] => 2206
    [12] => 0
    [duplicate_sms] => 0
    [13] => 77
    [answered_sms] => 77
    [14] => 436
    [busy_sms] => 436
    [15] => 0
    [congestion_sms] => 0
    [16] => 183
    [failed_sms] => 183
    [17] => 0
    [hangup_sms] => 0
    [18] => 93
    [no_answer_sms] => 93
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 673
    [cutting_sms] => 673
    [22] => 744
    [dnd_sms] => 744
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 77
    [user_answered_sms] => 77
    [27] => 436
    [user_busy_sms] => 436
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 183
    [user_failed_sms] => 183
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 93
    [user_no_answer_sms] => 93
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 744
    [user_dnd_sms] => 744
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u179
    [created_by] => u179
    [38] => 1
    [isScheduled] => 1
    [39] => 1760791931
    [create_date] => 1760791931
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760792407,"compaign_read_start_time":1760792411,"compaign_read_complete_time":1760792415,"compaign_send_start_time":1760792462,"compaign_send_complete_time":1760792465}
    [action_time] => {"api_allot_time":1760792407,"compaign_read_start_time":1760792411,"compaign_read_complete_time":1760792415,"compaign_send_start_time":1760792462,"compaign_send_complete_time":1760792465}
    [50] => 0
    [compaign_file] => 0
    [51] => u179_66940_18102025_063006PM_128
    [common_name] => u179_66940_18102025_063006PM_128
    [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_58423
    [temp_group_table] => contacts_temp_group_58423
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [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] => 1760792702
    [last_credit_update_time] => 1760792702
    [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 : 66940
\compaign_type : Rans per 26.51349 
ans sms 2206
dnd sms 744

require answer perrequire answer per : 388

user answer per : 77
below is the redis data 311 /n/r
only no answer and busy will be convert, total number require 311 /n/r
UPDATE voice_compaign_detail_66940 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 237 UPDATE voice_compaign_detail_66940 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 237 Total Failed : 302 no_answer_count : 101 Busy count :78 congestion_count : 36 failed_count : 87UPDATE voice_compaign_detail_66940 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 101 UPDATE voice_compaign_detail_66940 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 78 UPDATE voice_compaign_detail_66940 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 36 UPDATE voice_compaign_detail_66940 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`='388', `user_busy_sms`='486', `user_congestion_sms`='36', `user_failed_sms`='167', `user_hangup_sms`='0', `user_no_answer_sms`='385', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='744' WHERE `compaign_id`=66940 LIMIT 1 


Time Diff : 0.119

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760533621'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760533682'  
Array
(
    [0] => 66942
    [compaign_id] => 66942
    [1] => u86
    [user_id] => u86
    [2] => 58424,
    [group_ids] => 58424,
    [3] => 
    [sender_id] => 
    [4] => aadharsh vidhyamandir.mp3
    [filename] => aadharsh vidhyamandir.mp3
    [5] => 35
    [duration] => 35
    [6] => 2
    [credits_per_sms] => 2
    [7] => 30
    [user_pulse] => 30
    [8] => 1760792522
    [start_date] => 1760792522
    [9] => 0
    [end_date] => 0
    [10] => 94
    [total_sms] => 94
    [11] => 94
    [sent_sms] => 94
    [12] => 0
    [duplicate_sms] => 0
    [13] => 1
    [answered_sms] => 1
    [14] => 0
    [busy_sms] => 0
    [15] => 0
    [congestion_sms] => 0
    [16] => 48
    [failed_sms] => 48
    [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] => 44
    [dnd_sms] => 44
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 1
    [user_answered_sms] => 1
    [27] => 0
    [user_busy_sms] => 0
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 48
    [user_failed_sms] => 48
    [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] => 44
    [user_dnd_sms] => 44
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u86
    [created_by] => u86
    [38] => 0
    [isScheduled] => 0
    [39] => 1760792522
    [create_date] => 1760792522
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760792529,"compaign_read_start_time":1760792530,"compaign_read_complete_time":1760792531,"compaign_send_start_time":1760792582,"compaign_send_complete_time":1760792588}
    [action_time] => {"api_allot_time":1760792529,"compaign_read_start_time":1760792530,"compaign_read_complete_time":1760792531,"compaign_send_start_time":1760792582,"compaign_send_complete_time":1760792588}
    [50] => 0
    [compaign_file] => 0
    [51] => u86_66942_18102025_063208PM_624
    [common_name] => u86_66942_18102025_063208PM_624
    [52] => 1760789472_u86_voice.wav
    [voice_file] => 1760789472_u86_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_58424
    [temp_group_table] => contacts_temp_group_58424
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [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] => 1760792822
    [last_credit_update_time] => 1760792822
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 161
    [user_voice_plan_id] => 161
    [85] => 10
    [voice_plan_id] => 10
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.19
    [pulse_rate] => 0.19
    [89] => promo
    [delivery_route] => promo
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [dtmf_wait_time] => 0
    [102] => 0
    [ext_duration] => 0
    [103] => 
    [rt_time] => 
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":"2","FFL":"2"}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":"2","FFL":"2"}
    [108] => 0
    [retry_interval] => 0
    [109] => 0
    [stop_status] => 0
    [110] => 0
    [pause_resume_status] => 0
    [111] => 
    [compaign_name] => 
    [112] => admin,sr3,u86
    [uphierarchy] => admin,sr3,u86
    [113] => 
    [extra_params_json] => 
)


Compaign : 66942
\compaign_type : Rans per 30.42312 
ans sms 94
dnd sms 44

require answer perrequire answer per : 16

user answer per : 1
below is the redis data 15 /n/r
only no answer and busy will be convert, total number require 15 /n/r
UPDATE voice_compaign_detail_66942 SET user_report='FNA' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 12 UPDATE voice_compaign_detail_66942 SET user_report='FBZ' WHERE (api_id=-2 and user_report='') or ( user_report='FFL' or user_report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 12 Total Failed : 0 no_answer_count : 0 Busy count :0 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`='12', `user_congestion_sms`='0', `user_failed_sms`='24', `user_hangup_sms`='0', `user_no_answer_sms`='12', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='44' WHERE `compaign_id`=66942 LIMIT 1 


Time Diff : 2.968

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760533741'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760533801'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760533861'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760533921'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760533982'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760534042'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760534101'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760534161'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760534222'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760534281'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760534341'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760534402'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760534461'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760534522'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760534582'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760534641'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760534702'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760534761'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760534821'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760534882'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760534941'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760535001'  
Array
(
    [0] => 66946
    [compaign_id] => 66946
    [1] => u22468
    [user_id] => u22468
    [2] => 58428,
    [group_ids] => 58428,
    [3] => 
    [sender_id] => 
    [4] => AUD-20251016-WA0012.mp3
    [filename] => AUD-20251016-WA0012.mp3
    [5] => 17
    [duration] => 17
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760793905
    [start_date] => 1760793905
    [9] => 0
    [end_date] => 0
    [10] => 475
    [total_sms] => 475
    [11] => 475
    [sent_sms] => 475
    [12] => 0
    [duplicate_sms] => 0
    [13] => 109
    [answered_sms] => 109
    [14] => 51
    [busy_sms] => 51
    [15] => 0
    [congestion_sms] => 0
    [16] => 27
    [failed_sms] => 27
    [17] => 0
    [hangup_sms] => 0
    [18] => 45
    [no_answer_sms] => 45
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 165
    [cutting_sms] => 165
    [22] => 78
    [dnd_sms] => 78
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 109
    [user_answered_sms] => 109
    [27] => 51
    [user_busy_sms] => 51
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 27
    [user_failed_sms] => 27
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 45
    [user_no_answer_sms] => 45
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 78
    [user_dnd_sms] => 78
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u22468
    [created_by] => u22468
    [38] => 0
    [isScheduled] => 0
    [39] => 1760793904
    [create_date] => 1760793904
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760793911,"compaign_read_start_time":1760793914,"compaign_read_complete_time":1760793915,"compaign_send_start_time":1760793961,"compaign_send_complete_time":1760793963}
    [action_time] => {"api_allot_time":1760793911,"compaign_read_start_time":1760793914,"compaign_read_complete_time":1760793915,"compaign_send_start_time":1760793961,"compaign_send_complete_time":1760793963}
    [50] => 0
    [compaign_file] => 0
    [51] => u22468_66946_18102025_065510PM_705
    [common_name] => u22468_66946_18102025_065510PM_705
    [52] => 1760793904_u22468_voice.wav
    [voice_file] => 1760793904_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_58428
    [temp_group_table] => contacts_temp_group_58428
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_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
    [reschedule_types] => FNA,FBZ
    [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] => 1760794201
    [last_credit_update_time] => 1760794201
    [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] => {"1":1760795100,"2":1760796000}
    [rt_time] => {"1":1760795100,"2":1760796000}
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":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 : 66946
\compaign_type : Rans per 30.42433 
ans sms 475
dnd sms 78

require answer perrequire answer per : 121

user answer per : 109
below is the redis data 12 UPDATE voice_compaign_detail_66946 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 12 Total Failed : 153 no_answer_count : 52 Busy count :40 congestion_count : 19 failed_count : 42UPDATE voice_compaign_detail_66946 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 52 UPDATE voice_compaign_detail_66946 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 40 UPDATE voice_compaign_detail_66946 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 19 UPDATE voice_compaign_detail_66946 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`='121', `user_busy_sms`='91', `user_congestion_sms`='19', `user_failed_sms`='69', `user_hangup_sms`='0', `user_no_answer_sms`='97', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='78' WHERE `compaign_id`=66946 LIMIT 1 


Time Diff : 0.427

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760535061'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760535121'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760535182'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760535241'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760535302'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760535361'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760535421'  
Array
(
    [0] => 66947
    [compaign_id] => 66947
    [1] => u22468
    [user_id] => u22468
    [2] => 58431,
    [group_ids] => 58431,
    [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] => 1760794314
    [start_date] => 1760794314
    [9] => 0
    [end_date] => 0
    [10] => 475
    [total_sms] => 475
    [11] => 475
    [sent_sms] => 475
    [12] => 0
    [duplicate_sms] => 0
    [13] => 97
    [answered_sms] => 97
    [14] => 59
    [busy_sms] => 59
    [15] => 0
    [congestion_sms] => 0
    [16] => 28
    [failed_sms] => 28
    [17] => 0
    [hangup_sms] => 0
    [18] => 50
    [no_answer_sms] => 50
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 163
    [cutting_sms] => 163
    [22] => 78
    [dnd_sms] => 78
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 97
    [user_answered_sms] => 97
    [27] => 59
    [user_busy_sms] => 59
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 28
    [user_failed_sms] => 28
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 50
    [user_no_answer_sms] => 50
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 78
    [user_dnd_sms] => 78
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u22468
    [created_by] => u22468
    [38] => 0
    [isScheduled] => 0
    [39] => 1760794314
    [create_date] => 1760794314
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760794323,"compaign_read_start_time":1760794324,"compaign_read_complete_time":1760794328,"compaign_send_start_time":1760794382,"compaign_send_complete_time":1760794383}
    [action_time] => {"api_allot_time":1760794323,"compaign_read_start_time":1760794324,"compaign_read_complete_time":1760794328,"compaign_send_start_time":1760794382,"compaign_send_complete_time":1760794383}
    [50] => 0
    [compaign_file] => 0
    [51] => u22468_66947_18102025_070202PM_818
    [common_name] => u22468_66947_18102025_070202PM_818
    [52] => 1760794313_u22468_voice.wav
    [voice_file] => 1760794313_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_58431
    [temp_group_table] => contacts_temp_group_58431
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_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
    [reschedule_types] => FNA,FBZ
    [72] => 2
    [reschedule_remaining] => 2
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 1760794503
    [reschedule_last_check_time] => 1760794503
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760794621
    [last_credit_update_time] => 1760794621
    [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] => {"1":1760796000,"2":1760796900}
    [rt_time] => {"1":1760796000,"2":1760796900}
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":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 : 66947
\compaign_type : Rans per 30.61995 
ans sms 475
dnd sms 78

require answer perrequire answer per : 122

user answer per : 97
below is the redis data 25 UPDATE voice_compaign_detail_66947 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 25 Total Failed : 138 no_answer_count : 47 Busy count :36 congestion_count : 17 failed_count : 38UPDATE voice_compaign_detail_66947 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 47 UPDATE voice_compaign_detail_66947 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 36 UPDATE voice_compaign_detail_66947 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 17 UPDATE voice_compaign_detail_66947 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`='122', `user_busy_sms`='95', `user_congestion_sms`='17', `user_failed_sms`='66', `user_hangup_sms`='0', `user_no_answer_sms`='97', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='78' WHERE `compaign_id`=66947 LIMIT 1 


Time Diff : 0.427

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760535482'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760535541'  
Array
(
    [0] => 66949
    [compaign_id] => 66949
    [1] => u22468
    [user_id] => u22468
    [2] => 58433,
    [group_ids] => 58433,
    [3] => 
    [sender_id] => 
    [4] => AUD-20251016-WA0012.mp3
    [filename] => AUD-20251016-WA0012.mp3
    [5] => 17
    [duration] => 17
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760794390
    [start_date] => 1760794390
    [9] => 0
    [end_date] => 0
    [10] => 482
    [total_sms] => 482
    [11] => 482
    [sent_sms] => 482
    [12] => 0
    [duplicate_sms] => 0
    [13] => 114
    [answered_sms] => 114
    [14] => 42
    [busy_sms] => 42
    [15] => 0
    [congestion_sms] => 0
    [16] => 27
    [failed_sms] => 27
    [17] => 0
    [hangup_sms] => 0
    [18] => 58
    [no_answer_sms] => 58
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 171
    [cutting_sms] => 171
    [22] => 70
    [dnd_sms] => 70
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 114
    [user_answered_sms] => 114
    [27] => 42
    [user_busy_sms] => 42
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 27
    [user_failed_sms] => 27
    [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] => 70
    [user_dnd_sms] => 70
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u22468
    [created_by] => u22468
    [38] => 0
    [isScheduled] => 0
    [39] => 1760794390
    [create_date] => 1760794390
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760794397,"compaign_read_start_time":1760794400,"compaign_read_complete_time":1760794401,"compaign_send_start_time":1760794442,"compaign_send_complete_time":1760794446}
    [action_time] => {"api_allot_time":1760794397,"compaign_read_start_time":1760794400,"compaign_read_complete_time":1760794401,"compaign_send_start_time":1760794442,"compaign_send_complete_time":1760794446}
    [50] => 0
    [compaign_file] => 0
    [51] => u22468_66949_18102025_070316PM_633
    [common_name] => u22468_66949_18102025_070316PM_633
    [52] => 1760794390_u22468_voice.wav
    [voice_file] => 1760794390_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_58433
    [temp_group_table] => contacts_temp_group_58433
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_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
    [reschedule_types] => FNA,FBZ
    [72] => 2
    [reschedule_remaining] => 2
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 1760794503
    [reschedule_last_check_time] => 1760794503
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760794682
    [last_credit_update_time] => 1760794682
    [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] => {"1":1760796000,"2":1760796900}
    [rt_time] => {"1":1760796000,"2":1760796900}
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":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 : 66949
\compaign_type : Rans per 30.15052 
ans sms 482
dnd sms 70

require answer perrequire answer per : 125

user answer per : 114
below is the redis data 11 UPDATE voice_compaign_detail_66949 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 11 Total Failed : 160 no_answer_count : 54 Busy count :42 congestion_count : 19 failed_count : 45UPDATE voice_compaign_detail_66949 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 54 UPDATE voice_compaign_detail_66949 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 42 UPDATE voice_compaign_detail_66949 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 19 UPDATE voice_compaign_detail_66949 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`='125', `user_busy_sms`='84', `user_congestion_sms`='19', `user_failed_sms`='72', `user_hangup_sms`='0', `user_no_answer_sms`='112', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='70' WHERE `compaign_id`=66949 LIMIT 1 


Time Diff : 0.587

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760535601'  
Array
(
    [0] => 66950
    [compaign_id] => 66950
    [1] => u22468
    [user_id] => u22468
    [2] => 58434,
    [group_ids] => 58434,
    [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] => 1760794479
    [start_date] => 1760794479
    [9] => 0
    [end_date] => 0
    [10] => 482
    [total_sms] => 482
    [11] => 482
    [sent_sms] => 482
    [12] => 0
    [duplicate_sms] => 0
    [13] => 120
    [answered_sms] => 120
    [14] => 55
    [busy_sms] => 55
    [15] => 0
    [congestion_sms] => 0
    [16] => 22
    [failed_sms] => 22
    [17] => 0
    [hangup_sms] => 0
    [18] => 59
    [no_answer_sms] => 59
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 156
    [cutting_sms] => 156
    [22] => 70
    [dnd_sms] => 70
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 120
    [user_answered_sms] => 120
    [27] => 55
    [user_busy_sms] => 55
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 22
    [user_failed_sms] => 22
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 59
    [user_no_answer_sms] => 59
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 70
    [user_dnd_sms] => 70
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u22468
    [created_by] => u22468
    [38] => 0
    [isScheduled] => 0
    [39] => 1760794479
    [create_date] => 1760794479
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760794486,"compaign_read_start_time":1760794486,"compaign_read_complete_time":1760794488,"compaign_send_start_time":1760794502,"compaign_send_complete_time":1760794503}
    [action_time] => {"api_allot_time":1760794486,"compaign_read_start_time":1760794486,"compaign_read_complete_time":1760794488,"compaign_send_start_time":1760794502,"compaign_send_complete_time":1760794503}
    [50] => 0
    [compaign_file] => 0
    [51] => u22468_66950_18102025_070444PM_429
    [common_name] => u22468_66950_18102025_070444PM_429
    [52] => 1760794479_u22468_voice.wav
    [voice_file] => 1760794479_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_58434
    [temp_group_table] => contacts_temp_group_58434
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_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
    [reschedule_types] => FNA,FBZ
    [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] => 1760794741
    [last_credit_update_time] => 1760794741
    [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] => {"1":1760796000,"2":1760796900}
    [rt_time] => {"1":1760796000,"2":1760796900}
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":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 : 66950
\compaign_type : Rans per 26.46745 
ans sms 482
dnd sms 70

require answer perrequire answer per : 110

user answer per : 120
Total Failed : 156 no_answer_count : 53 Busy count :41 congestion_count : 19 failed_count : 43UPDATE voice_compaign_detail_66950 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 53 UPDATE voice_compaign_detail_66950 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 41 UPDATE voice_compaign_detail_66950 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 19 UPDATE voice_compaign_detail_66950 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 43 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='120', `user_busy_sms`='96', `user_congestion_sms`='19', `user_failed_sms`='65', `user_hangup_sms`='0', `user_no_answer_sms`='112', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='70' WHERE `compaign_id`=66950 LIMIT 1 


Time Diff : 0.587

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760535662'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760535721'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760535782'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760535841'  
Array
(
    [0] => 66951
    [compaign_id] => 66951
    [1] => u22468
    [user_id] => u22468
    [2] => 58435,
    [group_ids] => 58435,
    [3] => 
    [sender_id] => 
    [4] => KHAJA CHUDIGAR.mp3
    [filename] => KHAJA CHUDIGAR.mp3
    [5] => 21
    [duration] => 21
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760794697
    [start_date] => 1760794697
    [9] => 0
    [end_date] => 0
    [10] => 476
    [total_sms] => 476
    [11] => 476
    [sent_sms] => 476
    [12] => 0
    [duplicate_sms] => 0
    [13] => 105
    [answered_sms] => 105
    [14] => 45
    [busy_sms] => 45
    [15] => 0
    [congestion_sms] => 0
    [16] => 31
    [failed_sms] => 31
    [17] => 0
    [hangup_sms] => 0
    [18] => 51
    [no_answer_sms] => 51
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 162
    [cutting_sms] => 162
    [22] => 82
    [dnd_sms] => 82
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 105
    [user_answered_sms] => 105
    [27] => 45
    [user_busy_sms] => 45
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 31
    [user_failed_sms] => 31
    [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] => 82
    [user_dnd_sms] => 82
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u22468
    [created_by] => u22468
    [38] => 0
    [isScheduled] => 0
    [39] => 1760794697
    [create_date] => 1760794697
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760794703,"compaign_read_start_time":1760794706,"compaign_read_complete_time":1760794709,"compaign_send_start_time":1760794741,"compaign_send_complete_time":1760794743}
    [action_time] => {"api_allot_time":1760794703,"compaign_read_start_time":1760794706,"compaign_read_complete_time":1760794709,"compaign_send_start_time":1760794741,"compaign_send_complete_time":1760794743}
    [50] => 0
    [compaign_file] => 0
    [51] => u22468_66951_18102025_070822PM_940
    [common_name] => u22468_66951_18102025_070822PM_940
    [52] => 1760794697_u22468_voice.wav
    [voice_file] => 1760794697_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_58435
    [temp_group_table] => contacts_temp_group_58435
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_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
    [reschedule_types] => FNA,FBZ
    [72] => 2
    [reschedule_remaining] => 2
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 1760794802
    [reschedule_last_check_time] => 1760794802
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760794982
    [last_credit_update_time] => 1760794982
    [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] => {"1":1760796000,"2":1760796900}
    [rt_time] => {"1":1760796000,"2":1760796900}
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":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 : 66951
\compaign_type : Rans per 27.72836 
ans sms 476
dnd sms 82

require answer perrequire answer per : 110

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='110', `user_busy_sms`='86', `user_congestion_sms`='19', `user_failed_sms`='75', `user_hangup_sms`='0', `user_no_answer_sms`='104', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='82' WHERE `compaign_id`=66951 LIMIT 1 


Time Diff : 0.597

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


Compaign : 66572
\compaign_type : ATans per 25.8771 
ans sms 26582
dnd sms 0

require answer perrequire answer per : 6879

user answer per : 138
below is the redis data 6741 UPDATE voice_compaign_detail_66572 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 6741 Total Failed : 0 no_answer_count : 0 Busy count :0 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`='8044', `user_congestion_sms`='0', `user_failed_sms`='17111', `user_hangup_sms`='0', `user_no_answer_sms`='1288', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.254

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760536021'  
Array
(
    [0] => 66955
    [compaign_id] => 66955
    [1] => u22468
    [user_id] => u22468
    [2] => 58439,
    [group_ids] => 58439,
    [3] => 
    [sender_id] => 
    [4] => KHAJA CHUDIGAR.mp3
    [filename] => KHAJA CHUDIGAR.mp3
    [5] => 21
    [duration] => 21
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760794952
    [start_date] => 1760794952
    [9] => 0
    [end_date] => 0
    [10] => 475
    [total_sms] => 475
    [11] => 475
    [sent_sms] => 475
    [12] => 0
    [duplicate_sms] => 0
    [13] => 101
    [answered_sms] => 101
    [14] => 65
    [busy_sms] => 65
    [15] => 0
    [congestion_sms] => 0
    [16] => 27
    [failed_sms] => 27
    [17] => 0
    [hangup_sms] => 0
    [18] => 52
    [no_answer_sms] => 52
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 152
    [cutting_sms] => 152
    [22] => 78
    [dnd_sms] => 78
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 101
    [user_answered_sms] => 101
    [27] => 65
    [user_busy_sms] => 65
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 27
    [user_failed_sms] => 27
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 52
    [user_no_answer_sms] => 52
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 78
    [user_dnd_sms] => 78
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u22468
    [created_by] => u22468
    [38] => 0
    [isScheduled] => 0
    [39] => 1760794951
    [create_date] => 1760794951
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760794958,"compaign_read_start_time":1760794960,"compaign_read_complete_time":1760794961,"compaign_send_start_time":1760794982,"compaign_send_complete_time":1760794983}
    [action_time] => {"api_allot_time":1760794958,"compaign_read_start_time":1760794960,"compaign_read_complete_time":1760794961,"compaign_send_start_time":1760794982,"compaign_send_complete_time":1760794983}
    [50] => 0
    [compaign_file] => 0
    [51] => u22468_66955_18102025_071237PM_774
    [common_name] => u22468_66955_18102025_071237PM_774
    [52] => 1760794951_u22468_voice.wav
    [voice_file] => 1760794951_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_58439
    [temp_group_table] => contacts_temp_group_58439
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_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
    [reschedule_types] => FNA,FBZ
    [72] => 2
    [reschedule_remaining] => 2
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 1760795103
    [reschedule_last_check_time] => 1760795103
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760795221
    [last_credit_update_time] => 1760795221
    [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] => {"1":1760796000,"2":1760796900}
    [rt_time] => {"1":1760796000,"2":1760796900}
    [104] => 0
    [rt_answer_duration] => 0
    [105] => 
    [clis] => 
    [106] => [{"cli":"","g_id":"33"}]
    [alloted_apis] => [{"cli":"","g_id":"33"}]
    [107] => {"FNA":0,"FBZ":0,"FCG":0,"FFL":0}
    [retry_value] => {"FNA":0,"FBZ":0,"FCG":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 : 66955
\compaign_type : Rans per 26.77572 
ans sms 475
dnd sms 78

require answer perrequire answer per : 107

user answer per : 101
below is the redis data 6 UPDATE voice_compaign_detail_66955 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 6 Total Failed : 146 no_answer_count : 49 Busy count :38 congestion_count : 18 failed_count : 41UPDATE voice_compaign_detail_66955 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 49 UPDATE voice_compaign_detail_66955 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 38 UPDATE voice_compaign_detail_66955 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 18 UPDATE voice_compaign_detail_66955 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`='107', `user_busy_sms`='103', `user_congestion_sms`='18', `user_failed_sms`='68', `user_hangup_sms`='0', `user_no_answer_sms`='101', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='78' WHERE `compaign_id`=66955 LIMIT 1 


Time Diff : 0.469

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760536081'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760536141'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760536202'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760536261'  
Array
(
    [0] => 66948
    [compaign_id] => 66948
    [1] => u22468
    [user_id] => u22468
    [2] => 58432,
    [group_ids] => 58432,
    [3] => 
    [sender_id] => 
    [4] => AUD-20251016-WA0012.mp3
    [filename] => AUD-20251016-WA0012.mp3
    [5] => 17
    [duration] => 17
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760795100
    [start_date] => 1760795100
    [9] => 0
    [end_date] => 0
    [10] => 188
    [total_sms] => 188
    [11] => 188
    [sent_sms] => 188
    [12] => 0
    [duplicate_sms] => 0
    [13] => 42
    [answered_sms] => 42
    [14] => 48
    [busy_sms] => 48
    [15] => 0
    [congestion_sms] => 0
    [16] => 31
    [failed_sms] => 31
    [17] => 0
    [hangup_sms] => 0
    [18] => 17
    [no_answer_sms] => 17
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 50
    [cutting_sms] => 50
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 42
    [user_answered_sms] => 42
    [27] => 48
    [user_busy_sms] => 48
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 31
    [user_failed_sms] => 31
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 17
    [user_no_answer_sms] => 17
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u22468
    [created_by] => u22468
    [38] => 1
    [isScheduled] => 1
    [39] => 1760794322
    [create_date] => 1760794322
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760795106,"compaign_read_start_time":1760795108,"compaign_read_complete_time":1760795108,"compaign_send_start_time":1760795161,"compaign_send_complete_time":1760795162}
    [action_time] => {"api_allot_time":1760795106,"compaign_read_start_time":1760795108,"compaign_read_complete_time":1760795108,"compaign_send_start_time":1760795161,"compaign_send_complete_time":1760795162}
    [50] => 0
    [compaign_file] => 0
    [51] => u22468_66948_18102025_071505PM_509
    [common_name] => u22468_66948_18102025_071505PM_509
    [52] => 1760793904_u22468_voice.wav
    [voice_file] => 1760793904_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] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_58432
    [temp_group_table] => contacts_temp_group_58432
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760795402
    [last_credit_update_time] => 1760795402
    [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 : 66948
\compaign_type : Rans per 30.29561 
ans sms 188
dnd sms 0

require answer perrequire answer per : 57

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='57', `user_busy_sms`='57', `user_congestion_sms`='5', `user_failed_sms`='40', `user_hangup_sms`='0', `user_no_answer_sms`='29', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66948 LIMIT 1 


Time Diff : 1.511

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760536321'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760536382'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760536441'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760536501'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760536562'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760536621'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760536681'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760536742'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760536801'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760536861'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760536922'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760536981'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760537041'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760537101'  
Array
(
    [0] => 66952
    [compaign_id] => 66952
    [1] => u22468
    [user_id] => u22468
    [2] => 58436,
    [group_ids] => 58436,
    [3] => 
    [sender_id] => 
    [4] => AUD-20251016-WA0012.mp3
    [filename] => AUD-20251016-WA0012.mp3
    [5] => 17
    [duration] => 17
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760796000
    [start_date] => 1760796000
    [9] => 0
    [end_date] => 0
    [10] => 196
    [total_sms] => 196
    [11] => 196
    [sent_sms] => 196
    [12] => 0
    [duplicate_sms] => 0
    [13] => 40
    [answered_sms] => 40
    [14] => 49
    [busy_sms] => 49
    [15] => 0
    [congestion_sms] => 0
    [16] => 45
    [failed_sms] => 45
    [17] => 0
    [hangup_sms] => 0
    [18] => 16
    [no_answer_sms] => 16
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 46
    [cutting_sms] => 46
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 40
    [user_answered_sms] => 40
    [27] => 49
    [user_busy_sms] => 49
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 45
    [user_failed_sms] => 45
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 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] => u22468
    [created_by] => u22468
    [38] => 1
    [isScheduled] => 1
    [39] => 1760794922
    [create_date] => 1760794922
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760796007,"compaign_read_start_time":1760796007,"compaign_read_complete_time":1760796008,"compaign_send_start_time":1760796062,"compaign_send_complete_time":1760796063}
    [action_time] => {"api_allot_time":1760796007,"compaign_read_start_time":1760796007,"compaign_read_complete_time":1760796008,"compaign_send_start_time":1760796062,"compaign_send_complete_time":1760796063}
    [50] => 0
    [compaign_file] => 0
    [51] => u22468_66952_18102025_073005PM_697
    [common_name] => u22468_66952_18102025_073005PM_697
    [52] => 1760794390_u22468_voice.wav
    [voice_file] => 1760794390_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] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_58436
    [temp_group_table] => contacts_temp_group_58436
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760796242
    [last_credit_update_time] => 1760796242
    [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 : 66952
\compaign_type : Rans per 28.64584 
ans sms 196
dnd sms 0

require answer perrequire answer per : 57

user answer per : 40
below is the redis data 17 UPDATE voice_compaign_detail_66952 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 17 Total Failed : 29 no_answer_count : 10 Busy count :8 congestion_count : 4 failed_count : 7UPDATE voice_compaign_detail_66952 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 10 UPDATE voice_compaign_detail_66952 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 8 UPDATE voice_compaign_detail_66952 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 4 UPDATE voice_compaign_detail_66952 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`='57', `user_busy_sms`='57', `user_congestion_sms`='4', `user_failed_sms`='52', `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`=66952 LIMIT 1 


Time Diff : 1.02

Array
(
    [0] => 66953
    [compaign_id] => 66953
    [1] => u22468
    [user_id] => u22468
    [2] => 58438,
    [group_ids] => 58438,
    [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] => 1760796000
    [start_date] => 1760796000
    [9] => 0
    [end_date] => 0
    [10] => 192
    [total_sms] => 192
    [11] => 192
    [sent_sms] => 192
    [12] => 0
    [duplicate_sms] => 0
    [13] => 40
    [answered_sms] => 40
    [14] => 60
    [busy_sms] => 60
    [15] => 0
    [congestion_sms] => 0
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 30
    [no_answer_sms] => 30
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 50
    [cutting_sms] => 50
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 40
    [user_answered_sms] => 40
    [27] => 60
    [user_busy_sms] => 60
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 12
    [user_failed_sms] => 12
    [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] => u22468
    [created_by] => u22468
    [38] => 1
    [isScheduled] => 1
    [39] => 1760794922
    [create_date] => 1760794922
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760796006,"compaign_read_start_time":1760796010,"compaign_read_complete_time":1760796011,"compaign_send_start_time":1760796062,"compaign_send_complete_time":1760796063}
    [action_time] => {"api_allot_time":1760796006,"compaign_read_start_time":1760796010,"compaign_read_complete_time":1760796011,"compaign_send_start_time":1760796062,"compaign_send_complete_time":1760796063}
    [50] => 0
    [compaign_file] => 0
    [51] => u22468_66953_18102025_073005PM_221
    [common_name] => u22468_66953_18102025_073005PM_221
    [52] => 1760794313_u22468_voice.wav
    [voice_file] => 1760794313_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] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_58438
    [temp_group_table] => contacts_temp_group_58438
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760796242
    [last_credit_update_time] => 1760796242
    [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 : 66953
\compaign_type : Rans per 29.33292 
ans sms 192
dnd sms 0

require answer perrequire answer per : 57

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='57', `user_busy_sms`='69', `user_congestion_sms`='4', `user_failed_sms`='20', `user_hangup_sms`='0', `user_no_answer_sms`='42', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66953 LIMIT 1 


Time Diff : 1.052

Array
(
    [0] => 66954
    [compaign_id] => 66954
    [1] => u22468
    [user_id] => u22468
    [2] => 58437,
    [group_ids] => 58437,
    [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] => 1760796000
    [start_date] => 1760796000
    [9] => 0
    [end_date] => 0
    [10] => 208
    [total_sms] => 208
    [11] => 208
    [sent_sms] => 208
    [12] => 0
    [duplicate_sms] => 0
    [13] => 65
    [answered_sms] => 65
    [14] => 56
    [busy_sms] => 56
    [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] => 50
    [cutting_sms] => 50
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 65
    [user_answered_sms] => 65
    [27] => 56
    [user_busy_sms] => 56
    [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] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u22468
    [created_by] => u22468
    [38] => 1
    [isScheduled] => 1
    [39] => 1760794922
    [create_date] => 1760794922
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760796007,"compaign_read_start_time":1760796013,"compaign_read_complete_time":1760796014,"compaign_send_start_time":1760796062,"compaign_send_complete_time":1760796063}
    [action_time] => {"api_allot_time":1760796007,"compaign_read_start_time":1760796013,"compaign_read_complete_time":1760796014,"compaign_send_start_time":1760796062,"compaign_send_complete_time":1760796063}
    [50] => 0
    [compaign_file] => 0
    [51] => u22468_66954_18102025_073005PM_166
    [common_name] => u22468_66954_18102025_073005PM_166
    [52] => 1760794479_u22468_voice.wav
    [voice_file] => 1760794479_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] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_58437
    [temp_group_table] => contacts_temp_group_58437
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760796242
    [last_credit_update_time] => 1760796242
    [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 : 66954
\compaign_type : Rans per 29.85486 
ans sms 208
dnd sms 0

require answer perrequire answer per : 63

user answer per : 65
Total Failed : 50 no_answer_count : 17 Busy count :13 congestion_count : 6 failed_count : 14UPDATE voice_compaign_detail_66954 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 17 UPDATE voice_compaign_detail_66954 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 13 UPDATE voice_compaign_detail_66954 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 6 UPDATE voice_compaign_detail_66954 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`='65', `user_busy_sms`='69', `user_congestion_sms`='6', `user_failed_sms`='27', `user_hangup_sms`='0', `user_no_answer_sms`='41', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66954 LIMIT 1 


Time Diff : 0.966

Array
(
    [0] => 66956
    [compaign_id] => 66956
    [1] => u22468
    [user_id] => u22468
    [2] => 58440,
    [group_ids] => 58440,
    [3] => 
    [sender_id] => 
    [4] => KHAJA CHUDIGAR.mp3
    [filename] => KHAJA CHUDIGAR.mp3
    [5] => 21
    [duration] => 21
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760796000
    [start_date] => 1760796000
    [9] => 0
    [end_date] => 0
    [10] => 190
    [total_sms] => 190
    [11] => 190
    [sent_sms] => 190
    [12] => 0
    [duplicate_sms] => 0
    [13] => 51
    [answered_sms] => 51
    [14] => 51
    [busy_sms] => 51
    [15] => 0
    [congestion_sms] => 0
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 30
    [no_answer_sms] => 30
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 46
    [cutting_sms] => 46
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 51
    [user_answered_sms] => 51
    [27] => 51
    [user_busy_sms] => 51
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 12
    [user_failed_sms] => 12
    [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] => u22468
    [created_by] => u22468
    [38] => 1
    [isScheduled] => 1
    [39] => 1760795222
    [create_date] => 1760795222
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760796007,"compaign_read_start_time":1760796016,"compaign_read_complete_time":1760796017,"compaign_send_start_time":1760796062,"compaign_send_complete_time":1760796063}
    [action_time] => {"api_allot_time":1760796007,"compaign_read_start_time":1760796016,"compaign_read_complete_time":1760796017,"compaign_send_start_time":1760796062,"compaign_send_complete_time":1760796063}
    [50] => 0
    [compaign_file] => 0
    [51] => u22468_66956_18102025_073005PM_285
    [common_name] => u22468_66956_18102025_073005PM_285
    [52] => 1760794697_u22468_voice.wav
    [voice_file] => 1760794697_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] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_58440
    [temp_group_table] => contacts_temp_group_58440
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760796242
    [last_credit_update_time] => 1760796242
    [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 : 66956
\compaign_type : Rans per 28.09828 
ans sms 190
dnd sms 0

require answer perrequire answer per : 54

user answer per : 51
below is the redis data 3 UPDATE voice_compaign_detail_66956 SET user_report='D' WHERE (api_id= -2 or report='FCG') AND whitelist_status=0 ORDER BY rand() LIMIT 3 Total Failed : 43 no_answer_count : 15 Busy count :12 congestion_count : 6 failed_count : 10UPDATE voice_compaign_detail_66956 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 15 UPDATE voice_compaign_detail_66956 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 12 UPDATE voice_compaign_detail_66956 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 6 UPDATE voice_compaign_detail_66956 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`='54', `user_busy_sms`='63', `user_congestion_sms`='6', `user_failed_sms`='22', `user_hangup_sms`='0', `user_no_answer_sms`='45', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66956 LIMIT 1 


Time Diff : 1.053

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

require answer perrequire answer per : 57

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='57', `user_busy_sms`='78', `user_congestion_sms`='3', `user_failed_sms`='39', `user_hangup_sms`='0', `user_no_answer_sms`='27', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66957 LIMIT 1 


Time Diff : 0.985

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760537161'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760537222'  
Array
(
    [0] => 66958
    [compaign_id] => 66958
    [1] => u22468
    [user_id] => u22468
    [2] => 58442,
    [group_ids] => 58442,
    [3] => 
    [sender_id] => 
    [4] => AUD-20251016-WA0012.mp3
    [filename] => AUD-20251016-WA0012.mp3
    [5] => 17
    [duration] => 17
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760796000
    [start_date] => 1760796000
    [9] => 0
    [end_date] => 0
    [10] => 86
    [total_sms] => 86
    [11] => 86
    [sent_sms] => 86
    [12] => 0
    [duplicate_sms] => 0
    [13] => 14
    [answered_sms] => 14
    [14] => 50
    [busy_sms] => 50
    [15] => 0
    [congestion_sms] => 0
    [16] => 7
    [failed_sms] => 7
    [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] => 14
    [user_answered_sms] => 14
    [27] => 50
    [user_busy_sms] => 50
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 7
    [user_failed_sms] => 7
    [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] => u22468
    [created_by] => u22468
    [38] => 1
    [isScheduled] => 1
    [39] => 1760795822
    [create_date] => 1760795822
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760796007,"compaign_read_start_time":1760796022,"compaign_read_complete_time":1760796022,"compaign_send_start_time":1760796062,"compaign_send_complete_time":1760796062}
    [action_time] => {"api_allot_time":1760796007,"compaign_read_start_time":1760796022,"compaign_read_complete_time":1760796022,"compaign_send_start_time":1760796062,"compaign_send_complete_time":1760796062}
    [50] => 0
    [compaign_file] => 0
    [51] => u22468_66958_18102025_073005PM_493
    [common_name] => u22468_66958_18102025_073005PM_493
    [52] => 1760793904_u22468_voice.wav
    [voice_file] => 1760793904_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] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_58442
    [temp_group_table] => contacts_temp_group_58442
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => 1760796361
    [last_credit_update_time] => 1760796361
    [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 : 66958
\compaign_type : Rans per 26.16397 
ans sms 86
dnd sms 0

require answer perrequire answer per : 23

user answer per : 14
below is the redis data 9 UPDATE voice_compaign_detail_66958 SET user_report='D' WHERE (api_id= -2 or 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`='14', `user_busy_sms`='50', `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`='0' WHERE `compaign_id`=66958 LIMIT 1 


Time Diff : 3.733

Array
(
    [0] => 66960
    [compaign_id] => 66960
    [1] => u230
    [user_id] => u230
    [2] => 58443,
    [group_ids] => 58443,
    [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] => 1760796046
    [start_date] => 1760796046
    [9] => 0
    [end_date] => 0
    [10] => 2882
    [total_sms] => 2882
    [11] => 2882
    [sent_sms] => 2882
    [12] => 0
    [duplicate_sms] => 0
    [13] => 367
    [answered_sms] => 367
    [14] => 211
    [busy_sms] => 211
    [15] => 5
    [congestion_sms] => 5
    [16] => 363
    [failed_sms] => 363
    [17] => 0
    [hangup_sms] => 0
    [18] => 517
    [no_answer_sms] => 517
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 1419
    [cutting_sms] => 1419
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 367
    [user_answered_sms] => 367
    [27] => 211
    [user_busy_sms] => 211
    [28] => 5
    [user_congestion_sms] => 5
    [29] => 363
    [user_failed_sms] => 363
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 517
    [user_no_answer_sms] => 517
    [32] => 0
    [user_timeout_duration_sms] => 0
    [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] => 1760796045
    [create_date] => 1760796045
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760796063,"compaign_read_start_time":1760796064,"compaign_read_complete_time":1760796068,"compaign_send_start_time":1760796122,"compaign_send_complete_time":1760796137}
    [action_time] => {"api_allot_time":1760796063,"compaign_read_start_time":1760796064,"compaign_read_complete_time":1760796068,"compaign_send_start_time":1760796122,"compaign_send_complete_time":1760796137}
    [50] => 0
    [compaign_file] => 0
    [51] => u230_66960_18102025_073102PM_895
    [common_name] => u230_66960_18102025_073102PM_895
    [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_58443
    [temp_group_table] => contacts_temp_group_58443
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760796361
    [last_credit_update_time] => 1760796361
    [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 : 66960
\compaign_type : Rans per 27.68965 
ans sms 2882
dnd sms 0

require answer perrequire answer per : 799

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='799', `user_busy_sms`='636', `user_congestion_sms`='115', `user_failed_sms`='494', `user_hangup_sms`='0', `user_no_answer_sms`='838', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66960 LIMIT 1 


Time Diff : 0.091

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


Compaign : 66572
\compaign_type : ATans per 25.30419 
ans sms 27736
dnd sms 0

require answer perrequire answer per : 7019

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='142', `user_busy_sms`='8418', `user_congestion_sms`='0', `user_failed_sms`='17838', `user_hangup_sms`='0', `user_no_answer_sms`='1338', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.254

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760537461'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760537521'  
Array
(
    [0] => 66961
    [compaign_id] => 66961
    [1] => u820
    [user_id] => u820
    [2] => 58444,
    [group_ids] => 58444,
    [3] => 
    [sender_id] => 
    [4] => LAST DATE MONTH LADY VOICE.mp3
    [filename] => LAST DATE MONTH LADY VOICE.mp3
    [5] => 28
    [duration] => 28
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760796394
    [start_date] => 1760796394
    [9] => 0
    [end_date] => 0
    [10] => 137
    [total_sms] => 137
    [11] => 137
    [sent_sms] => 137
    [12] => 0
    [duplicate_sms] => 0
    [13] => 44
    [answered_sms] => 44
    [14] => 10
    [busy_sms] => 10
    [15] => 0
    [congestion_sms] => 0
    [16] => 39
    [failed_sms] => 39
    [17] => 0
    [hangup_sms] => 0
    [18] => 24
    [no_answer_sms] => 24
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 20
    [cutting_sms] => 20
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 44
    [user_answered_sms] => 44
    [27] => 10
    [user_busy_sms] => 10
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 39
    [user_failed_sms] => 39
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 24
    [user_no_answer_sms] => 24
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u820
    [created_by] => u820
    [38] => 0
    [isScheduled] => 0
    [39] => 1760796394
    [create_date] => 1760796394
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760796401,"compaign_read_start_time":1760796403,"compaign_read_complete_time":1760796403,"compaign_send_start_time":1760796422,"compaign_send_complete_time":1760796422}
    [action_time] => {"api_allot_time":1760796401,"compaign_read_start_time":1760796403,"compaign_read_complete_time":1760796403,"compaign_send_start_time":1760796422,"compaign_send_complete_time":1760796422}
    [50] => 0
    [compaign_file] => 0
    [51] => u820_66961_18102025_073640PM_448
    [common_name] => u820_66961_18102025_073640PM_448
    [52] => 1746623748_u820_voice.wav
    [voice_file] => 1746623748_u820_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [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_58444
    [temp_group_table] => contacts_temp_group_58444
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 5
    [reschedule_max] => 5
    [71] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR,N,
    [reschedule_types] => FNA,FBZ,FCG,FFL,FHG,FTD,FTR,N,
    [72] => 5
    [reschedule_remaining] => 5
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 1760796602
    [reschedule_last_check_time] => 1760796602
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760796661
    [last_credit_update_time] => 1760796661
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1281
    [user_voice_plan_id] => 1281
    [85] => 11
    [voice_plan_id] => 11
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.4
    [pulse_rate] => 0.4
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [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,sr57,u820
    [uphierarchy] => admin,sr27,sr57,u820
    [113] => 
    [extra_params_json] => 
)


Compaign : 66961
\compaign_type : Rans per 26.88654 
ans sms 137
dnd sms 0

require answer perrequire answer per : 37

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='44', `user_busy_sms`='16', `user_congestion_sms`='3', `user_failed_sms`='43', `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`=66961 LIMIT 1 


Time Diff : 2.08

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760537581'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760537641'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760537701'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760537761'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760537821'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760537881'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760537942'  
Array
(
    [0] => 66962
    [compaign_id] => 66962
    [1] => u22468
    [user_id] => u22468
    [2] => 58448,
    [group_ids] => 58448,
    [3] => 
    [sender_id] => 
    [4] => AUD-20251016-WA0012.mp3
    [filename] => AUD-20251016-WA0012.mp3
    [5] => 17
    [duration] => 17
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760796900
    [start_date] => 1760796900
    [9] => 0
    [end_date] => 0
    [10] => 83
    [total_sms] => 83
    [11] => 83
    [sent_sms] => 83
    [12] => 0
    [duplicate_sms] => 0
    [13] => 17
    [answered_sms] => 17
    [14] => 47
    [busy_sms] => 47
    [15] => 0
    [congestion_sms] => 0
    [16] => 3
    [failed_sms] => 3
    [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] => 17
    [user_answered_sms] => 17
    [27] => 47
    [user_busy_sms] => 47
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 3
    [user_failed_sms] => 3
    [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] => u22468
    [created_by] => u22468
    [38] => 1
    [isScheduled] => 1
    [39] => 1760796422
    [create_date] => 1760796422
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760796906,"compaign_read_start_time":1760796962,"compaign_read_complete_time":1760796962,"compaign_send_start_time":1760797021,"compaign_send_complete_time":1760797028}
    [action_time] => {"api_allot_time":1760796906,"compaign_read_start_time":1760796962,"compaign_read_complete_time":1760796962,"compaign_send_start_time":1760797021,"compaign_send_complete_time":1760797028}
    [50] => 0
    [compaign_file] => 0
    [51] => u22468_66962_18102025_074505PM_804
    [common_name] => u22468_66962_18102025_074505PM_804
    [52] => 1760794390_u22468_voice.wav
    [voice_file] => 1760794390_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] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_58448
    [temp_group_table] => contacts_temp_group_58448
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760797081
    [last_credit_update_time] => 1760797081
    [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 : 66962
\compaign_type : Rans per 27.90455 
ans sms 83
dnd sms 0

require answer perrequire answer per : 24

user answer per : 17
below is the redis data 7 UPDATE voice_compaign_detail_66962 SET user_report='D' WHERE (api_id= -2 or 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`='17', `user_busy_sms`='47', `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`='0' WHERE `compaign_id`=66962 LIMIT 1 


Time Diff : 1.265

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


Compaign : 66967
\compaign_type : Rans per 29.25739 
ans sms 370
dnd sms 76

require answer perrequire answer per : 87

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='87', `user_busy_sms`='60', `user_congestion_sms`='9', `user_failed_sms`='45', `user_hangup_sms`='0', `user_no_answer_sms`='93', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='76' WHERE `compaign_id`=66967 LIMIT 1 


Time Diff : 0.543

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760538061'  
Array
(
    [0] => 66963
    [compaign_id] => 66963
    [1] => u22468
    [user_id] => u22468
    [2] => 58445,
    [group_ids] => 58445,
    [3] => 
    [sender_id] => 
    [4] => KHAJA CHUDIGAR.mp3
    [filename] => KHAJA CHUDIGAR.mp3
    [5] => 21
    [duration] => 21
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760796900
    [start_date] => 1760796900
    [9] => 0
    [end_date] => 0
    [10] => 105
    [total_sms] => 105
    [11] => 105
    [sent_sms] => 105
    [12] => 0
    [duplicate_sms] => 0
    [13] => 16
    [answered_sms] => 16
    [14] => 50
    [busy_sms] => 50
    [15] => 0
    [congestion_sms] => 0
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 24
    [no_answer_sms] => 24
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 3
    [cutting_sms] => 3
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 16
    [user_answered_sms] => 16
    [27] => 50
    [user_busy_sms] => 50
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 12
    [user_failed_sms] => 12
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 24
    [user_no_answer_sms] => 24
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u22468
    [created_by] => u22468
    [38] => 1
    [isScheduled] => 1
    [39] => 1760796422
    [create_date] => 1760796422
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760796906,"compaign_read_start_time":1760796965,"compaign_read_complete_time":1760796965,"compaign_send_start_time":1760797021,"compaign_send_complete_time":1760797028}
    [action_time] => {"api_allot_time":1760796906,"compaign_read_start_time":1760796965,"compaign_read_complete_time":1760796965,"compaign_send_start_time":1760797021,"compaign_send_complete_time":1760797028}
    [50] => 0
    [compaign_file] => 0
    [51] => u22468_66963_18102025_074505PM_962
    [common_name] => u22468_66963_18102025_074505PM_962
    [52] => 1760794951_u22468_voice.wav
    [voice_file] => 1760794951_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] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_58445
    [temp_group_table] => contacts_temp_group_58445
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760797261
    [last_credit_update_time] => 1760797261
    [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 : 66963
\compaign_type : Rans per 27.88944 
ans sms 105
dnd sms 0

require answer perrequire answer per : 30

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='19', `user_busy_sms`='50', `user_congestion_sms`='0', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='24', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66963 LIMIT 1 


Time Diff : 2.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>'1760538122'  
Array
(
    [0] => 66964
    [compaign_id] => 66964
    [1] => u22468
    [user_id] => u22468
    [2] => 58446,
    [group_ids] => 58446,
    [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] => 1760796900
    [start_date] => 1760796900
    [9] => 0
    [end_date] => 0
    [10] => 110
    [total_sms] => 110
    [11] => 110
    [sent_sms] => 110
    [12] => 0
    [duplicate_sms] => 0
    [13] => 18
    [answered_sms] => 18
    [14] => 55
    [busy_sms] => 55
    [15] => 0
    [congestion_sms] => 0
    [16] => 12
    [failed_sms] => 12
    [17] => 0
    [hangup_sms] => 0
    [18] => 22
    [no_answer_sms] => 22
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 3
    [cutting_sms] => 3
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 18
    [user_answered_sms] => 18
    [27] => 55
    [user_busy_sms] => 55
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 12
    [user_failed_sms] => 12
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 22
    [user_no_answer_sms] => 22
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u22468
    [created_by] => u22468
    [38] => 1
    [isScheduled] => 1
    [39] => 1760796422
    [create_date] => 1760796422
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760796906,"compaign_read_start_time":1760796968,"compaign_read_complete_time":1760796968,"compaign_send_start_time":1760797021,"compaign_send_complete_time":1760797028}
    [action_time] => {"api_allot_time":1760796906,"compaign_read_start_time":1760796968,"compaign_read_complete_time":1760796968,"compaign_send_start_time":1760797021,"compaign_send_complete_time":1760797028}
    [50] => 0
    [compaign_file] => 0
    [51] => u22468_66964_18102025_074505PM_601
    [common_name] => u22468_66964_18102025_074505PM_601
    [52] => 1760794479_u22468_voice.wav
    [voice_file] => 1760794479_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] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_58446
    [temp_group_table] => contacts_temp_group_58446
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760797261
    [last_credit_update_time] => 1760797261
    [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 : 66964
\compaign_type : Rans per 27.00339 
ans sms 110
dnd sms 0

require answer perrequire answer per : 30

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='21', `user_busy_sms`='55', `user_congestion_sms`='0', `user_failed_sms`='12', `user_hangup_sms`='0', `user_no_answer_sms`='22', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66964 LIMIT 1 


Time Diff : 2.591

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

require answer perrequire answer per : 33

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='21', `user_busy_sms`='48', `user_congestion_sms`='0', `user_failed_sms`='7', `user_hangup_sms`='0', `user_no_answer_sms`='32', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66965 LIMIT 1 


Time Diff : 2.639

Array
(
    [0] => 66966
    [compaign_id] => 66966
    [1] => u22468
    [user_id] => u22468
    [2] => 58449,
    [group_ids] => 58449,
    [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] => 1760796900
    [start_date] => 1760796900
    [9] => 0
    [end_date] => 0
    [10] => 111
    [total_sms] => 111
    [11] => 111
    [sent_sms] => 111
    [12] => 0
    [duplicate_sms] => 0
    [13] => 22
    [answered_sms] => 22
    [14] => 53
    [busy_sms] => 53
    [15] => 0
    [congestion_sms] => 0
    [16] => 13
    [failed_sms] => 13
    [17] => 0
    [hangup_sms] => 0
    [18] => 19
    [no_answer_sms] => 19
    [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] => 22
    [user_answered_sms] => 22
    [27] => 53
    [user_busy_sms] => 53
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 13
    [user_failed_sms] => 13
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 19
    [user_no_answer_sms] => 19
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u22468
    [created_by] => u22468
    [38] => 1
    [isScheduled] => 1
    [39] => 1760796422
    [create_date] => 1760796422
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760796906,"compaign_read_start_time":1760796974,"compaign_read_complete_time":1760796974,"compaign_send_start_time":1760797021,"compaign_send_complete_time":1760797028}
    [action_time] => {"api_allot_time":1760796906,"compaign_read_start_time":1760796974,"compaign_read_complete_time":1760796974,"compaign_send_start_time":1760797021,"compaign_send_complete_time":1760797028}
    [50] => 0
    [compaign_file] => 0
    [51] => u22468_66966_18102025_074505PM_680
    [common_name] => u22468_66966_18102025_074505PM_680
    [52] => 1760794313_u22468_voice.wav
    [voice_file] => 1760794313_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] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_58449
    [temp_group_table] => contacts_temp_group_58449
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [occupied] => 1
    [64] => 0
    [immediate_send] => 0
    [65] => 
    [remote_compaign_status] => 
    [66] => 
    [logs] => 
    [67] => -1
    [message_type] => -1
    [68] => -1
    [extension_key] => -1
    [69] => 2
    [credit_seq] => 2
    [70] => 0
    [reschedule_max] => 0
    [71] => 
    [reschedule_types] => 
    [72] => 0
    [reschedule_remaining] => 0
    [73] => 
    [reschedule_compaign_ids] => 
    [74] => 0
    [reschedule_last_check_time] => 0
    [75] => 
    [reschedule_ids] => 
    [76] => 0
    [contact_start_id] => 0
    [77] => 0
    [contact_end_id] => 0
    [78] => 
    [sub_cam_ids] => 
    [79] => 0
    [parent_compaign_id] => 0
    [80] => 1760797261
    [last_credit_update_time] => 1760797261
    [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 : 66966
\compaign_type : Rans per 26.16439 
ans sms 111
dnd sms 0

require answer perrequire answer per : 30

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


 Blank User Record End

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


Time Diff : 2.568

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760538182'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760538241'  
Array
(
    [0] => 66968
    [compaign_id] => 66968
    [1] => u820
    [user_id] => u820
    [2] => 58451,
    [group_ids] => 58451,
    [3] => 
    [sender_id] => 
    [4] => LAST DATE MONTH LADY VOICE.mp3
    [filename] => LAST DATE MONTH LADY VOICE.mp3
    [5] => 28
    [duration] => 28
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760797028
    [start_date] => 1760797028
    [9] => 0
    [end_date] => 0
    [10] => 93
    [total_sms] => 93
    [11] => 93
    [sent_sms] => 93
    [12] => 0
    [duplicate_sms] => 0
    [13] => 22
    [answered_sms] => 22
    [14] => 8
    [busy_sms] => 8
    [15] => 0
    [congestion_sms] => 0
    [16] => 44
    [failed_sms] => 44
    [17] => 0
    [hangup_sms] => 0
    [18] => 19
    [no_answer_sms] => 19
    [19] => 0
    [timeout_duration_sms] => 0
    [20] => 0
    [timeout_ring_sms] => 0
    [21] => 0
    [cutting_sms] => 0
    [22] => 0
    [dnd_sms] => 0
    [23] => 0
    [blocked_sms] => 0
    [24] => 0
    [user_total_sms] => 0
    [25] => 0
    [user_sent_sms] => 0
    [26] => 22
    [user_answered_sms] => 22
    [27] => 8
    [user_busy_sms] => 8
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 44
    [user_failed_sms] => 44
    [30] => 0
    [user_hangup_sms] => 0
    [31] => 19
    [user_no_answer_sms] => 19
    [32] => 0
    [user_timeout_duration_sms] => 0
    [33] => 0
    [user_timeout_ring_sms] => 0
    [34] => 0
    [user_dnd_sms] => 0
    [35] => 0
    [user_report_adjust] => 0
    [36] => C
    [status] => C
    [37] => u820
    [created_by] => u820
    [38] => 0
    [isScheduled] => 0
    [39] => 1760797028
    [create_date] => 1760797028
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760797034,"compaign_read_start_time":1760797036,"compaign_read_complete_time":1760797036,"compaign_send_start_time":1760797081,"compaign_send_complete_time":1760797082}
    [action_time] => {"api_allot_time":1760797034,"compaign_read_start_time":1760797036,"compaign_read_complete_time":1760797036,"compaign_send_start_time":1760797081,"compaign_send_complete_time":1760797082}
    [50] => 0
    [compaign_file] => 0
    [51] => u820_66968_18102025_074713PM_656
    [common_name] => u820_66968_18102025_074713PM_656
    [52] => 1746623748_u820_voice.wav
    [voice_file] => 1746623748_u820_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_58451
    [temp_group_table] => contacts_temp_group_58451
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => 1760797382
    [last_credit_update_time] => 1760797382
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1281
    [user_voice_plan_id] => 1281
    [85] => 11
    [voice_plan_id] => 11
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.4
    [pulse_rate] => 0.4
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [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,sr57,u820
    [uphierarchy] => admin,sr27,sr57,u820
    [113] => 
    [extra_params_json] => 
)


Compaign : 66968
\compaign_type : Rans per 29.73769 
ans sms 93
dnd sms 0

require answer perrequire answer per : 28

user answer per : 22
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_66968 SET user_report='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_66968 SET user_report='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`='28', `user_busy_sms`='10', `user_congestion_sms`='0', `user_failed_sms`='34', `user_hangup_sms`='0', `user_no_answer_sms`='21', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66968 LIMIT 1 


Time Diff : 3.452

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


Compaign : 66969
\compaign_type : Rans per 29.55477 
ans sms 370
dnd sms 76

require answer perrequire answer per : 87

user answer per : 49
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_66969 SET user_report='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_66969 SET user_report='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 : 66 no_answer_count : 23 Busy count :17 congestion_count : 8 failed_count : 18UPDATE voice_compaign_detail_66969 SET user_report='FNA' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 23 UPDATE voice_compaign_detail_66969 SET user_report='FBZ' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 17 UPDATE voice_compaign_detail_66969 SET user_report='FCG' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 8 UPDATE voice_compaign_detail_66969 SET user_report='FFL' WHERE api_id=-2 AND user_report='' ORDER BY rand() LIMIT 18 Blank User Record
Array
(
    [0] => 
)


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='87', `user_busy_sms`='61', `user_congestion_sms`='8', `user_failed_sms`='46', `user_hangup_sms`='0', `user_no_answer_sms`='92', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='76' WHERE `compaign_id`=66969 LIMIT 1 


Time Diff : 0.543

SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760538482'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760538541'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760538601'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760538662'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760538721'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760538781'  SELECT * FROM `voice_compaign_summary` WHERE status ='C'  AND `sent_sms`<=(`answered_sms`+`busy_sms`+`congestion_sms`+`failed_sms`+`hangup_sms`+`no_answer_sms`+`timeout_duration_sms`+`timeout_ring_sms`+`cutting_sms`+`dnd_sms` ) AND total_sms=sent_sms+duplicate_sms AND compaign_file!=1 AND user_report_adjust=0 AND answer_per>0 AND manual_set=0   AND start_date>'1760538842'  
Array
(
    [0] => 66970
    [compaign_id] => 66970
    [1] => u820
    [user_id] => u820
    [2] => 58453,
    [group_ids] => 58453,
    [3] => 
    [sender_id] => 
    [4] => LAST DATE MONTH LADY VOICE.mp3
    [filename] => LAST DATE MONTH LADY VOICE.mp3
    [5] => 28
    [duration] => 28
    [6] => 1
    [credits_per_sms] => 1
    [7] => 30
    [user_pulse] => 30
    [8] => 1760797622
    [start_date] => 1760797622
    [9] => 0
    [end_date] => 0
    [10] => 65
    [total_sms] => 65
    [11] => 65
    [sent_sms] => 65
    [12] => 0
    [duplicate_sms] => 0
    [13] => 6
    [answered_sms] => 6
    [14] => 10
    [busy_sms] => 10
    [15] => 0
    [congestion_sms] => 0
    [16] => 42
    [failed_sms] => 42
    [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] => 6
    [user_answered_sms] => 6
    [27] => 10
    [user_busy_sms] => 10
    [28] => 0
    [user_congestion_sms] => 0
    [29] => 42
    [user_failed_sms] => 42
    [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] => u820
    [created_by] => u820
    [38] => 0
    [isScheduled] => 0
    [39] => 1760797622
    [create_date] => 1760797622
    [40] => 0
    [by_api] => 0
    [41] => 0
    [isRefund] => 0
    [42] => 51
    [cutting_per] => 51
    [43] => 28
    [answer_per] => 28
    [44] => 0
    [dnd_per] => 0
    [45] => 0
    [alloted_api] => 0
    [46] => 0
    [api_pulse] => 0
    [47] => 0
    [api_ring_time] => 0
    [48] => 0
    [api_channels] => 0
    [49] => {"api_allot_time":1760797628,"compaign_read_start_time":1760797630,"compaign_read_complete_time":1760797630,"compaign_send_start_time":1760797682,"compaign_send_complete_time":1760797683}
    [action_time] => {"api_allot_time":1760797628,"compaign_read_start_time":1760797630,"compaign_read_complete_time":1760797630,"compaign_send_start_time":1760797682,"compaign_send_complete_time":1760797683}
    [50] => 0
    [compaign_file] => 0
    [51] => u820_66970_18102025_075707PM_905
    [common_name] => u820_66970_18102025_075707PM_905
    [52] => 1746623748_u820_voice.wav
    [voice_file] => 1746623748_u820_voice.wav
    [53] => answered
    [plan_type] => answered
    [54] => 0
    [allowed_hits] => 0
    [55] => 0
    [used_hits] => 0
    [56] => 0
    [remote_group_id] => 0
    [57] => 
    [remote_compaign_id] => 
    [58] => 0
    [remote_recording_id] => 0
    [59] => 
    [campaign_create_ip] => 
    [60] => contacts_temp_group_58453
    [temp_group_table] => contacts_temp_group_58453
    [61] => 0
    [manual_set] => 0
    [62] => 0
    [manual_done] => 0
    [63] => 1
    [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] => 1760797981
    [last_credit_update_time] => 1760797981
    [81] => R
    [compaign_type] => R
    [82] => 0
    [announcement_id] => 0
    [83] => S
    [api_type] => S
    [84] => 1281
    [user_voice_plan_id] => 1281
    [85] => 11
    [voice_plan_id] => 11
    [86] => 0
    [gateway_id] => 0
    [87] => 30
    [pulse] => 30
    [88] => 0.4
    [pulse_rate] => 0.4
    [89] => trans
    [delivery_route] => trans
    [90] => answered
    [delivery_type] => answered
    [91] => static
    [delivery_cli] => static
    [92] => 
    [caller_id] => 
    [93] => 0
    [is_ivr_campaign] => 0
    [94] => 0
    [ivr_id] => 0
    [95] => 
    [ivr_flow] => 
    [96] => 0
    [ivr_deduction] => 0
    [97] => 0
    [cnt_real_pulse] => 0
    [98] => 0
    [cnt_used_pulse] => 0
    [99] => 0
    [cnt_used_pulse_2] => 0
    [100] => 0
    [cnt_used_pulse_3] => 0
    [101] => 0
    [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,sr57,u820
    [uphierarchy] => admin,sr27,sr57,u820
    [113] => 
    [extra_params_json] => 
)


Compaign : 66970
\compaign_type : Rans per 26.39372 
ans sms 65
dnd sms 0

require answer perrequire answer per : 18

user answer per : 6
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_66970 SET user_report='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_66970 SET user_report='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`='13', `user_congestion_sms`='0', `user_failed_sms`='24', `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`=66970 LIMIT 1 


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


Compaign : 66572
\compaign_type : ATans per 26.65023 
ans sms 29980
dnd sms 0

require answer perrequire answer per : 7990

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='156', `user_busy_sms`='9145', `user_congestion_sms`='0', `user_failed_sms`='19198', `user_hangup_sms`='0', `user_no_answer_sms`='1481', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.262

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


Compaign : 66572
\compaign_type : ATans per 28.0592 
ans sms 30315
dnd sms 0

require answer perrequire answer per : 8507

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='157', `user_busy_sms`='9256', `user_congestion_sms`='0', `user_failed_sms`='19402', `user_hangup_sms`='0', `user_no_answer_sms`='1500', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.264

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


Compaign : 66572
\compaign_type : ATans per 28.18833 
ans sms 31708
dnd sms 0

require answer perrequire answer per : 8938

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='20441', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.267

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


Compaign : 66572
\compaign_type : ATans per 26.87946 
ans sms 32510
dnd sms 0

require answer perrequire answer per : 8739

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='21243', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


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


Compaign : 66572
\compaign_type : ATans per 25.38194 
ans sms 33778
dnd sms 0

require answer perrequire answer per : 8574

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='22511', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.235

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


Compaign : 66572
\compaign_type : ATans per 29.28572 
ans sms 33778
dnd sms 0

require answer perrequire answer per : 9893

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='22511', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.235

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


Compaign : 66572
\compaign_type : ATans per 28.94104 
ans sms 33778
dnd sms 0

require answer perrequire answer per : 9776

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='22511', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.235

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


Compaign : 66572
\compaign_type : ATans per 30.24438 
ans sms 33778
dnd sms 0

require answer perrequire answer per : 10216

user answer per : 161
below is the redis data 10055 UPDATE voice_compaign_detail_66572 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`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='22511', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.235

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


Compaign : 66572
\compaign_type : ATans per 29.7323 
ans sms 33778
dnd sms 0

require answer perrequire answer per : 10043

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='22511', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.235

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


Compaign : 66572
\compaign_type : ATans per 25.41593 
ans sms 33778
dnd sms 0

require answer perrequire answer per : 8585

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='22511', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.235

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


Compaign : 66572
\compaign_type : ATans per 30.40634 
ans sms 33778
dnd sms 0

require answer perrequire answer per : 10271

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='22511', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.235

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


Compaign : 66572
\compaign_type : ATans per 25.1126 
ans sms 33778
dnd sms 0

require answer perrequire answer per : 8483

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='22511', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.235

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


Compaign : 66572
\compaign_type : ATans per 27.74264 
ans sms 33778
dnd sms 0

require answer perrequire answer per : 9371

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='22511', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.235

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


Compaign : 66572
\compaign_type : ATans per 28.32603 
ans sms 33778
dnd sms 0

require answer perrequire answer per : 9568

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='22511', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.235

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


Compaign : 66572
\compaign_type : ATans per 27.91889 
ans sms 33778
dnd sms 0

require answer perrequire answer per : 9431

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='22511', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.235

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


Compaign : 66572
\compaign_type : ATans per 26.17058 
ans sms 33778
dnd sms 0

require answer perrequire answer per : 8840

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='22511', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.235

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


Compaign : 66572
\compaign_type : ATans per 28.23414 
ans sms 33778
dnd sms 0

require answer perrequire answer per : 9537

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='22511', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.235

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


Compaign : 66572
\compaign_type : ATans per 29.52377 
ans sms 33778
dnd sms 0

require answer perrequire answer per : 9973

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='22511', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.235

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


Compaign : 66572
\compaign_type : ATans per 30.55192 
ans sms 33778
dnd sms 0

require answer perrequire answer per : 10320

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='22511', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.235

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


Compaign : 66572
\compaign_type : ATans per 29.77973 
ans sms 33778
dnd sms 0

require answer perrequire answer per : 10059

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='22511', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.235

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


Compaign : 66572
\compaign_type : ATans per 28.42509 
ans sms 33778
dnd sms 0

require answer perrequire answer per : 9602

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='22511', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.235

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


Compaign : 66572
\compaign_type : ATans per 30.20416 
ans sms 33778
dnd sms 0

require answer perrequire answer per : 10203

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='22511', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.235

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


Compaign : 66572
\compaign_type : ATans per 27.15002 
ans sms 33778
dnd sms 0

require answer perrequire answer per : 9171

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='22511', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.235

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


Compaign : 66572
\compaign_type : ATans per 30.65281 
ans sms 33778
dnd sms 0

require answer perrequire answer per : 10354

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='22511', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.235

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


Compaign : 66572
\compaign_type : ATans per 30.37802 
ans sms 33778
dnd sms 0

require answer perrequire answer per : 10262

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='22511', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.235

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


Compaign : 66572
\compaign_type : ATans per 28.48523 
ans sms 33778
dnd sms 0

require answer perrequire answer per : 9622

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='22511', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.235

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


Compaign : 66572
\compaign_type : ATans per 27.97276 
ans sms 33778
dnd sms 0

require answer perrequire answer per : 9449

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='22511', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.235

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


Compaign : 66572
\compaign_type : ATans per 30.26445 
ans sms 33778
dnd sms 0

require answer perrequire answer per : 10223

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='22511', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.235

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


Compaign : 66572
\compaign_type : ATans per 25.86795 
ans sms 33778
dnd sms 0

require answer perrequire answer per : 8738

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='22511', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.235

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


Compaign : 66572
\compaign_type : ATans per 26.46382 
ans sms 33778
dnd sms 0

require answer perrequire answer per : 8939

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='22511', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.235

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


Compaign : 66572
\compaign_type : ATans per 26.33732 
ans sms 33778
dnd sms 0

require answer perrequire answer per : 8897

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='22511', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.235

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


Compaign : 66572
\compaign_type : ATans per 29.39776 
ans sms 33778
dnd sms 0

require answer perrequire answer per : 9930

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='22511', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.235

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


Compaign : 66572
\compaign_type : ATans per 25.81293 
ans sms 33778
dnd sms 0

require answer perrequire answer per : 8720

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='22511', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.235

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


Compaign : 66572
\compaign_type : ATans per 28.62439 
ans sms 33778
dnd sms 0

require answer perrequire answer per : 9669

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='22511', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.235

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


Compaign : 66572
\compaign_type : ATans per 28.5321 
ans sms 33778
dnd sms 0

require answer perrequire answer per : 9638

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='22511', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.235

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


Compaign : 66572
\compaign_type : ATans per 30.67846 
ans sms 33778
dnd sms 0

require answer perrequire answer per : 10363

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='22511', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.235

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


Compaign : 66572
\compaign_type : ATans per 29.72813 
ans sms 33778
dnd sms 0

require answer perrequire answer per : 10042

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='22511', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.235

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


Compaign : 66572
\compaign_type : ATans per 26.50399 
ans sms 33778
dnd sms 0

require answer perrequire answer per : 8953

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='22511', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.235

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


Compaign : 66572
\compaign_type : ATans per 27.21791 
ans sms 33778
dnd sms 0

require answer perrequire answer per : 9194

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='22511', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.235

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


Compaign : 66572
\compaign_type : ATans per 26.66142 
ans sms 33778
dnd sms 0

require answer perrequire answer per : 9006

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='22511', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.235

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


Compaign : 66572
\compaign_type : ATans per 25.61094 
ans sms 33778
dnd sms 0

require answer perrequire answer per : 8651

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='22511', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.235

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


Compaign : 66572
\compaign_type : ATans per 28.965 
ans sms 33778
dnd sms 0

require answer perrequire answer per : 9784

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='22511', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.235

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


Compaign : 66572
\compaign_type : ATans per 29.54992 
ans sms 33778
dnd sms 0

require answer perrequire answer per : 9982

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='22511', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.235

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


Compaign : 66572
\compaign_type : ATans per 30.52525 
ans sms 33778
dnd sms 0

require answer perrequire answer per : 10311

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='22511', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.235

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


Compaign : 66572
\compaign_type : ATans per 26.09114 
ans sms 33778
dnd sms 0

require answer perrequire answer per : 8814

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='22511', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.235

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


Compaign : 66572
\compaign_type : ATans per 29.18449 
ans sms 33778
dnd sms 0

require answer perrequire answer per : 9858

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='22511', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.235

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


Compaign : 66572
\compaign_type : ATans per 25.01137 
ans sms 33778
dnd sms 0

require answer perrequire answer per : 8449

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='22511', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.235

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


Compaign : 66572
\compaign_type : ATans per 26.1759 
ans sms 33778
dnd sms 0

require answer perrequire answer per : 8842

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='22511', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.235

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


Compaign : 66572
\compaign_type : ATans per 28.82757 
ans sms 33778
dnd sms 0

require answer perrequire answer per : 9738

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='22511', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.235

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


Compaign : 66572
\compaign_type : ATans per 27.28041 
ans sms 33778
dnd sms 0

require answer perrequire answer per : 9215

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='22511', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.235

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


Compaign : 66572
\compaign_type : ATans per 26.48897 
ans sms 33778
dnd sms 0

require answer perrequire answer per : 8948

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='22511', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.235

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


Compaign : 66572
\compaign_type : ATans per 25.10921 
ans sms 33778
dnd sms 0

require answer perrequire answer per : 8482

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='22511', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.235

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


Compaign : 66572
\compaign_type : ATans per 28.04912 
ans sms 33778
dnd sms 0

require answer perrequire answer per : 9475

user answer per : 161
below is the redis data 9314 UPDATE voice_compaign_detail_66572 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`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='22511', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.235

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


Compaign : 66572
\compaign_type : ATans per 29.76232 
ans sms 33778
dnd sms 0

require answer perrequire answer per : 10054

user answer per : 161
below is the redis data 9893 UPDATE voice_compaign_detail_66572 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`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='22511', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.235

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


Compaign : 66572
\compaign_type : ATans per 25.50022 
ans sms 33778
dnd sms 0

require answer perrequire answer per : 8614

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='22511', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.235

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


Compaign : 66572
\compaign_type : ATans per 27.87009 
ans sms 33778
dnd sms 0

require answer perrequire answer per : 9414

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='22511', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.235

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


Compaign : 66572
\compaign_type : ATans per 30.46522 
ans sms 33778
dnd sms 0

require answer perrequire answer per : 10291

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='22511', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.235

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


Compaign : 66572
\compaign_type : ATans per 25.48562 
ans sms 33778
dnd sms 0

require answer perrequire answer per : 8609

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='22511', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.235

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


Compaign : 66572
\compaign_type : ATans per 30.847 
ans sms 33778
dnd sms 0

require answer perrequire answer per : 10420

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='22511', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.235

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


Compaign : 66572
\compaign_type : ATans per 25.86218 
ans sms 33778
dnd sms 0

require answer perrequire answer per : 8736

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='22511', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.235

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


Compaign : 66572
\compaign_type : ATans per 25.51847 
ans sms 33778
dnd sms 0

require answer perrequire answer per : 8620

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='22511', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.235

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


Compaign : 66572
\compaign_type : ATans per 28.06555 
ans sms 33778
dnd sms 0

require answer perrequire answer per : 9480

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='22511', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.235

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


Compaign : 66572
\compaign_type : ATans per 25.39416 
ans sms 33778
dnd sms 0

require answer perrequire answer per : 8578

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='22511', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.235

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


Compaign : 66572
\compaign_type : ATans per 30.39561 
ans sms 33778
dnd sms 0

require answer perrequire answer per : 10268

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='22511', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.235

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


Compaign : 66572
\compaign_type : ATans per 30.35478 
ans sms 33778
dnd sms 0

require answer perrequire answer per : 10254

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='22511', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.235

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


Compaign : 66572
\compaign_type : ATans per 27.17415 
ans sms 33778
dnd sms 0

require answer perrequire answer per : 9179

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='22511', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.235

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


Compaign : 66572
\compaign_type : ATans per 30.18474 
ans sms 33778
dnd sms 0

require answer perrequire answer per : 10196

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='22511', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.235

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


Compaign : 66572
\compaign_type : ATans per 27.22425 
ans sms 33778
dnd sms 0

require answer perrequire answer per : 9196

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='22511', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.235

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


Compaign : 66572
\compaign_type : ATans per 30.61009 
ans sms 33778
dnd sms 0

require answer perrequire answer per : 10340

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='22511', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.235

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


Compaign : 66572
\compaign_type : ATans per 25.56909 
ans sms 33778
dnd sms 0

require answer perrequire answer per : 8637

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='22511', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.235

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


Compaign : 66572
\compaign_type : ATans per 27.08156 
ans sms 33778
dnd sms 0

require answer perrequire answer per : 9148

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='22511', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.235

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


Compaign : 66572
\compaign_type : ATans per 29.53304 
ans sms 33778
dnd sms 0

require answer perrequire answer per : 9976

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='22511', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.235

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


Compaign : 66572
\compaign_type : ATans per 26.04693 
ans sms 33778
dnd sms 0

require answer perrequire answer per : 8799

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='22511', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.235

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


Compaign : 66572
\compaign_type : ATans per 29.75118 
ans sms 33778
dnd sms 0

require answer perrequire answer per : 10050

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='22511', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.235

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


Compaign : 66572
\compaign_type : ATans per 25.54562 
ans sms 33778
dnd sms 0

require answer perrequire answer per : 8629

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='22511', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.235

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


Compaign : 66572
\compaign_type : ATans per 26.79462 
ans sms 33778
dnd sms 0

require answer perrequire answer per : 9051

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='22511', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.235

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


Compaign : 66572
\compaign_type : ATans per 30.88706 
ans sms 33778
dnd sms 0

require answer perrequire answer per : 10434

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='22511', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.235

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


Compaign : 66572
\compaign_type : ATans per 28.69165 
ans sms 33778
dnd sms 0

require answer perrequire answer per : 9692

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='22511', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.235

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


Compaign : 66572
\compaign_type : ATans per 29.40125 
ans sms 33778
dnd sms 0

require answer perrequire answer per : 9932

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='22511', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.235

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


Compaign : 66572
\compaign_type : ATans per 29.04524 
ans sms 33778
dnd sms 0

require answer perrequire answer per : 9811

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='22511', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.235

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


Compaign : 66572
\compaign_type : ATans per 25.02406 
ans sms 33778
dnd sms 0

require answer perrequire answer per : 8453

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='22511', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.235

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


Compaign : 66572
\compaign_type : ATans per 28.90402 
ans sms 33778
dnd sms 0

require answer perrequire answer per : 9764

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='22511', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.235

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


Compaign : 66572
\compaign_type : ATans per 25.88344 
ans sms 33778
dnd sms 0

require answer perrequire answer per : 8743

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='22511', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.235

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


Compaign : 66572
\compaign_type : ATans per 26.92531 
ans sms 33778
dnd sms 0

require answer perrequire answer per : 9095

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='22511', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.235

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


Compaign : 66572
\compaign_type : ATans per 29.32535 
ans sms 33778
dnd sms 0

require answer perrequire answer per : 9906

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='22511', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.235

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


Compaign : 66572
\compaign_type : ATans per 27.02274 
ans sms 33778
dnd sms 0

require answer perrequire answer per : 9128

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='22511', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.235

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


Compaign : 66572
\compaign_type : ATans per 29.46089 
ans sms 33778
dnd sms 0

require answer perrequire answer per : 9952

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='22511', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.235

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


Compaign : 66572
\compaign_type : ATans per 28.86035 
ans sms 33778
dnd sms 0

require answer perrequire answer per : 9749

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='22511', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.235

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


Compaign : 66572
\compaign_type : ATans per 25.79895 
ans sms 33778
dnd sms 0

require answer perrequire answer per : 8715

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='22511', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.235

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


Compaign : 66572
\compaign_type : ATans per 29.9749 
ans sms 33778
dnd sms 0

require answer perrequire answer per : 10125

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='22511', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.235

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


Compaign : 66572
\compaign_type : ATans per 26.15387 
ans sms 33778
dnd sms 0

require answer perrequire answer per : 8835

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='22511', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.235

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


Compaign : 66572
\compaign_type : ATans per 29.61633 
ans sms 33778
dnd sms 0

require answer perrequire answer per : 10004

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='22511', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.235

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


Compaign : 66572
\compaign_type : ATans per 25.6239 
ans sms 33778
dnd sms 0

require answer perrequire answer per : 8656

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='22511', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.235

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


Compaign : 66572
\compaign_type : ATans per 27.93937 
ans sms 33778
dnd sms 0

require answer perrequire answer per : 9438

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='22511', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.235

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


Compaign : 66572
\compaign_type : ATans per 29.53558 
ans sms 33778
dnd sms 0

require answer perrequire answer per : 9977

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='22511', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.235

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


Compaign : 66572
\compaign_type : ATans per 26.64336 
ans sms 33778
dnd sms 0

require answer perrequire answer per : 9000

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='22511', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.235

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


Compaign : 66572
\compaign_type : ATans per 29.6915 
ans sms 33778
dnd sms 0

require answer perrequire answer per : 10030

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='22511', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.235

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


Compaign : 66572
\compaign_type : ATans per 28.18974 
ans sms 33778
dnd sms 0

require answer perrequire answer per : 9522

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='22511', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.235

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


Compaign : 66572
\compaign_type : ATans per 26.64708 
ans sms 33778
dnd sms 0

require answer perrequire answer per : 9001

user answer per : 161
below is the redis data 8840 UPDATE voice_compaign_detail_66572 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`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='22511', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.235

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


Compaign : 66572
\compaign_type : ATans per 27.7046 
ans sms 33778
dnd sms 0

require answer perrequire answer per : 9359

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='22511', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.235

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


Compaign : 66572
\compaign_type : ATans per 27.19353 
ans sms 33778
dnd sms 0

require answer perrequire answer per : 9186

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='22511', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.235

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


Compaign : 66572
\compaign_type : ATans per 28.87382 
ans sms 33778
dnd sms 0

require answer perrequire answer per : 9753

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='22511', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.235

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


Compaign : 66572
\compaign_type : ATans per 28.75152 
ans sms 33778
dnd sms 0

require answer perrequire answer per : 9712

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='22511', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.235

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


Compaign : 66572
\compaign_type : ATans per 27.46504 
ans sms 33778
dnd sms 0

require answer perrequire answer per : 9278

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='22511', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.235

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


Compaign : 66572
\compaign_type : ATans per 30.99989 
ans sms 33778
dnd sms 0

require answer perrequire answer per : 10472

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='22511', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.235

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


Compaign : 66572
\compaign_type : ATans per 28.85801 
ans sms 33778
dnd sms 0

require answer perrequire answer per : 9748

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='22511', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.235

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


Compaign : 66572
\compaign_type : ATans per 25.15677 
ans sms 33778
dnd sms 0

require answer perrequire answer per : 8498

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='22511', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.235

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


Compaign : 66572
\compaign_type : ATans per 27.80016 
ans sms 33778
dnd sms 0

require answer perrequire answer per : 9391

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='22511', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.235

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


Compaign : 66572
\compaign_type : ATans per 29.29532 
ans sms 33778
dnd sms 0

require answer perrequire answer per : 9896

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='22511', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.235

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


Compaign : 66572
\compaign_type : ATans per 27.12195 
ans sms 33778
dnd sms 0

require answer perrequire answer per : 9162

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='22511', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.235

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


Compaign : 66572
\compaign_type : ATans per 28.34769 
ans sms 33778
dnd sms 0

require answer perrequire answer per : 9576

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='22511', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.235

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


Compaign : 66572
\compaign_type : ATans per 29.59408 
ans sms 33778
dnd sms 0

require answer perrequire answer per : 9997

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='22511', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.235

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


Compaign : 66572
\compaign_type : ATans per 25.48873 
ans sms 33778
dnd sms 0

require answer perrequire answer per : 8610

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='22511', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.235

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


Compaign : 66572
\compaign_type : ATans per 26.35046 
ans sms 33778
dnd sms 0

require answer perrequire answer per : 8901

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='22511', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.235

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


Compaign : 66572
\compaign_type : ATans per 27.74778 
ans sms 33778
dnd sms 0

require answer perrequire answer per : 9373

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='22511', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.235

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


Compaign : 66572
\compaign_type : ATans per 25.62339 
ans sms 33778
dnd sms 0

require answer perrequire answer per : 8656

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='22511', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.235

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


Compaign : 66572
\compaign_type : ATans per 25.44365 
ans sms 33778
dnd sms 0

require answer perrequire answer per : 8595

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='22511', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.235

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


Compaign : 66572
\compaign_type : ATans per 28.18224 
ans sms 33778
dnd sms 0

require answer perrequire answer per : 9520

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='22511', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.235

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


Compaign : 66572
\compaign_type : ATans per 30.77612 
ans sms 33778
dnd sms 0

require answer perrequire answer per : 10396

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='22511', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.235

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


Compaign : 66572
\compaign_type : ATans per 27.16085 
ans sms 33778
dnd sms 0

require answer perrequire answer per : 9175

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='22511', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.235

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


Compaign : 66572
\compaign_type : ATans per 26.84217 
ans sms 33778
dnd sms 0

require answer perrequire answer per : 9067

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='22511', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.235

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


Compaign : 66572
\compaign_type : ATans per 28.96682 
ans sms 33778
dnd sms 0

require answer perrequire answer per : 9785

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


 Blank User Record End

 three UPDATE `voice_compaign_summary` SET `user_answered_sms`='161', `user_busy_sms`='9562', `user_congestion_sms`='0', `user_failed_sms`='22511', `user_hangup_sms`='0', `user_no_answer_sms`='1544', `user_timeout_duration_sms`='0', `user_timeout_ring_sms`='0', `user_dnd_sms`='0' WHERE `compaign_id`=66572 LIMIT 1 


Time Diff : 1.235